Re: setup remote printer

Aaron Konstam <[email protected]> Thu, 16 May 2002 20:10:20 -0500
Newsgroups gmane.linux.redhat.release.zoot
Message-ID <[email protected]>
On Thu, May 16, 2002 at 03:37:39PM +0100, Xiaofeng Gao wrote:
> Hi, 
> 
> I tried several time, but failed to get the remote printer work.  I am
> wondering if some experts there could give me some advice.
>  
> I am using RH6.2 with kernel 2.2.19 ( upgraded from 2.2.14-5.0).  I used
> control-panel to configure the printer.    
> 
> the printcap is:( where the man_hp8k is also our remote printer name)
> 
> //////////////////////////////////////////
> [root@treig /etc]# cat /etc/printcap
> #
> # This printcap is being created with printtool v.3.41
> # Any changes made here manually will be lost if printtool
> # is run later on.
> # The presence of this header means that no printcap
> # existed when printtool was run.
> #
> ##PRINTTOOL3## REMOTE ljet3d 300x300 a4 {} LaserJet3d Default {}
> man_hp8k|lp|lp0|0:\
>         :if=/var/spool/lpd/man_hp8k/filter:\
>         :lf=/var/log/lpeer:\
>         :lp=:\
>         :rm=rionnag.roe.ac.uk:\
>         :rp=man_hp8k:\
>         :sd=/var/spool/lpd/man_hp8k:
> 
> //////////////////////////////////////
Yout prontcap entry for a remote printer on 6.2 should look something
like:
stylus:\
        :sd=/var/spool/lpd/stylus:\
        :mx#0:\
        :sh:\
        :rm=sol:\
        :rp=lstylus:

Where a remote printer called lstylus on a machine called sol is called
stylus on the local machine. Also you need to have in this case the
name of the local machine in /etc/host.lpd on remote machine and you
must have an account on the remore machine.
-- 
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
715 Stadium Dr.
San Antonio, TX 78212-7200

telephone: (210)-999-7484
email:[email protected]