LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Remote printing between 2 computers (https://www.linuxquestions.org/questions/linux-networking-3/remote-printing-between-2-computers-161246/)

Johan.Fourie 03-23-2004 02:08 AM

Remote printing between 2 computers
 
I am running Linux Redhat 7.3.
I telnet between computers, (Eg. Johannesburg to Cape Town), using ppp.
I then need to print form the Cape Town computer to the Johannesburg computer, while sitting in Johannesburg.
The main printer in Jhb is called lp0 and sits on /dev/lp0.
The printing system in use is lprng but can be switched to cups if required.
The printer is setup in Capetown as ho in cups running smb.
The problem is that I can't get tot enable printer ho.

phek 03-23-2004 03:26 AM

well, you need to be running lpd on the johan system and available to the internet (or at least the ip of the capetown system). Then in your /etc/printcap on the capetown system you need to add a line similar to the following:
lj4550|Remote-Color-LaserJet-4550n:sh:sd=/var/spool/lpd/lj4550:rm=10.10.10.10:rp=raw:

of course, replace that ip address with the johan printer address. You seem to have a fair understanding of lprng so I'll leave setting up the driver and spool to you.


All times are GMT -5. The time now is 06:16 PM.