HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding a printer to Samba server.
Operating System - HP-UX
1827158
Members
1940
Online
109716
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
Forums
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
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
05-24-2001 08:20 PM
05-24-2001 08:20 PM
Adding a printer to Samba server.
Has anybody been successful in adding a printer to Samba server on HP-UX ?
In the manual, printcap name should be addressed but there's no that file on hp-ux unlike linux or other operating systems.
I tried several times with different ways but failed.
How can we do this in hp-ux environment?
In the manual, printcap name should be addressed but there's no that file on hp-ux unlike linux or other operating systems.
I tried several times with different ways but failed.
How can we do this in hp-ux environment?
Never say "no" first.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2001 10:31 PM
05-24-2001 10:31 PM
Re: Adding a printer to Samba server.
The onlinehelp says:
On System V systems that use lpstat to list available printers you can use "printcap name = lpstat"
So you don't need a printcapfile. We have several printers set up manually with no problem. When creating a printer go to the advanced view. You will see all the necessary printercommands. If you don't see your printers in the drop down list, just create one with the name of your HP-UX printer.
For HP-UX this command should look like: print command = lp -c -d%p %s; rm %s
All you have to do then is to install the necessary printer drivers on your Windows box. (There is also a option to store the necessary drivers on the Samba-Server. But we don't use this option.)
Hope this helps. Stefan
On System V systems that use lpstat to list available printers you can use "printcap name = lpstat"
So you don't need a printcapfile. We have several printers set up manually with no problem. When creating a printer go to the advanced view. You will see all the necessary printercommands. If you don't see your printers in the drop down list, just create one with the name of your HP-UX printer.
For HP-UX this command should look like: print command = lp -c -d%p %s; rm %s
All you have to do then is to install the necessary printer drivers on your Windows box. (There is also a option to store the necessary drivers on the Samba-Server. But we don't use this option.)
Hope this helps. Stefan
No Mouse found. System halted. Press Mousebutton to continue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2001 12:20 AM
05-30-2001 12:20 AM
Re: Adding a printer to Samba server.
This is what I have in smb.conf file.
[global]
......
printcap name = lpstat
[printer]
comment = Laser 5Si
path = /var/spool/lp/request/ssprt2
printer = ssprt2
printable = Yes
guest ok = Yes
printing = hpux
read only = yes
print command = /usr/bin/lp -c -d%p -o raw %s; rm %s
The printer driver has been installed properly.
but if I send a job there, it doesn't print at all.
Any thing else that I missed ?
[global]
......
printcap name = lpstat
[printer]
comment = Laser 5Si
path = /var/spool/lp/request/ssprt2
printer = ssprt2
printable = Yes
guest ok = Yes
printing = hpux
read only = yes
print command = /usr/bin/lp -c -d%p -o raw %s; rm %s
The printer driver has been installed properly.
but if I send a job there, it doesn't print at all.
Any thing else that I missed ?
Never say "no" first.
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP