1*5b501c92SAndrew Rist; *************************************************************
2*5b501c92SAndrew Rist;
3*5b501c92SAndrew Rist;  Licensed to the Apache Software Foundation (ASF) under one
4*5b501c92SAndrew Rist;  or more contributor license agreements.  See the NOTICE file
5*5b501c92SAndrew Rist;  distributed with this work for additional information
6*5b501c92SAndrew Rist;  regarding copyright ownership.  The ASF licenses this file
7*5b501c92SAndrew Rist;  to you under the Apache License, Version 2.0 (the
8*5b501c92SAndrew Rist;  "License"); you may not use this file except in compliance
9*5b501c92SAndrew Rist;  with the License.  You may obtain a copy of the License at
10*5b501c92SAndrew Rist;
11*5b501c92SAndrew Rist;    http://www.apache.org/licenses/LICENSE-2.0
12*5b501c92SAndrew Rist;
13*5b501c92SAndrew Rist;  Unless required by applicable law or agreed to in writing,
14*5b501c92SAndrew Rist;  software distributed under the License is distributed on an
15*5b501c92SAndrew Rist;  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*5b501c92SAndrew Rist;  KIND, either express or implied.  See the License for the
17*5b501c92SAndrew Rist;  specific language governing permissions and limitations
18*5b501c92SAndrew Rist;  under the License.
19*5b501c92SAndrew Rist;
20*5b501c92SAndrew Rist; *************************************************************
21cdf0e10cSrcweir[__Global_Printer_Defaults__]
22cdf0e10cSrcweir; Copies: the default number of copies produced
23cdf0e10cSrcweir;         if key is absent the default is 1
24cdf0e10cSrcweir; Copies=1
25cdf0e10cSrcweir
26cdf0e10cSrcweir; Orientation: the default orientation of pages
27cdf0e10cSrcweir;         possible Values: Portrait, Landscape
28cdf0e10cSrcweir;         if key is absent the default is Portrait
29cdf0e10cSrcweir; Orientation=Portrait
30cdf0e10cSrcweir
31cdf0e10cSrcweir; Scale: the default scaling of output in percent
32cdf0e10cSrcweir;         if key is absent the default is 100
33cdf0e10cSrcweir; Scale=100
34cdf0e10cSrcweir
35cdf0e10cSrcweir; MarginAdjust: the default adjustment to driver margins in 1/100 mm
36cdf0e10cSrcweir;         MarginAdjust contains corrections for the driver defined margins
37cdf0e10cSrcweir;         the values are comma separated
38cdf0e10cSrcweir;         the order is: left,right,top,bottom
39cdf0e10cSrcweir;         if key is absent the default is 0,0,0,0
40cdf0e10cSrcweir; MarginAdjust=0,0,0,0
41cdf0e10cSrcweir
42cdf0e10cSrcweir; ColorDepth: the default colordepth of the device in bits
43cdf0e10cSrcweir;         possible values: 1, 8, 24
44cdf0e10cSrcweir;         if key is absent the default is 24
45cdf0e10cSrcweir; ColorDepth=24
46cdf0e10cSrcweir
47cdf0e10cSrcweir; ColorDevice: the default setting wether the device is color capable
48cdf0e10cSrcweir;         possible values: 0: driver setting, -1: grey scale, 1: color
49cdf0e10cSrcweir;         if key is absent the default is 0
50cdf0e10cSrcweir; ColorDepth=0
51cdf0e10cSrcweir
52cdf0e10cSrcweir; PSLevel: the default setting of the PostScript level of the output
53cdf0e10cSrcweir;         possible values: 0: driver setting, 1: level 1, 2: level2
54cdf0e10cSrcweir;         if key is absent the default is 0
55cdf0e10cSrcweir; PSLevel=0
56cdf0e10cSrcweir
57cdf0e10cSrcweir; PPD_PageSize: the default page size to use. If a specific printer does
58cdf0e10cSrcweir;         not support this page size its default is used instead.
59cdf0e10cSrcweir;         possible values: A0, A1, A2, A3, A4, A5, A6, B4, B5, B6,
60cdf0e10cSrcweir;                          Legal, Letter, Executive, Statement, Tabloid,
61cdf0e10cSrcweir;                          Ledger, AnsiC, AnsiD, ARCHA, ARCHB, ARCHC,
62cdf0e10cSrcweir;                          ARCHD, ARCHE, EnvMonarch, EnvC4, EnvC5, EnvC6,
63cdf0e10cSrcweir;                          Env10, EnvC65, Folio
64cdf0e10cSrcweir;         if key is absent the default value is driver specific
65cdf0e10cSrcweir; PPD_PageSize=A4
66cdf0e10cSrcweir
67cdf0e10cSrcweir; Note: the following two key types are in the global section to provide
68cdf0e10cSrcweir;         defaults for newly added printers.
69cdf0e10cSrcweir; PerformFontSubstitution: wether to replace downloadable fonts
70cdf0e10cSrcweir;         with resident fonts or not
71cdf0e10cSrcweirPerformFontSubstitution=false
72cdf0e10cSrcweir
73cdf0e10cSrcweir; SubstFont_<downloadable font>: the resident font to replace
74cdf0e10cSrcweir;         <downloadable font> if PerformFontSubstitution is true
75cdf0e10cSrcweirSubstFont_Helmet=Helvetica
76cdf0e10cSrcweirSubstFont_Albany=Helvetica
77cdf0e10cSrcweirSubstFont_Courier New=Courier
78cdf0e10cSrcweirSubstFont_Arial=Helvetica
79cdf0e10cSrcweirSubstFont_Times New Roman=Times
80cdf0e10cSrcweirSubstFont_Thorndale=Times
81cdf0e10cSrcweirSubstFont_Timmons=Times
82cdf0e10cSrcweirSubstFont_Cumberland=Courier
83cdf0e10cSrcweir
84cdf0e10cSrcweir
85cdf0e10cSrcweir[Generic Printer]
86cdf0e10cSrcweir; for every printer a group with at least the keys
87cdf0e10cSrcweir; "Printer" and "Command" is required
88cdf0e10cSrcweir
89cdf0e10cSrcweir; Printer: contains the base name of the PPD and the Printer name separated by /
90cdf0e10cSrcweirPrinter=SGENPRT/Generic Printer
91cdf0e10cSrcweir
92cdf0e10cSrcweir; DefaultPrinter: marks the default printer
93cdf0e10cSrcweirDefaultPrinter=1
94cdf0e10cSrcweir
95cdf0e10cSrcweir; Location: a user readable string that will be shown in the print dialog
96cdf0e10cSrcweirLocation=
97cdf0e10cSrcweir
98cdf0e10cSrcweir; Comment:  a user readable string that will be shown in the print dialog
99cdf0e10cSrcweirComment=
100cdf0e10cSrcweir
101cdf0e10cSrcweir; Command: a command line that accepts PostScript as standard input (pipe)
102cdf0e10cSrcweir; note: a shell will be started for the command
103cdf0e10cSrcweirCommand=
104cdf0e10cSrcweir
105cdf0e10cSrcweir; QuickCommand: a command line that accepts PostScript as standard input (pipe)
106cdf0e10cSrcweir; this command line will be used instead of the command line given in the
107cdf0e10cSrcweir; "Command" key, if the user presses the direct print button. In this case
108cdf0e10cSrcweir; no print dialog should be shown, neither form the printing applcation nor
109cdf0e10cSrcweir; from the command line (example "kprinter --nodialog --stdin")
110cdf0e10cSrcweir; note: a shell will be started for the command
111cdf0e10cSrcweir;QuickCommand=
112cdf0e10cSrcweir
113cdf0e10cSrcweir; Features: a string containing additional comma separated properties of a printer
114cdf0e10cSrcweir; currently valid properties:
115cdf0e10cSrcweir; fax for a Fax printer queue
116cdf0e10cSrcweir; pdf=<dir> for a PDF printer where <dir> is the base directory for output files
117cdf0e10cSrcweir; external_dialog to notify that the print command of a printer will show a dialog
118cdf0e10cSrcweir;                 and therefore the application should not show its own dialog.
119cdf0e10cSrcweir;Features=
120cdf0e10cSrcweir
121cdf0e10cSrcweir; PerformFontSubstitution: wether to replace downloadable fonts
122cdf0e10cSrcweir;         with resident fonts or not
123cdf0e10cSrcweirPerformFontSubstitution=false
124cdf0e10cSrcweir
125cdf0e10cSrcweir; SubstFont_<downloadable font>: the resident font to replace
126cdf0e10cSrcweir;         <downloadable font> if PerformFontSubstitution is true
127cdf0e10cSrcweirSubstFont_Helmet=Helvetica
128cdf0e10cSrcweirSubstFont_Albany=Helvetica
129cdf0e10cSrcweirSubstFont_Courier New=Courier
130cdf0e10cSrcweirSubstFont_Arial=Helvetica
131cdf0e10cSrcweirSubstFont_Times New Roman=Times
132cdf0e10cSrcweirSubstFont_Thorndale=Times
133cdf0e10cSrcweirSubstFont_Timmons=Times
134cdf0e10cSrcweirSubstFont_Cumberland=Courier
135