Slagathor Posted July 21, 2003 Report Share Posted July 21, 2003 Hello again, I have installed 9.1, which is pretty darn nice, anywase I have everything set up the way I like, except my printer. I have it installed on the linux machine, and I want to share it with the Windoze machines that the wife and kids use. I have Samba set up and can browse the network with all the pc's the only thing I am having problems with is the printer. And I have a funny feeling it's something really simple, and I am gonna feel a little foolish.... :shock: :shock: Quote Link to comment Share on other sites More sharing options...
MottS Posted July 21, 2003 Report Share Posted July 21, 2003 Hi Slagathor If you are able to browse the Windows machine and they are able to browse you then YES .. that is supposed to be simple. What about posting your Samba config file here? (/etc/samba/smb.conf) Are you able to print in Linux? Do you use CUPS? Here is the relevant section in my /etc/samba/smb.conf file: # NOTE: If you have a CUPS print system there is no need to # specifically define each individual printer. # You must configure the samba printers with the appropriate Windows # drivers on your Windows clients. On the Samba server no filtering is # done. If you wish that the server provides the driver and the clients # send PostScript ("Generic PostScript Printer" under Windows), you have # to swap the 'print command' line below with the commented one. [printers] comment = All Printers path = /var/spool/samba browseable = no # to allow user 'guest account' to print. guest ok = yes writable = no printable = yes create mode = 0700 # ===================================== # print command: see above for details. # ===================================== ; print command = lpr-cups -P %p %s # using cups own drivers (use generic PostScript on clients). ; print command = lpr-cups -P %p %s # using cups own drivers (use generic PostScript on clients). lpq command = lpstat -o %p lprm command = cancel %p-%j # This share is used for Windows NT-style point-and-print support. # To be able to install drivers, you need to be either root, or listed # in the printer admin parameter above. Note that you also need write access # to the directory and share definition to be able to upload the drivers. # You must disable (by commenting out) the share above if you enable this. # For more information on this, please see the Printing Support Section of # /usr/share/doc/samba-2.2.1a/docs/Samba-HOWTO-Collection.pdf # Please note that this has not yet been tested as packaged here with CUPS. ;[print$] ; path = /var/lib/samba/printers ; browseable = yes ; read only = yes ; write list = @adm root MOttS Quote Link to comment Share on other sites More sharing options...
Slagathor Posted July 21, 2003 Author Report Share Posted July 21, 2003 Yes I can print, and yes it uses CUPS, here the Samba conf........ # NOTE: If you have a CUPS print system there is no need to # specifically define each individual printer. # You must configure the samba printers with the appropriate Windows # drivers on your Windows clients. On the Samba server no filtering is # done. If you wish that the server provides the driver and the clients # send PostScript ("Generic PostScript Printer" under Windows), you have # to swap the 'print command' line below with the commented one. ;[printers] ;comment = All Printers ;path = /var/spool/samba ;browseable = no # to allow user 'guest account' to print. ;guest ok = yes ;writable = no ;printable = yes ;create mode = 0700 # ===================================== # print command: see above for details. # ===================================== ;print command = lpr-cups -P %p %s # using cups own drivers (use generic PostScript on clients). ;print command = lpr-cups -P %p %s # using cups own drivers (use generic PostScript on clients). ;lpq command = lpstat -o %p ;lprm command = cancel %p-%j # This share is used for Windows NT-style point-and-print support. # To be able to install drivers, you need to be either root, or listed # in the printer admin parameter above. Note that you also need write access # to the directory and share definition to be able to upload the drivers. # You must disable (by commenting out) the share above if you enable this. # For more information on this, please see the Printing Support Section of # /usr/share/doc/samba-2.2.1a/docs/Samba-HOWTO-Collection.pdf # Please note that this has not yet been tested as packaged here with CUPS. ;[print$] ; path = /var/lib/samba/printers ; browseable = yes ; read only = yes ; write list = @adm root Quote Link to comment Share on other sites More sharing options...
tyme Posted July 21, 2003 Report Share Posted July 21, 2003 what exactly is the problem with the printer? Quote Link to comment Share on other sites More sharing options...
MottS Posted July 21, 2003 Report Share Posted July 21, 2003 Slagathor, you have to uncomment (remove the ';' sign) some lines in the [printers] section for your printer to be shared. Look at my [printers] section to inspire yourself ( :-D ). Once it is done, restart Samba and search for the printer from a Windows machine. That should work.. If it doesn't work, post the whole smb.conf here. MOttS Quote Link to comment Share on other sites More sharing options...
Slagathor Posted July 21, 2003 Author Report Share Posted July 21, 2003 what exactly is the problem with the printer? I couldn't connect to it from the Windoz machines...... :? Slagathor, you have to uncomment (remove the ';' sign) some lines in the [printers] section for your printer to be shared. Look at my [printers] section to inspire yourself ( ). Once it is done, restart Samba and search for the printer from a Windows machine. That should work.. If it doesn't work, post the whole smb.conf here. MOttS I uncommented like your's and works like a charm......... :D Thanx a ton d00d....... :D :D Quote Link to comment Share on other sites More sharing options...
MottS Posted July 21, 2003 Report Share Posted July 21, 2003 YEAH! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.