[Info-vax] LPD problems
glen herrmannsfeldt
gah at ugcs.caltech.edu
Mon Apr 13 18:42:49 EDT 2009
Richard B. Gilbert <rgilbert88 at comcast.net> wrote:
(snip)
> I think "connection refused" translates as "Hell no! Go away!"
> If the printer is connected to the network you should be able to talk to
> the printer using TCP/IP. I have printed to H-P printers by telnet to
> the printer's IP address and port; and typing "Print me<ctrl-L>". You
> can also use the LPR/LPD protocols and a different port.
HP JetDirect uses TCP port 9100. The spooler opens the TCP connection,
sends the data to be printed, and closes the connection. LPR is
somewhat more complicated, and not all spoolers work well with
printers supporting LPR.
> Here's how I set up my LaserJet 4000.
> $ NODE = F$GETSYI("NODENAME")
> $ INITIALIZE /QUEUE /START /BASE_PRIORITY=4 /LIBRARY=HP4000.TLB -
> /AUTOSTART_ON=('NODE'::"LJ4000:9100") -
> /DEFAULT=(FEED,FLAG=ONE,FORM=DEFAULT) /NOENABLE_GENERIC -
> /DESCRIPTION="Richard's LaserJet 4000" -
> /OWNER=[SYSTEM] /PROCESSOR=UCX$TELNETSYM -
> /PROTECTION=(S:M,O:D,G:R,W:S) LJ4000
> YMMV! The /LIBRARY points to a file with the HP escape sequences to
> get the printer to change type faces, size, etc, etc. Once upon a time
> HP published "HP PCL-5 Printer Language Technical Reference Manual". My
> copy will be pried from my cold dead hands! You may still be able to
> get that or a similar book. YMMV!!
Many non-HP print servers also use port 9100, though I have
some that use port 2000.
-- glen
More information about the Info-vax
mailing list