lpr: unable to create temporary file

Walter Vaughan wvaughan at steelerubber.com
Sat Aug 13 13:01:52 PDT 2005


Tom Aldridge wrote:

> Can anyone point me in the right direction on this:
> lpr: unable to create temporary file
> I am able to send jobs to printers from the command line but not from 
> within filepro.

What OS are you running? Fedora like you did back in 2004?
I've had this happen on FreeBSD 5.4 using LPRng. It was fixed by changing the 
security settings on /dev/lpt0.
I also had same problem with dynamically plugged in USB printer.

Did you follow the FAQ at linuxprinting?

Q) lpr: Unable to create temporary file?

A) You need to create an evironmental variable called TMPDIR which points to a 
directory you have write permisions to. /tmp is probably the best choice.

     export TMPDIR=/tmp
     or
     setenv TMPDIR /tmp

--
Walter


More information about the Filepro-list mailing list