- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- samba printer sharing
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
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
тАО05-07-2003 01:15 AM
тАО05-07-2003 01:15 AM
I installed Redhat 7.2 and Samba 2.2, that would like to share the printers use samba for Windows clients. The printers are connected to D-Link printer server device which provide 3 ports that I can directly connect printers to those ports. I use RedHat's "setup->printer configuration" to configure the printer and add a windows print queue (smb), then enter smb share likes "\\PS-9999-P1". After that I try to make a test printing, there do not have error message and nothing be printed out. I already enabled the "guest ok=yes, public=ok" at smb.conf.
There look likes the Redhat can't make connect to that print server device.
any ideas ?
Thanks
Vincent
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2003 04:21 AM
тАО05-07-2003 04:21 AM
Re: samba printer sharing
So :
- your linux box will act as a client, not a server, unless it emulates a NT domain controler...
- on my network, I use the same configuration, apart the fact that my print server is an HP, and it works correctly with using the printer server IP rather than the option smb printer... try that !
RGDS
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2003 04:48 AM
тАО05-07-2003 04:48 AM
Re: samba printer sharing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2003 07:35 AM
тАО05-07-2003 07:35 AM
Re: samba printer sharing
You should be able to set up the Linux server to provide the drivers to windows clients in a windows, "find printer" type mode.
Whether its worth the effort depends on how many clients are sharing the printer.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2003 05:11 PM
тАО05-07-2003 05:11 PM
Re: samba printer sharing
Thanks for your prompt assistant.
Problem is that how can I made the connection from Linux box to the printer server device which the printer connected. The printer server device and printer can't be assigned IP on it. That is the problem.
On the MS Windows client (w2k, w98, xp) which they can directly connect the that printer server device and printer as I've to intall "NETBEUI" protocol, so the windows client can browse the print server device and select printer. (the print server device support 3 printers). The clients do not need to login to domain.
Any idea
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2003 03:18 AM
тАО05-08-2003 03:18 AM
Re: samba printer sharing
I have used Red Hat 7.2, 7.3, 8.0 and now 9. I've tried setting up Samba on the older versions and it wasn't very easy at all - even using swat. On Red Hat 9 I installed Samba very easlily and configuration was incredibly easy and intuitive. "if" you don't have a reason to stay with version 7.2 I would recommend upgrading and using Samba on the newer version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2003 04:05 AM
тАО05-08-2003 04:05 AM
SolutionIt seems it supports TCP/IP and lpr and therefore Linux.
You need to use the admin software that came with the unit (probably windows based) and setup the IP address on the unit, I see it could get one via DHCP if you have a server or you could manually supply one. Once you have done that you can print to the server with the lpr command.
I would suggest that you install cups (http://www.cups.org/) this will simplify life a bit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2003 09:54 AM
тАО05-08-2003 09:54 AM
Re: samba printer sharing
you will need to configure it and then anything will be able to printer to it via TCP/IP (much like the D-link mentioned above)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2003 10:15 AM
тАО05-08-2003 10:15 AM
Re: samba printer sharing
You have few chances to reach your printer from Linux using this protocol. Giving printer server an IP, if as James says it supports TCP/IP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2003 12:11 AM
тАО05-20-2003 12:11 AM
Re: samba printer sharing
It is me again, the problem is solved now for printing from Linux box to that printer HP2100 which attached to D-Link print server. As I need to assigned a IP for the print server. Then manually add a hosts name and IP address on file /etc/hosts and add the printer to
smb.conf as follows:
guest account = nobody
security = user
[HP2100]
comment = test
printer = HP2100
path = /var/spool/hp2100
use client driver = yes
public = yes
guest ok = yes
writable = yes
printable = ok
and /etc/printcap
hp2100: :ip=:sd=/var/spool/hp2100:mx#0: :rm=ps-14263:rp=PS-14263-P1:
The printer in Linux box is without problem which can print out. The problem is that I share that printer from samba and Windows clients can add the network printer to their pc, but it shows "access denied, unable to connect". The errors message is "Test page failed to print. Would .......? Unable to create a print job" while I print a test page. I check that the ports from properties which shows no port is connected to that printer.
What is the problems? I already set "guest ok= yes", suppose every user can use it. Can someone can advise me? Thanks!
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2003 04:08 AM
тАО05-20-2003 04:08 AM
Re: samba printer sharing
Can you explain why you want to print via smb on the linux box from a windows machine if you can print directly to the printserver from windows?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2003 05:42 PM
тАО05-20-2003 05:42 PM
Re: samba printer sharing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2003 08:07 AM
тАО07-08-2003 08:07 AM
Re: samba printer sharing
Thanks.
-Imran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2003 08:57 AM
тАО07-08-2003 08:57 AM
Re: samba printer sharing
Open a new thread (new message) explaining your problem...
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2003 04:42 AM
тАО09-29-2003 04:42 AM