HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Samba-2.2.0 printing
Operating System - HP-UX
1833827
Members
2060
Online
110063
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
Go to solution
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-16-2001 04:53 AM
05-16-2001 04:53 AM
How can I print to a HP LaserJet 5 on a HPUX11.0 box
using samba-2.2.0 from a WinNT4.0 PC?
When I try to install the printer the printer connect dialog
tells me "NO DRIVER AVAILABLE FOR THIS PRINTER"
and forces me to install the driver local.
I say ok, and what I get is a dialogbox to select a
printer driver from diskette. If I select "Search" and select a driver from diskette my PC tells me that the driver is unknown.
Is there any one who can help?
PS. Samba works fine with printing on Win98, so I
think my smb.conf is ok.
On both PC's I'm logged in as a user that has a valid
access to the HP-UX machine.
Here is the smb.conf:
# Global parameters
[global]
encrypt passwords = Yes
null passwords = Yes
printing = bsd
load printers = yes
[HP LaserJet 5]
comment = HPLJ5MP Printer
valid users = werner
path = /tmp
printer = hplj5mp
public = no
writable = no
printable = yes
using samba-2.2.0 from a WinNT4.0 PC?
When I try to install the printer the printer connect dialog
tells me "NO DRIVER AVAILABLE FOR THIS PRINTER"
and forces me to install the driver local.
I say ok, and what I get is a dialogbox to select a
printer driver from diskette. If I select "Search" and select a driver from diskette my PC tells me that the driver is unknown.
Is there any one who can help?
PS. Samba works fine with printing on Win98, so I
think my smb.conf is ok.
On both PC's I'm logged in as a user that has a valid
access to the HP-UX machine.
Here is the smb.conf:
# Global parameters
[global]
encrypt passwords = Yes
null passwords = Yes
printing = bsd
load printers = yes
[HP LaserJet 5]
comment = HPLJ5MP Printer
valid users = werner
path = /tmp
printer = hplj5mp
public = no
writable = no
printable = yes
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2001 12:10 PM
05-16-2001 12:10 PM
Solution
You always need to install the driver locally - both on Win9x and WinNT/2k. So first of all you shold obtain the appropriate driver from the hp website. You might need to get different versions of the driver for Win98 and NT.
Now you have two choices:
1) Install the printer driver on your WinNT machine. Then connect to the SAMBA printserver - should work now.
2) Use the 'automatic printer driver installation' feature of SAMBA. Starting with SAMBA 2.2.0 this now works for Windows NT/2k also!
The SAMBA documentation should tell you exactly what you need to do. Personally I can recommend the O'Reilly book 'Using SAMBA' - lots of examples, recipes and detailed explanations there!
After you've placed the Windows printer driver on your SAMBA server (above mentioned docs tell you how to do this) you need to edit your smb.conf so SAMBA will offer the driver to the Windows clients.
The smb.conf entry for your printer might then look like this:
----snip----
[lj5m]
comment = HP LaserJet 5M PostScript
printer = lj5m
printable = yes
path=/var/spool/sambaprint
read only = yes
guest ok = yes
print command = lp -c -d%p -o raw %s; rm %s
printer driver = HP LaserJet 5/5M PostScript
printer driver location = \\%L\PRINTER$
----snip----
This works for me.
When you first connect the printer share from your WinNT machine the printer driver will be automagically retrieved from your SAMBA server and installed.
Hope this helps. :-)
Cheers,
Enno.
Now you have two choices:
1) Install the printer driver on your WinNT machine. Then connect to the SAMBA printserver - should work now.
2) Use the 'automatic printer driver installation' feature of SAMBA. Starting with SAMBA 2.2.0 this now works for Windows NT/2k also!
The SAMBA documentation should tell you exactly what you need to do. Personally I can recommend the O'Reilly book 'Using SAMBA' - lots of examples, recipes and detailed explanations there!
After you've placed the Windows printer driver on your SAMBA server (above mentioned docs tell you how to do this) you need to edit your smb.conf so SAMBA will offer the driver to the Windows clients.
The smb.conf entry for your printer might then look like this:
----snip----
[lj5m]
comment = HP LaserJet 5M PostScript
printer = lj5m
printable = yes
path=/var/spool/sambaprint
read only = yes
guest ok = yes
print command = lp -c -d%p -o raw %s; rm %s
printer driver = HP LaserJet 5/5M PostScript
printer driver location = \\%L\PRINTER$
----snip----
This works for me.
When you first connect the printer share from your WinNT machine the printer driver will be automagically retrieved from your SAMBA server and installed.
Hope this helps. :-)
Cheers,
Enno.
Oh God, I hate this damn machine, I wish that they would sell it! It never does that what I mean but only what I tell it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2001 12:10 AM
05-17-2001 12:10 AM
Re: Samba-2.2.0 printing
Hi,
the answer given above seems enough to me.
Something I noticed was that you have the global variable printing set to bsd.
This should be hpux...
Jeroen.
the answer given above seems enough to me.
Something I noticed was that you have the global variable printing set to bsd.
This should be hpux...
Jeroen.
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP