Lutz Krüger
2004-Jan-13 23:38 UTC
[Samba] problem mixing printing cups and own print commands
hello, i'm using samba 3.0.0beta2-1 on Debian.with passdb backend = ldapsam and printing = cups. in the past Samba 2.0.5 i'm using printing = bsd and define my printers in the /etc/printcap. additional i define own printers to create pdf - files. Now i'm using cups. everything works fine with printers defined on cups ( automatic driver installation, printing ... )., but printing ( not driver installation !) with own print commands failed. What's wrong ? Works cups and own print commands not together ? The printing-section of my smb.conf looks like follows ;Printing printing = cups printcap name = cups load printers = yes show add printer wizard = yes [printers] comment = All Printers path = /dataserver/samba/printer public = yes guest ok = yes writable = no printable = yes printer admin = @_sambaadmins [print$] comment = Printer Driver Download Area path = /dataserver/samba/printer browseable = yes guest ok = yes read only = yes write list = @_sambaadmins [PDF-Printer] comment = PDF Printer #print command = /etc/samba/scripte/pdf_print.pl %s %p %I %m %M %g %u %T print command = echo Printing %s >> /tmp/print.log path = /tmp #path = /dataserver/samba/printer printer admin = @_sambaadmins browseable = yes printable = yes writable = no create mode = 0666 Thanks for your help ( and reading my bad english ;-) krueson
John H Terpstra
2004-Jan-14 01:58 UTC
[Samba] problem mixing printing cups and own print commands
On Wed, 14 Jan 2004, [ISO-8859-1] Lutz Kr?ger wrote:> hello, > i'm using samba 3.0.0beta2-1 on Debian.with passdb backend = ldapsam and > printing = cups. > in the past Samba 2.0.5 i'm using printing = bsd and define my printers > in the /etc/printcap. additional i define own printers to create pdf - > files. > > Now i'm using cups. everything works fine with printers defined on cups > ( automatic driver installation, printing ... )., but printing ( not > driver installation !) with own print commands failed. > What's wrong ? Works cups and own print commands not together ?Correct. When you use CUPS, samba communicates directly with CUPS via the CUPS printing libraries. So set up your printers in CUPS (including PDF production) and you should have a very robust printing environment. Suggest you refer to the Samba-HOWTO-Collection chapters on CUPS printing. See: http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf cheers, John T.> > The printing-section of my smb.conf looks like follows > > ;Printing > printing = cups > printcap name = cups > load printers = yes > show add printer wizard = yes > > [printers] > comment = All Printers > path = /dataserver/samba/printer > public = yes > guest ok = yes > writable = no > printable = yes > printer admin = @_sambaadmins > > [print$] > comment = Printer Driver Download Area > path = /dataserver/samba/printer > browseable = yes > guest ok = yes > read only = yes > write list = @_sambaadmins > > [PDF-Printer] > comment = PDF Printer > #print command = /etc/samba/scripte/pdf_print.pl %s %p %I %m %M %g %u %T > print command = echo Printing %s >> /tmp/print.log > path = /tmp > #path = /dataserver/samba/printer > printer admin = @_sambaadmins > browseable = yes > printable = yes > writable = no > create mode = 0666 > > Thanks for your help ( and reading my bad english ;-) > > krueson > >-- John H Terpstra Email: jht@samba.org
Possibly Parallel Threads
- How to display the folder names in Japanese?
- Fw: help No domain server was available to validate password
- Member server plus local accounts - can it be done?
- How to I change server=[Samba 3.04.14a-2] to something else?
- Domain security, users still asked for login