2004-04-28 19:44:56 +00:00
<samba:parameter name= "cups options"
context="S"
type="string"
2005-03-12 22:41:20 +00:00
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
2004-04-28 19:44:56 +00:00
<description >
2005-07-06 21:23:58 +00:00
<para >
2005-08-25 16:49:40 +00:00
This parameter is only applicable if <smbconfoption name= "printing" /> is
2004-04-28 19:44:56 +00:00
set to <constant > cups</constant> . Its value is a free form string of options
2004-05-04 15:36:55 +00:00
passed directly to the cups library.
2004-04-28 19:44:56 +00:00
</para>
2005-08-25 16:49:40 +00:00
<para >
You can pass any generic print option known to CUPS (as listed
2004-05-04 15:36:55 +00:00
in the CUPS "Software Users' Manual"). You can also pass any printer
2004-05-10 13:26:20 +00:00
specific option (as listed in "lpoptions -d printername -l")
2005-08-25 16:49:40 +00:00
valid for the target queue.
2008-04-07 15:10:14 +00:00
Multiple parameters should be space-delimited name/value pairs according to
the PAPI text option ABNF specification. Collection values
("name={a=... b=... c=...}") are stored with the curley brackets intact.
2005-08-25 16:49:40 +00:00
</para>
2004-05-04 15:36:55 +00:00
2005-08-25 16:49:40 +00:00
<para >
You should set this parameter to <constant > raw</constant> if your CUPS server
2004-05-04 15:36:55 +00:00
<filename > error_log</filename> file contains messages such as
"Unsupported format 'application/octet-stream'" when printing from a Windows client
through Samba. It is no longer necessary to enable
system wide raw printing in <filename > /etc/cups/mime.{convs,types}</filename> .
</para>
2004-04-28 19:44:56 +00:00
</description>
2004-04-29 13:52:48 +00:00
<value type= "default" > ""</value>
2008-04-07 15:10:14 +00:00
<value type= "example" > "raw media=a4"</value>
2004-04-28 19:44:56 +00:00
</samba:parameter>