- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lp spooler problem
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
тАО07-23-2001 01:11 PM
тАО07-23-2001 01:11 PM
lp spooler problem
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2001 01:16 PM
тАО07-23-2001 01:16 PM
Re: lp spooler problem
Check your devise file. Is it really a 'character' file? Maybe the device file got deleted and it is a regular file now.
If this is the case, all you've printed is in the device file (more /dev/c5p9_lp).
Hope this helps,
Rik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2001 09:03 PM
тАО07-23-2001 09:03 PM
Re: lp spooler problem
This is a strange problem. U follow these and try
#cd /var/spool/lp
#rm SCHEDLOCK
#lpshut
#cd /dev
#ll -d c5p9_lp
output should be like this
crw_rw_rw 1 root sys 216 0x020004 FE 18 c5p9_lp
Then
#lpsched
#enable p9
#accept p9
#lpstat -t
Verify whether scheduler is running or not, printer accepting or not ..etc.
If anything is pending
#cancel -e
#lp -d p9 /etc/passwd
Now it should print...Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2001 11:23 PM
тАО07-23-2001 11:23 PM
Re: lp spooler problem
I will go with Shahul. And if that does'nt work , then its better not to waste more time in working around the problem - wherein just go for deleting the printer and then re-creating it.
Hope this helps
Cheers !!!
Mathew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2001 11:30 PM
тАО07-23-2001 11:30 PM
Re: lp spooler problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2001 01:56 AM
тАО07-24-2001 01:56 AM
Re: lp spooler problem
Like remote printer attached to device file?
Did you use ddfa software?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2001 07:05 AM
тАО07-24-2001 07:05 AM
Re: lp spooler problem
Totally agree with you, sometimes reconfig is the simplest way, especially for serial printer.
In my case, it is H/W problem, nothing wrong with my configuration, we have asked for H/W repair.
Thanks all!