- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: lpc Status output
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
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
тАО05-23-2010 12:15 AM
тАО05-23-2010 12:15 AM
lpc Status output
we have tru64 v.4.0F & tru64 v.5.1B ,in tru64 v,44.0F:
When we give status for the printer in the .we get the print server and port information as follows:
lpc> status lp72
lp72:
printer is on remote host LIF1 with name text3
queuing is enabled
printing is enabled
no entries
no daemon present
But in the Tru64 5.1B-u5 with the same printer:
When we give status for the printer,we get the print server and port information as follows:
lpc> status lp72
lp72:
printer is on device '/' speed 9600
queuing is enabled
printing is enabled
no entries
no daemon present
How to get more info on the printers in v5.1B like 4.0F?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2010 12:58 AM
тАО05-23-2010 12:58 AM
Re: lpc Status output
Are the printcaps set the same on the 4.0F and 5.1B machines ?
I've not got a v5 machine to look at right now, but I'd expect the output to be similar...
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2010 12:46 AM
тАО05-25-2010 12:46 AM
Re: lpc Status output
first impression is the printer is physically connected to the 5.1 host end the 4.0 host is using the 5.1 host as a printserver (remote host).
what more information are you looking for?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2010 04:57 PM
тАО06-08-2010 04:57 PM
Re: lpc Status output
the strange thing is that in the 4.0 F the
lpc status cmd for the printers gives different output in 5.1B ...
the printcap file is the same in the two servers.
for example:
in 4.0 F:
**********
lpc> status lp72
lp72:
printer is on remote host LIF1 with name text3
queuing is enabled
printing is enabled
no entries
no daemon present
in 5.1B
*******
lpc> status lp72
lp72:
printer is on device '/' speed 9600
queuing is enabled
printing is enabled
no entries
no daemon present
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2010 11:41 PM
тАО06-08-2010 11:41 PM
Re: lpc Status output
But from your output I have some doubts if they really are the same.
Double check if this describes the same printer.
You say you are using en external printserver.
Double check if this printserver is addressed the same way,
I mean not one hosts connects to the printserer using TCP and the other host using LAT.
If both hosts are using tcp, check both hosts use printer hostname and not ip-address in the printcap file.
here's output from one of my printers on V5.1B.
eagle (system)> lpc status
lp:
printer is on device '@nlw-pr001/jetdirect' speed -1
queuing is enabled
printing is enabled
no entries
no daemon present
maybe it could be related to user privileges?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2010 11:50 AM
тАО06-13-2010 11:50 AM
Re: lpc Status output
here is the definition of lp72 in the printcap file:
of both servers:
lp72|72:\
:af=/usr/adm/lp72acct:\
:br#9600:\
:fc#0177777:\
:fs#023:\
:if=/usr/lbin/xf:\
:lf=/usr/adm/lp72err:\
:lp=/:\
:mx#0:\
:of=/usr/lbin/lpf:\
:pl#66:\
:pw#80:\
:rm=LIF1:\
:rp=text3:\
:sd=/usr/spool/lpd72:\
:xc#0177777:\
:xf=/usr/lbin/xf:\
:xs#044000:
the strange thing is the lpc status for the lp65 ..on both servers is right and below is the definition of it in the printcap file:
lp65|65:\
:lf=/usr/adm/lp65err:\
:lp=:\
:rm=it_lp:\
:rp=text1:\
:sd=/usr/spool/lpd65:
:xs#044000:
do you think the order of the parmeters ( specially lp,rm,rp )can make such problem???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2010 12:46 AM
тАО06-17-2010 12:46 AM
Re: lpc Status output
From the printcap manpage
lp str /dev/lp
Device name to open for output.
For network (TCP/IP) printers, enter the
name a @hostname/servicename.
The servicename is defined in
/etc/services with the port number.
++
I believe you should remove the / after the
lp= in the printcap entry..
++
_JB_