Michael Loßin on Sat, 5 Jan 2002 16:41:05 +0100 (CET)(envelope-from owner-apsfilter-help@apsfilter.org)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

RE: Remote Printing


On 04-Jan-02 jbw wrote:
> I'm trying to print to a remote printer located on another FreeBSD
> machine.
> I'm receiving the following error message when trying to prin the 
> test page
> 
[...]
> 
> Printing test page... 
> -rw-------  1 root  wheel  220810 Jan  4 18:04
> /tmp/aps_testout.zJuBoh
> Warning - Cannot open file '/tmp/aps_testout.zJuBoh', Permission
> denied

"Permission denied" when being root? This sounds wierd...

>: nothing to print
 ^
This is where I'd expect the printer queue name to be...
Did you correctly set the remote server and queue name?

> I checked the tmp directory and the file is there
> 
> -rw-------   1 root  wheel  220810 Jan  4 18:04 aps_testout.zJuBoh
> 
> From reading the FAQ the permissions appear to be set correctly on
> the tmp
> directory
> 
> drwxrwxrwt   6 root  wheel       512 Jan  4 18:07 tmp

Looks okay.

> Why cant this print?
> 
> I'm using LPRng on the local and remote machines.  

Is it possible for you to print on your remote printer without
setting up a queue on the local machine?

Does   lpr -Premotequeue@remotehost test.ps   fail?

Maybe you want to add debugging output to lpr (-D1, -D2, ...)
if that helps you.


HTH
Michael