[Samba] Samba ignores printer options when printing via CUPS

David Meakins samba-list at judcom.nsw.gov.au
Wed Feb 25 01:54:32 GMT 2009

As a follow up to this, it does indeed look like this bug is what was 
wrong. CUPS pstops was stripping out pretty much all options, and 
replacing them with the the CUPS defaults.

To fix this we added the following line to smb.conf
cups options = raw

which bypasses pstops. This has the side effect of disabling anything 
that pstops adds, such as page accounting, forcing multiple pages per 
print, etc. Not really a problem in our situation.


Dale Schroeder wrote:
> David Meakins wrote:
>> Hi all,
>>    I'm having a few problems getting samba to pass along settings for 
>> various print options for all of our printers. Printers are set up 
>> using PPDs in CUPS, added to samba via the cupsaddsmb command and 
>> then added to windows clients via point and print. Unfortunately any 
>> print jobs sent from windows appear to completely ignore many of the 
>> CUPS settings such as duplex and print tray assignments. If I try 
>> printing from Linux to CUPS then all duplexing and print tray options 
>> are honoured by the print server. Anyone come across this before? 
> Yes, I have, but was assuming it was related to this Debian CUPS bug:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500732
> because advanced options for Windows print drivers through Samba/CUPS 
> work perfectly.

| Judicial Commission of NSW | Ph: +61 2 9299 4421 | Fax: +61 2 9290 3194 |

This Message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender.

Views expressed in this message are those of the individual sender and not necessarily the views of the Judicial Commission of NSW.

More information about the samba mailing list