Re: setup remote printer

Lokesh Bhog <[email protected]> Fri, 17 May 2002 00:51:44 -0700 (PDT)
Newsgroups gmane.linux.redhat.release.zoot
Message-ID <[email protected]>
Did you try using printtool in Gnome, it helps in
configuring printers without actually touching
printcap file. Also is it a remore Linux printer. Then
you will need to create some lpd.conf (Cant remember
the name of the file, it is there in help of
printtool). file with the names/IP of computer that
can access the computer. 
--- Xiaofeng Gao <[email protected]> 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:
> 
> //////////////////////////////////////
> 
> I tried followings:
> //////////////////////////////
> [root@treig /etc]# lpr -Pman_hp8k printcap
> 
> [root@treig /etc]# lpq -Pman_hp8k
> Warning: no daemon present
> Rank   Owner      Job  Files                        
>         Total Size
> 1st    root       4    printcap                     
>         451 bytes
> 
> [root@treig /etc]# lpc restart all
> man_hp8k:
>         daemon (pid 1099) killed
> man_hp8k:
>         daemon started
>         :
>         no daemon to abort
>         :
>         daemon started
> 
> [root@treig /etc]# ls /dev/lp*
> /dev/lp0    /dev/lp1   /dev/lp2
> 
> [root@treig /etc]# lptest > /dev/lp0
> bash: /dev/lp0: No such device
> 
> [root@treig /etc]# cat /proc/devices
> Character devices:
>   1 mem
>   2 pty
>   3 ttyp
>   4 ttyS
>   5 cua
>   7 vcs
>  10 misc
>  36 netlink128 ptm
> 136 pts
> 180 usb
>  
> Block devices:
>   1 ramdisk
>   2 fd
>   3 ide0
>   9 md
>  22 ide1
> /////////////////////////////////////////////////
> 
> 
> why is there no daemon present?  I can see /dev/lp0,
> but why "lptest >
> /dev/lp0" says no such device.
> 
> 
> Thanks
> 
>  
> Xiaofeng Gao
>                                             
> 
> 
> 
> _______________________________________________
> Zoot-list mailing list
> [email protected]
>
https://listman.redhat.com/mailman/listinfo/zoot-list


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com