blob: 15b1005b61f6fe16bf56f58eec3fa978cd0e32f4 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
|
<!DOCTYPE kprintfilter>
<kprintfilter name="ps2pdf" >
<filtercommand data="gs -q -dSAFER -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=%filteroutput -sPAPERSIZE=%psl %filterargs -c .setpdfwrite -f %filterinput" />
<filterargs name="__root__" description="ps2pdf" >
<filtergroup name="general" description="General" >
<filterarg format="-dPDFSETTINGS=%value" type="list" name="targetdevice" default="/default" description="Target device" >
<value name="/default" description="Default" />
<value name="/screen" description="Screen" />
<value name="/printer" description="Printer" />
<value name="/prepress" description="Prepress" />
</filterarg>
<filterarg format="-dCompatibilityLevel=%value" type="list" name="compat" default="gs-def" description="Compatibility Level" >
<value name="gs-def" description="GhostScript Default Setting" />
<value name="1.2" description="Level 1.2" />
<value name="1.3" description="Level 1.3" />
</filterarg>
<filterarg format="-dAutoRotatePages=%value" type="list" name="autorotate" default="/PageByPage" description="Auto rotate pages" >
<value name="/None" description="Disabled" />
<value name="/PageByPage" description="Page by Page" />
<value name="/All" description="Dominant orientation" />
</filterarg>
</filtergroup>
<filtergroup name="image" description="Image Options" >
<filtergroup name="colorimage" description="Color Images" >
<filtergroup name="colorcompress" description="Compression" >
<filterarg format="-dEncodeColorImages=%value" type="bool" name="colorencode" default="true" description="Encode color images" >
<value name="true" description="Enabled" />
<value name="false" description="Disabled" />
</filterarg>
<filterarg format="-dAutoFilterColorImages=%value" type="bool" name="colorautofilt" default="true" description="Auto encode color images" >
<value name="true" description="Enabled" />
<value name="false" description="Disabled" />
</filterarg>
<filterarg format="-dColorImageFilter=%value" type="bool" name="colorencodetype" default="/DCTEncode" description="Manual color image encoding method" >
<value name="/FlateEncode" description="Flate compression" />
<value name="/DCTEncode" description="JPEG compression" />
</filterarg>
</filtergroup>
<filterarg format="-dDownsampleColorImages=%value" type="bool" name="coldownsampl" default="false" description="Downsample color images" >
<value name="true" description="Enabled" />
<value name="false" description="Disabled" />
</filterarg>
<filterarg format="-dColorImageResolution=%value" type="int" min="9" max="2400" name="colimageres" default="300" description="Maximum color image resolution" />
<filterarg format="-sColorImageDownsampleType=%value" type="list" name="colsampltype" default="Subsample" description="Color image downsampling method" >
<value name="Subsample" description="Sub-sampling" />
<value name="Average" description="Averaging" />
<value name="Bicubic" description="Bicubic interpolation" />
</filterarg>
<filterarg format="-dColorImageDepth=%value" type="list" name="coldepth" default="-1" description="Color image depth" >
<value name="-1" description="Use the depth of the original" />
<value name="1" description="1" />
<value name="2" description="2" />
<value name="4" description="4" />
<value name="8" description="8" />
</filterarg>
</filtergroup>
<filtergroup name="grayimage" description="Grayscale Images" >
<filtergroup name="graycompress" description="Compression" >
<filterarg format="-dEncodeGrayImages=%value" type="bool" name="grayencode" default="true" description="Encode grayscale images" >
<value name="true" description="Enabled" />
<value name="false" description="Disabled" />
</filterarg>
<filterarg format="-dAutoFilterGrayImages=%value" type="bool" name="grayautofilt" default="true" description="Auto encode grayscale images" >
<value name="true" description="Enabled" />
<value name="false" description="Disabled" />
</filterarg>
<filterarg format="-dEncodeGrayImages=%value" type="bool" name="grayencodetype" default="/DCTEncode" description="Manual grayscale image encoding method" >
<value name="/FlateEncode" description="Flate compression" />
<value name="/DCTEncode" description="JPEG compression" />
</filterarg>
</filtergroup>
<filterarg format="-dDownsampleGrayImages=%value" type="bool" name="graydownsampl" default="false" description="Downsample grayscale images" >
<value name="true" description="Enabled" />
<value name="false" description="Disabled" />
</filterarg>
<filterarg format="-dGrayImageResolution=%value" type="int" min="9" max="2400" name="grayimageres" default="300" description="Maximum grayscale image resolution" />
<filterarg format="-sGrayImageDownsampleType=%value" type="list" name="graysampltype" default="Subsample" description="Grayscale image downsampling method" >
<value name="Subsample" description="Sub-sampling" />
<value name="Average" description="Averaging" />
<value name="Bicubic" description="Bicubic interpolation" />
</filterarg>
<filterarg format="-dGrayImageDepth=%value" type="list" name="graydepth" default="-1" description="Grayscale image depth" >
<value name="-1" description="Use the depth of the original" />
<value name="1" description="1" />
<value name="2" description="2" />
<value name="4" description="4" />
<value name="8" description="8" />
</filterarg>
</filtergroup>
<filtergroup name="monoimage" description="Mono Images" >
<filtergroup name="monocompress" description="Compression" >
<filterarg format="-dEncodeMonoImages=%value" type="bool" name="monoencode" default="true" description="Encode mono images" >
<value name="true" description="Enabled" />
<value name="false" description="Disabled" />
</filterarg>
<filterarg format="-dAutoFilterMonoImages=%value" type="bool" name="monoautofilt" default="true" description="Auto encode mono images" >
<value name="true" description="Enabled" />
<value name="false" description="Disabled" />
</filterarg>
<filterarg format="-dEncodeMonoImages=%value" type="bool" name="monoencodetype" default="/CCITTFaxEncode" description="Manual mono image encoding method" >
<value name="/CCITTFaxEncode" description="CCITT compression" />
<value name="/FlateEncode" description="Flate compression" />
</filterarg>
</filtergroup>
<filterarg format="-dDownsampleMonoImages=%value" type="bool" name="downsamplmono" default="false" description="Downsample mono images" >
<value name="true" description="Enabled" />
<value name="false" description="Disabled" />
</filterarg>
<filterarg format="-dMonoImageResolution=%value" type="int" min="0" max="2400" name="monores" default="300" description="Maximum mono image resolution" />
<filterarg format="-sMonoImageDownsampleType=%value" type="list" name="monosampltype" default="Subsample" description="Mono image downsampling method" >
<value name="Subsample" description="Sub-sampling" />
<value name="Average" description="Averaging" />
<value name="Bicubic" description="Bicubic interpolation" />
</filterarg>
<filterarg format="-dMonoImageDepth=%value" type="list" name="monodepth" default="-1" description="Mono image depth" >
<value name="-1" description="Use the depth of the original" />
<value name="1" description="1" />
<value name="2" description="2" />
<value name="4" description="4" />
<value name="8" description="8" />
</filterarg>
</filtergroup>
</filtergroup>
<filtergroup name="fonts" description="Fonts" >
<filterarg format="-dEmbedAllFonts=%value" type="bool" name="embedfonts" default="true" description="Embed all fonts" >
<value name="true" description="Enabled" />
<value name="false" description="Disabled" />
</filterarg>
<filterarg format="-dSubsetFonts=%value" type="bool" name="fontsubsets" default="true" description="Embed font subsets" >
<value name="true" description="Embed subset" />
<value name="false" description="Embed complete font" />
</filterarg>
<filterarg format="-dMaxSubsetPct=%value" type="int" min="0" max="100" name="fontsubsetpct" default="100" description="Maximum font subset percentage" />
<filterarg format="-r%value" type="list" name="resol" default="300x300" description="Bitmap font resolution" >
<value name="72x72" description="72 dpi" />
<value name="144x144" description="144 dpi" />
<value name="300x300" description="300 dpi" />
<value name="600x600" description="600 dpi" />
<value name="1200x1200" description="1200 dpi" />
<value name="2400x2400" description="2400 dpi" />
</filterarg>
</filtergroup>
</filterargs>
<filterinput>
<filterarg format="%in" name="file" />
<filterarg format="-" name="pipe" />
</filterinput>
<filteroutput>
<filterarg format="%out" name="file" />
<filterarg format="-" name="pipe" />
</filteroutput>
</kprintfilter>
|