• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Configuring printer in samba

I've got a linux machine running gentoo with a hp psc 1315 all-in-one printer attached to it by usb.

Following this howto, I was able to get the printer working in linux without any issues (at this point anyways)

http://forums.gentoo.org/viewtopic-t-365403-highlight-hp+psc.html

Now I'd like to get my windows box to be able to print also.

Currently on my linux box I have samba running with two shared folders. I want to add printer support to it.

my printer section looks like this right now.

[printers]
comment = Server Printer
path = /var/spool/samba
browseable = yes
read only = true
; guest ok = yes
; writable = no
printable = yes
create mode = 0700

I'm able to see the printer if I type "\\192.168.1.2" in the "Run" command line.

However, if i double click on it, it tells me that "the server for the printer does not have the correct printer driver installed. if you want to search for the proper driver, click OK. Otherwise, blah blah blah blah blah"

So I'm thinking that windows can't find the linux printing drivers. Should it be included in samba?

 
What about installing the Windows drivers on the client machine? You can add the following lines to printer section in your smb.conf:

cups options = Raw
use client driver = yes

and then your Windows client will use its driver to send raw print data to the Samba server, which will put it straight to the spool.
 
Back
Top