Operating System - OpenVMS
1756748 Members
2970 Online
108852 Solutions
New Discussion

Re: Printing issue with LPD Queue %TCPIP-F-LPD_BADPORT, error getting a port

 
SOLVED
Go to solution
Suttoa
Occasional Visitor

Printing issue with LPD Queue %TCPIP-F-LPD_BADPORT, error getting a port

Hello,

I was hoping someone could help me here... I am having trouble configuring an LPD print queue on an OpenVMS  V8.4-2 server on an HP rx2600 with DCPS V2.8.

I configured the print queue using lprsetup.exe, which completed successfully

$run sys$system:tcpip$lprsetup.exe
TCPIP Printer Setup Program
Command < add delete view help exit >: add
Adding printer entry, type '?' for help.
Enter printer name to add : EBBC500Spare
Enter the FULL name of one of the following printer types:
remote local : remote
Enter printer synonym:
Enter full file specification for spool directory
SPOOLER DIRECTORY 'sd' : [TCPIP$LPD_ROOT:[EBBC500SPARE]] ?
Set LPD PrintServer extensions flag 'ps' [] ?
Set remote system name 'rm' [] ? EBBC500SPARE
Set remote system portnumber 'rt' [515] ?
Set remote system printer name 'rp' [] ? lp
Set printer error log file 'lf' [/TCPIP$LPD_ROOT/000000/EBBC500SPARE.LOG] ?
Enter the name of the printcap symbol you wish to modify. Other
valid entry is : 'q' to quit (no more changes)
The names of the printcap symbols are:
sd for the printer spool directory
lf for the printer error log file
lp for the name of the local printer
ps for the LPD PrintServer extensions flag
rm for the name of the remote host
rp for the name of the remote printer
rt for the port number of the remote host
fm for the printer form field
pa for the /PASSALL flag
nd for the /NODELETE flag
cr for the cr flag
sn for the setup NoLF flag
p1-p8 for the /PARAMETER=(p1,...,p8) field
Enter symbol name: q
Symbol type value
------ ---- -----
Error log file : lf STR /TCPIP$LPD_ROOT/000000/EBBC500SPARE.LOG
Printer Queue : lp STR EBBC500SPARE
PS extensions flag: ps STR
Remote Host : rm STR ebbc500SPARE
Remote Printer : rp STR lp
Spool Directory : sd STR /TCPIP$LPD_ROOT/EBBC500SPARE
Remote Port : rt INT 515

Are these the final values for printer EBBC500 ? [y] y
Adding comments to printcap file for new printer, type '?' for help.
Do you want to add comments to the printcap file [n] ? :
Do you want the queue to default to print flag pages [y] : N
Do you want this procedure to start the queue [y] :
Creating execution queue: EBBC500SPARE
Updating TCPIP$LPD_SYSTARTUP.COM
Updating TCPIP$LPD_SYSHUTDOWN.COM

*************************************************
* TCPIP$LPD_SYSTARTUP.COM, the printcap file *
* and TCPIP$LPD_SYSHUTDOWN.COM *
* have been updated for this printer *
* *
* Set up activity is complete for this printer *
*************************************************
Command < add delete view help exit >: exit

but when I try to print to it, using just a simple print statement:

print file.lis /que=EBBC500SPARE

The job enters the print queue then suddenly disappears.  The printer does not recieve any job and prints nothing.

The log files of the printer give me this error:

%%%%%%%%%%%% 13-JUL-2022 14:42:31.45 %%%%%%%%%%%%

%TCPIP-I-LPD_SYMBRUN, symbiont is running the queue EBBC500SPARE


TCPIP LPD configuration data:
LPD Spooler Directory : TCPIP$LPD_ROOT:[000000]
Retry-Interval : 0 00:05:00.00
Retry-Maximum : 0 01:00:00.00
Idle-Timeout : 0 00:05:00.00
Inbound-Queues-Per-Node : 1
Utility-Queues-Per-Node : 0
Receiver-Debug : 0
Symbiont-Debug : 0
Utilities-Debug : 0
Loop-Max : 0
Droptime : 0
Probetime : 0
PS-Extensions : LPS
Stream-Passall : FALSE
VMS-Flagpages : FALSE
Persistent-Server : FALSE
Keepalive : FALSE
Synchronize-All-Jobs : TRUE
Setup-NoLF : FALSE
1st-VFC-Prefix-Special : FALSE
Setup-Buffer-Size : 1024
Broadcast-Msg : TRUE

PCB for printer EBBC500SPARE
RT: 515
LP: EBBC500SPARE
RM: EBBC500SPARE
RP: lp
SD: /TCPIP$LPD_ROOT/EBBC500SPARE
LF: /TCPIP$LPD_ROOT/000000/EBBC500SPARE.LOG
BP: EBBC500SPARE
PA: FALSE
ND: FALSE
CR: FALSE
SN: FALSE


%%%%%%%%%%%% 13-JUL-2022 14:42:43.25 %%%%%%%%%%%%

%TCPIP-F-LPD_BADPORT, error getting a port
-TCPIP-W-EAI_AGAIN, temporary failure


%%%%%%%%%%%% 13-JUL-2022 14:43:32.98 %%%%%%%%%%%%

%TCPIP-F-LPD_BADPORT, error getting a port
-TCPIP-W-EAI_AGAIN, temporary failure 

The printer is configured in the hosts file, I am able to ping it from OpenVMS by the printers hostname and IP Address. 

Telnet into the telnet EBBC500SPARE 515 establishes a connection, the printer is working

SHOW QUEUE /FULL EBBC500SPARE 

Server queue EBBC500SPARE, idle, on SERVER::, mounted form DEFAULT
/BASE_PRIORITY=4 /DEFAULT=(FEED,FORM=DEFAULT) /LIBRARY=DCPS$DEVCTL Lowercase /OWNER=[SYSTEM] /PROCESSOR=TCPIP$LPD_SMB
/PROTECTION=(S:M,O:D,G:R,W:S)

I tried using TCPIP$LPD_STARTUP.COM and TCPIP$LPD_SHUTDOWN.COM scripts thinking maybe LPD is just hung up/acting up..  but now when I print the print job is getting stuck in the queue, the log is still showing the error above..

1 REPLY 1
Suttoa
Occasional Visitor
Solution

Re: Printing issue with LPD Queue %TCPIP-F-LPD_BADPORT, error getting a port

Err... 

you know what, you can delete this post.

I decided to delete the queue and recreated it. the only thing i changed was for rp=lp, i changed to rp=lp:\

tested a print and it worked...