- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: unknown printer
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
Forums
Discussions
Discussions
Discussions
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
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
10-16-2006 12:23 AM
10-16-2006 12:23 AM
unknown printer
when i launch 'lpstat -p' is see an unknown printer that i can't delete through sam (the printer 10_1):
printer parprint4050 is idle. enabled since May 15 14:13
fence priority : 0
printer 10_1 disabled since Oct 23 14:57 -
new printer
fence priority : 0
i've searched through /etc/lp/interface and /var/spool/lp without success.
where can i look for it ?
thanks in advance
Regards,
Cedrick Gaillard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2006 01:10 AM
10-16-2006 01:10 AM
Re: unknown printer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2006 01:23 AM
10-16-2006 01:23 AM
Re: unknown printer
# lpadmin -x10_1
lpadmin: destination "10_1" non-existent
# lpstat -p |head -5
printer parprint4050 is idle. enabled since May 15 14:13
fence priority : 0
printer 10_1 disabled since Oct 23 14:57 -
new printer
fence priority : 0
# /usr/sam/lbin/lpmgr -l |head -6
RUNNING
off
local name:type:enabled:accepting:location:fence:class
10_1:--:no:--:--:0: :
HPSI:network:yes, idle:yes:-:0: :
i really don't know where it can be declared.
Regards,
Cedrick Gaillard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2006 01:50 AM
10-16-2006 01:50 AM
Re: unknown printer
1. Stop the lp spooler.
# /usr/sbin/lpshut
2. reject and disable the printer
# /usr/sbin/reject 10_1
# /usr/bin/disable 10_1 (it is already disabled)
3. check for jobs in the queue
# /usr/bin/lpstat -o10_1
# /usr/bin/cancel 10_1 (if there is a job)
4. Remove the printer
# /usr/sbin/lpadmin -x10_1
5. Restart the spooler
# /usr/sbin/lpsched
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2006 02:54 AM
10-16-2006 02:54 AM
Re: unknown printer
# /usr/sbin/reject 10_1
/usr/sbin/reject: destination "10_1" non-existent
# /usr/bin/lpstat -o10_1
/usr/bin/lpstat: "10_1" not a request id or a destination
no entries
# /usr/sbin/lpadmin -x10_1
/usr/sbin/lpadmin: destination "10_1" non-existent
i found this printer in:
# strings /var/spool/lp/pstatus |grep 10_1
10_1
10_1
but if i do:
lpshut ;
>/var/spool/lp/pstatus ;
lpsched
lpstat -p indicates that there is no more printers ;(
how can i extract the printer in fault from this binary file ?
very strange situation
Regards,
Cedrick Gaillard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2006 03:05 AM
10-16-2006 03:05 AM
Re: unknown printer
cd /var/spool/lp
> pstatus
> qstatus
> outputq
Then verify that the spooler hasn't been corrupted by wrong permissions, ownerships or missing files:
swverify PrinterMgmt
Fix any problems then add your printers back again.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2006 03:25 AM
10-16-2006 03:25 AM
Re: unknown printer
mkdir /var/spool/lp/request/10_1
touch /etc/lp/interface/10_1
touch /etc/lp/member/10_1
chmod 755 /var/spool/lp/request/10_1 /etc/lp/interface/10_1 /etc/lp/member/10_1
chown lp:bin /var/spool/lp/request/10_1 /etc/lp/interface/10_1 /etc/lp/member/10_1
lpshut
lpadmin -x10_1
lpsched
my problem is now solved ;)
Best Regards,
Cedrick Gaillard