summaryrefslogtreecommitdiff
path: root/docs/smbdotconf/printing/cupsoptions.xml
blob: ce3eb83c7e1c91e08a7e0da72720d0d1cf798b0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<samba:parameter name="cups options"
                 context="S"
		 type="string"
		 print="1"
                 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
    <para>This parameter is only applicable if <link 
    linkend="PRINTING"><parameter moreinfo="none">printing</parameter></link> is 
    set to <constant>cups</constant>.  Its value is a free form string of options
    passed directly to the cups library.  
    </para>

   <para>You can pass any generic print option known to CUPS (as listed
   in the CUPS "Software Users' Manual").  You can also pass any printer
   specific option (as listed in "lpoptions -d printername -l")
   valid for the target queue.</para>

   <para>You should set this parameter to <constant>raw</constant> if your CUPS server 
   <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>

</description>

<value type="default">""</value>
<value type="example">"raw,media=a4,job-sheets=secret,secret"</value>
</samba:parameter>