- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: LPD/LPR question
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2003 09:15 PM
тАО11-12-2003 09:15 PM
LPD/LPR question
A cutomer requires LPD for printing services, so LPD/LPR has been set up with TCPIP$CONFIG and the service and server have started:
LUXOR> tcpip
TCPIP> sh serv/fu lpd
Service: LPD
State: Enabled
Port: 515 Protocol: TCP Address: 0.0.0.0
Inactivity: 5 User_name: TCPIP$LPD Process: TCPIP$LPD
Limit: 10 Active: 0 Peak: 0
File: TCPIP$SYSTEM:TCPIP$LPD_RECV_RUN.COM
Flags: Aprox Listen
Socket Opts: Rcheck Scheck
Receive: 0 Send: 0
Log Opts: Acpt Actv Dactv Conn Error Exit Logi Logo Mdfy Rjct TimO Addr
File: SYS$SPECIFIC:[TCPIP$LPD]TCPIP$LPD_RECV_RUN.LOG
Security
Reject msg: not defined
Accept host: 0.0.0.0
Accept netw: 0.0.0.0
A printer has been defined (according the manual):
LUXOR> mcr sys$system:TCPIP$LPRSETUP.EXE
TCPIP Printer Setup Program
Command < add delete view help exit >: view
#
# LOCAL PRINTERS
#
TCPIP$LPD_QUEUE:\
:lp=TCPIP$LPD_QUEUE:\
:sd=TCPIP$LPD_SPOOL:
#
HPLJ4|hplj4:\
:lp=HPLJ4:\
:sd=/TCPIP$LPD_ROOT/HPLJ4:\
:fm=DEFAULT:
#
but when trying to print, this happens:
%%%%%%%%%%%% 13-NOV-2003 08:10:32.37 %%%%%%%%%%%%
%TCPIP-F-LPD_UNPRTR, unknown printer
Has anything been missed?
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2003 09:39 PM
тАО11-12-2003 09:39 PM
Re: LPD/LPR question
Search for logical TCPIP$LPD_PRINTCAP. Do, it poing to correct LPD princap file.
Or give the following command to check:
$ search TCPIP$LPD_PRINTCAP
If nothing is found, then this problem comes up.
Other thing to check,
1. $tcpip sho device <== port 515 is there or not
2. check whether spooler directory is created or not.
Best regards,
Lokesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2003 10:16 PM
тАО11-12-2003 10:16 PM
Re: LPD/LPR question
Your last two suggestions first: Both port 515 has been created (see my message!) and the spooled-directory exists (at least, that's my assumption).
Your first point: I guess the logical exists, but assume it is since the printrequest does not complain about a file not being found (or other LPD-related items)
As for the second suggestion: In PRINTCAP there is an entry for HPLJ4 (see message).
As from your suggestion for a search on PRINTCAP, I conclude HPLJ4 should be q QUEUE, NOT A DEVICE. So that may indeed be the problem. How does this relate to TCPIP$LPD_QUEUE? Should that be a logical, or should there be a printer-queue with that name (genberic or execution, I don't think that would matter). In that case, the question on linking a printer NAME to it's IP-address is solved as well.
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2003 10:20 PM
тАО11-12-2003 10:20 PM
Re: LPD/LPR question
Does a queue HPLJ4 exist (SHOW QUE HPLJ4)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2003 10:46 PM
тАО11-12-2003 10:46 PM
Re: LPD/LPR question
what output you get if you give command:
$lpq hplj4
if you get the same error message, then I guess your logical TCPIP$LPD_PRINTCAP is not properly defined. Can you restart LPD services?
and if you get error message as:
no such queue
then the queue HPLJ4 is not defined on the system. ( check $sho que HPLJ4 )
Best regards,
Lokesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2003 11:58 PM
тАО11-12-2003 11:58 PM
Re: LPD/LPR question
$ telnet hplj4m 515
?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2003 02:01 AM
тАО11-13-2003 02:01 AM
Re: LPD/LPR question
If this is a cluster it could be worth checking.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2003 02:23 AM
тАО11-18-2003 02:23 AM
Re: LPD/LPR question
--- PROBLEM SOLVED ---
***********************
Thanks to all, each gave just a little push in some direction - but it turned out that the printer the customer mentioned, was not defined as a host. Next, queues had to be defined properly - which seemed to be required to map the printer's port.
Final PRINTCAP and QUEUE definitions appened (even whe the printer got a different name - it's one way to set things up)
Willem
OpenVMS Developer & System Manager