[Info-vax] LPD problems

Richard B. Gilbert rgilbert88 at comcast.net
Mon Apr 13 17:00:37 EDT 2009


jbriggs444 at gmail.com wrote:
> On Apr 13, 1:31 pm, tadamsmar <tadams... at yahoo.com> wrote:
>> The versions are:
>>
>> DEC AXPVMS OPENVMS V7.3-2            Platform    Installed
>> DEC AXPVMS TCPIP V5.4-15             Full LP     Installed
>>
>> I have not used LPD before.
>>
>> I am trying to print via a Microsoft server.
>>
>> I have been told the server address and queue name.  The Microsoft
>> server is administered by another group
>>
>> I enabled and started LPD/LPR via TCPIP$CONFIG
>>
>> I set up the queue on VMS using  TCPIP$LPRSETUP
>>
>> when I try to print, I get:
>>
>> LPD Retrying failed job: LOGIN Number: 464 User: SYSTEM Status:
>> %SYSTEM-F-REJECT
>> , connect to network object rejected
>>
>> I can ping the address of the server.
>>
>> Any ideas on how to troubleshoot this?
> 
> $ telnet <serverip> 515
> 
> If it says "connection refused" then the Windows server isn't
> listening.  You can either print directly to the printer's JetDirect
> card (or equivalent) or install and configure LPR/LPD on the Windows
> server.

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.

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!!



More information about the Info-vax mailing list