jbw on Sun, 6 Jan 2002 23:07:54 +0100 (CET)(envelope-from owner-apsfilter-help@apsfilter.org)


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

Re: Remote Printing


When running the apsfilter SETUP script it asked for the hostname of the
remote machine and the printer name which I gave.

The following is the printer entry from the printcap file on the remote
machine

aps1|ljet3;r=300x300;q=medium;c=full;p=letter;m=auto:\
    :lp=/dev/lpt0:\
    :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
    :sd=/var/spool/lpd/aps1:\
    :lf=/var/spool/lpd/aps1/log:\
    :af=/var/spool/lpd/aps1/acct:\
    :mx#0:\
    :sh:
# APS1_END - don't delete this


I have the hostname of the remote machine defined in my hosts file so it
should be able to find it without a problem.

What am I doing wrong?

Brian,


On Sat, Jan 05, 2002 at 04:40:30PM +0100, Michael Loßin wrote:
> 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