[PARPORT] How to setup a remote printer in Linux

From: Archana Vasant Deshmukh (archana.deshmukh@wipro.com)
Date: Thu Nov 15 2001 - 07:15:33 EST

  • Next message: Dr. David Alan Gilbert: "[PARPORT] ppSCSI, HP Scanner - system hang"

    Hi all,

    I need to set a remote printer.

    The setup is 2 linux machines both with redhat 6.2 release.

    The Printer is connected to the parallel port of the PC1.
    The PC1 /etc/printcap file is

    # /etc/printcap
    #
    # Please don't edit this file directly unless you know what you are doing!
    # Be warned that the control-panel printtool requires a very strict format!
    # Look at the printcap(5) man page for more info.
    #
    # This file can be edited with the printtool in the control-panel.

    ##PRINTTOOL3## LOCAL ljet4 300x300 a4 {} LaserJet4 Default 1
    lp:\
            :sd=/var/spool/lpd/lp:\
            :mx#0:\
            :sh:\
            :lp=/dev/lp0:\
            :if=/var/spool/lpd/lp/filter:

    Now I need, second PC PC2 should access the printer connected to PC1.

    This is /etc/printcap on second PC
    # /etc/printcap
    #
    # Please don't edit this file directly unless you know what you are doing!
    # Be warned that the control-panel printtool requires a very strict format!
    # Look at the printcap(5) man page for more info.
    #
    # This file can be edited with the printtool in the control-panel.

    ##PRINTTOOL3## REMOTE ljet4 300x300 letter {} LaserJet4 Default {}
    lp:\
            :sd=/var/spool/lpd/lp:\
            :mx#0:\
            :sh:\
            :rm=xx.xxx.xx.xxx:\
            :rp=lp:\
            :if=/var/spool/lpd/lp/filter:

    The /etc/hosts.lpd and /etc/hosts.equiv on PC1 contains the IPADDRESS of the PC2.

    But, with this configuration I could not print from Print clinet(PC2).

    The jobs fired from PC2 gets queued to PC1 spool directory.

    any help is appreciated.
    Regards,
    Archana



    -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Thu Nov 15 2001 - 07:13:46 EST