Samba and printer question.
Craig White
craigwhite at azapple.com
Wed Jan 21 01:39:59 UTC 2009
On Tue, 2009-01-20 at 20:57 +0200, Veli-Pekka Kestilä wrote:
> Hi,
>
> I have a HP4050 printer which is connected trought hp-jetdirect. It
> works fine with cups, but I couldn't get it shared trough samba. It
> shows okay to my vista laptop, but it laptop couldn't connect to it. I
> can use cups so it's not a problem, but I would be interested to find
> out why it didn't work trough samba as I could end up seeing something
> similiar when at customer or somewhere else where using cups isn't an
> option.
>
> Fedora version is 10. Samba and cups are latest available versions. Also
> I didn't really get any helpful errors in selinux or samba logs which
> would help solving this problem.
----
coming in very late on this issue but perhaps I can help.
Cups uses ghostscript to print to this printer. If setup in samba allows
with things like this...
[global]
printing = cups
printcap = cups
*** these options may be useful depending upon what you are doing ***
show add printer wizard = yes
use client driver = no
[printers]
comment = Network Printers
path = /home/filesystems/printing/spool/ # must be a valid path
# change for your usage
guest ok = yes
printable = yes
writable = no
read only = Yes
will somewhat let samba users print BUT - this is using the HP
Postscript driver only.
If you want to use PCL drivers, then you have to allow 'raw' printing in
cups and 'use client driver = yes' in [global] section.
and most importantly, this is all explained in the excellent samba
documentation here...
http://samba.org/samba/docs/man/Samba-HOWTO-Collection/CUPS-printing.html
including how to allow 'raw' printing in cups.
Craig
More information about the fedora-list
mailing list