[plug] New parallel port

Colin Rothnie colinr at tiwest.com.au
Fri Sep 15 11:42:38 WST 2000


Kevin Shackleton wrote:
> Or any other brilliant ideas on dealing with a print
> server? (I think it's a Cisco)

My only experience has been with the HP printer servers.  Once they are set
up to use TCP/IP as well as/instead of DLC you can telnet into them and
configure them that way.

Unless you need to change the IP address of the server, you probably don't
need to change anything.  At the Linux end, just add the rm= and rp=
parameters to the printer definition in /etc/printcap.  The easiest way (if
you have RedHat or Mandrake) is to use their printtool tool.  The rm
parameter is the ip address or DNS name of the printer server and the rp
parameter is the printer queue defined on the server.

Here is the printcap entry from my Linux server for a plotter connected to a
HP printer server called "mineplotter1" in DNS.  

lp0|dj650c:\
        :sd=/var/spool/lpd/lp0:\
        :mx#0:\
        :sh:\
        :rm=mineplotter1:\
        :rp=PASSTHRU:

While this one uses rp=PASSTHRU, I have several other HP printer servers
that use rp=raw and I am fairly certain that when there were more than one
parallel outputs on the printer server , these could be specified as rp=raw1
or rp=raw2 etc.

The queue names are probably specific to the device, so you may need to dig
up a manual our scrounge around the Net to find out what they are.

Cheers
Colin Rothnie



More information about the plug mailing list