Michael Loßin on Mon, 7 Jan 2002 16:18:09 +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 06-Jan-02 jbw wrote:
> 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?

You should use "lpr -D1 ..." to get debugging output from
your spooler. Maybe the local machine can't connect to
the remote lpd because of restriction in /etc/lpd.perms;
maybe you run LPRng as a non-root user locally, but the
remote spooler is only listening to restricted ports.

I doubt this is an apsfilter problem. LPRng has a very
good HOWTO included in the distribution, and the latest
release also have a "Printing Cookbook", so try to get
basic printing working before setting up apsfilter.


HTH
Michael