- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Enable/disable a print queue in samba
Operating System - HP-UX
1820707
Members
2901
Online
109627
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
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
11-13-2003 04:49 AM
11-13-2003 04:49 AM
Enable/disable a print queue in samba
Hi all
I have a small problem with a print queue in Samba. It is a normal lpd queue, that sometimes goes down (like with a "disable") without notice. In samba, the "down state" isn't reported to the windows clients.
In the /etc/opt/samba/smb.conf file, I generally give these options for the print queues:
printable = Yes
printing = hpux
print command = /usr/bin/lp -c -d%p -s %s; rm %s
lpq command = /usr/bin/lpstat -o%p -p%p
lprm command = /usr/bin/cancel %p-%j
lppause command = /usr/bin/lpalt %p-%j -p0
lpresume command = /usr/bin/lpalt %p-%j -p2
printer name = name_of_printer
that function well to print/cancel/suspend/resume a job, but I don't know what to do to put the queue in up/down state or, possibly, to pass the clients this information.
Thank you in advance
Enrico
I have a small problem with a print queue in Samba. It is a normal lpd queue, that sometimes goes down (like with a "disable
In the /etc/opt/samba/smb.conf file, I generally give these options for the print queues:
printable = Yes
printing = hpux
print command = /usr/bin/lp -c -d%p -s %s; rm %s
lpq command = /usr/bin/lpstat -o%p -p%p
lprm command = /usr/bin/cancel %p-%j
lppause command = /usr/bin/lpalt %p-%j -p0
lpresume command = /usr/bin/lpalt %p-%j -p2
printer name = name_of_printer
that function well to print/cancel/suspend/resume a job, but I don't know what to do to put the queue in up/down state or, possibly, to pass the clients this information.
Thank you in advance
Enrico
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.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP