[Samba] Can't print properly through server, only direct client->printer

Simon Hobson shobson-lists at colony.com
Sat Jul 3 09:13:42 GMT 2004


We are having great problems printing from XP clients through our 
Samba server. We are using the Adobe PS driver, and are configured 
for automatic driver download/install from the server. Samba is 
2.2.8a and part of a Suse OpenExchange server, printing is through 
CUPS. Printers are an assortment of different makes of Postscript 
(and compatible) lasers.

Basically, we have 'wierd' behaviour. Excel documents send as 
landscape which are formatted for landscape, but not rotated on the 
page; jobs which just don't print at all (postscript errors); 
Printouts where every occurance of a particular character is missing, 
or characters are changed.

If we re-configure the clients to talk directly to the printers via 
an IP port, they work fine with the same drivers and PPDs.

I've configured CUPS to support raw printing (as per 8.5.14 in the 
Samba Howto).

Anyone got any ideas what could be wrong ?

Simon


smb.conf extracts :

[global]
         printcap name = CUPS
         printing = cups


[print$]
         comment = Printer Drivers
         path = /var/lib/samba/drivers
         write list = @ntadmin, at root
         force group = ntadmin
         create mask = 0664
         directory mask = 0775
         guest ok = Yes

[printers]
         comment = All Printers
         path = /var/tmp
         create mask = 0600
         guest ok = Yes
         printable = Yes
         print command = grep -v '^[0-9]* *VM\?' <%s >%s-2 ; rm %s ; 
lpr -P%p -o raw %s-2
         browseable = No


-- 
Simon Hobson MA MIEE, Technology Specialist
Colony Gift Corporation Limited
Lindal in Furness, Ulverston, Cumbria, LA12 0LD
Tel 01229 461100, Fax 01229 461101

Registered in England No. 1499611
Regd. Office : 100 New Bridge Street, London, EC4V 6JA.


More information about the samba mailing list