John Fabiani on Wed, 6 Mar 2002 16:33:29 +0100 (CET)(envelope-from owner-apsfilter-help@apsfilter.org)


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

Re: pass through printing


I think your right.  I'll check into this and report back to the group.  If 
it works out I will write something up.  
THANKS
John
On Wednesday 06 March 2002 01:43 am, you wrote:
> *Please* learn to quote...
>
> On 05-Mar-02 John Fabiani wrote:
> > Remember, what I'm attempting to do is pass-through printing.  This means
> > that I'm attempting to print on the users printer not the Unix server
> > printer.  The only connection I have to the user's printer is the telnet
> > connection.
>
> So the only chance is to send the whole print job to the
> user's lpd (doing nothing else on the server).
> In this case you must be sure that every user has a
> spooler daemon running, *and* that it accepts remote
> print jobs, *and* there must be a known printer queue
> name available (probably "lp"), *and* the port must be
> open to use.
>
> Whenever a user logs into the server, the environment
> variable PRINTER could be set to the correct value
> (maybe in .bashrc), using the remote host name/ip
> (which should be available in $REMOTEHOST or in some
> other variable).
>
>         export PRINTER="lp@$REMOTEHOST"
>
> Now when the user prints something, the printer spooler
> at the user's host will be contacted and the job will
> be sent to the queue named "lp".
>
> As long as you have lpd running on both sides, you don't
> even need an entry in the server's printcap.
>
>
> HTH
> Michael