2004-04-28 23:44:56 +04:00
<samba:parameter name= "cups options"
context="S"
2015-05-01 00:32:45 +03:00
type="string"
2019-10-15 17:54:45 +03:00
substitution="1"
2005-03-13 01:41:20 +03:00
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
2004-04-28 23:44:56 +04:00
<description >
2005-07-07 01:23:58 +04:00
<para >
2005-08-25 20:49:40 +04:00
This parameter is only applicable if <smbconfoption name= "printing" /> is
2004-04-28 23:44:56 +04:00
set to <constant > cups</constant> . Its value is a free form string of options
2004-05-04 19:36:55 +04:00
passed directly to the cups library.
2004-04-28 23:44:56 +04:00
</para>
2005-08-25 20:49:40 +04:00
<para >
You can pass any generic print option known to CUPS (as listed
2004-05-04 19:36:55 +04:00
in the CUPS "Software Users' Manual"). You can also pass any printer
2004-05-10 17:26:20 +04:00
specific option (as listed in "lpoptions -d printername -l")
2005-08-25 20:49:40 +04:00
valid for the target queue.
2008-04-07 19:10:14 +04: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 20:49:40 +04:00
</para>
2004-05-04 19:36:55 +04:00
2005-08-25 20:49:40 +04:00
<para >
You should set this parameter to <constant > raw</constant> if your CUPS server
2004-05-04 19:36:55 +04: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 23:44:56 +04:00
</description>
2004-04-29 17:52:48 +04:00
<value type= "default" > ""</value>
2008-04-07 19:10:14 +04:00
<value type= "example" > "raw media=a4"</value>
2004-04-28 23:44:56 +04:00
</samba:parameter>