Re: Samba and printer question.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux