- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lp spooler problem
Operating System - HP-UX
1752801
Members
5582
Online
108789
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
07-23-2001 01:04 PM
07-23-2001 01:04 PM
lp spooler problem
I met a very strange problem about lp spooler.
I am trying to print a job through one of my serial printers which name is P9 located at /dev/c5p9_lp.
After I submitted the job, I can get the request id, for example:
# banner welcome | lp -dP9
request id is P9-602 (standard input)
However, when I use lpstat, it said nothing:
# lpstat P9
no entries
I checked the printer by using lpstat -t, it said printer P9 is idle.
Where is my submitted job?
But, if I disable P9 and do the same steps, I can see the job:
# disable P9
printer "P9" ow disabled
# banner welcome | lp -dP9
request id is P9-603 (standard input)
# lpstat P9
P9-603 root priority 0 Jul 23 17:00
(standard input) 332 bytes
I have restarted the lp spooler, but nothing changed, any idea?
I am trying to print a job through one of my serial printers which name is P9 located at /dev/c5p9_lp.
After I submitted the job, I can get the request id, for example:
# banner welcome | lp -dP9
request id is P9-602 (standard input)
However, when I use lpstat, it said nothing:
# lpstat P9
no entries
I checked the printer by using lpstat -t, it said printer P9 is idle.
Where is my submitted job?
But, if I disable P9 and do the same steps, I can see the job:
# disable P9
printer "P9" ow disabled
# banner welcome | lp -dP9
request id is P9-603 (standard input)
# lpstat P9
P9-603 root priority 0 Jul 23 17:00
(standard input) 332 bytes
I have restarted the lp spooler, but nothing changed, any idea?
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2001 01:15 PM
07-23-2001 01:15 PM
Re: lp spooler problem
Hi Shawn,
Check /var/spool/lp/log to see if the job was submitted. I think it was. This is what I think is happening. You have a baudrate/parity/stopbits mismatch and the job is being sent but the printer is unable to actually do anything with the data. You might try sending a really big text file and then doing a stty -a < /dev/c5p9_lp. I assume that this a direct attach serial device and not a
terminal server. The other thing to check is the device node itself. Are the major/minor device number consistant with the device.
Hope this helps, Clay
Check /var/spool/lp/log to see if the job was submitted. I think it was. This is what I think is happening. You have a baudrate/parity/stopbits mismatch and the job is being sent but the printer is unable to actually do anything with the data. You might try sending a really big text file and then doing a stty -a < /dev/c5p9_lp. I assume that this a direct attach serial device and not a
terminal server. The other thing to check is the device node itself. Are the major/minor device number consistant with the device.
Hope this helps, Clay
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP