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 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285
|
<refentry id="xpstops" lang="en">
<refmeta>
<refentrytitle>xpstops</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class="manual">XPS Tools</refmiscinfo>
</refmeta>
<refnamediv>
<refname>xpstops</refname>
<refpurpose>XPS to PostScript converter</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>xpstops</command>
<arg choice="opt" rep="repeat"><replaceable>OPTION</replaceable></arg>
<arg choice="plain">FILE</arg>
<arg choice="opt"><replaceable>OUTPUT FILE</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>Description</title>
<para>
<command>xpstops</command> converts XPS documents to PostScript format.
<command>xpstops</command> reads the XPS file, <replaceable>FILE</replaceable>,
and writes a PostScript file, <replaceable>OUTPUT FILE</replaceable>. If
<replaceable>OUTPUT FILE</replaceable> is not specified the output
filename will be derived from the <replaceable>FILE</replaceable>
filename.
</para>
</refsect1>
<refsect1>
<title>Options</title>
<variablelist>
<varlistentry>
<term><option>-?</option>, <option>--help</option></term>
<listitem>
<para>
Show help options.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-d</option> <replaceable>DOCUMENT</replaceable>, <option>--document</option>=<replaceable>DOCUMENT</replaceable></term>
<listitem>
<para>
The document inside the XPS file to convert. By default, the
first document of the XPS file is used.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-f</option> <replaceable>PAGE</replaceable>, <option>--first</option>=<replaceable>PAGE</replaceable></term>
<listitem>
<para>
The first page to convert.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-l</option> <replaceable>PAGE</replaceable>, <option>--last</option>=<replaceable>PAGE</replaceable></term>
<listitem>
<para>
The last page to convert.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-o</option>, <option>--odd</option></term>
<listitem>
<para>
Convert only odd pages.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-e</option>, <option>--even</option></term>
<listitem>
<para>
Convert only even pages.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-r</option> <replaceable>RESOLUTION</replaceable>, <option>--resolution</option>=<replaceable>RESOLUTION</replaceable></term>
<listitem>
<para>
Horizontal and vertical resolution in PPI (Pixels Per Inch). The default is 150 PPI.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--rx</option>=<replaceable>RESOLUTION</replaceable></term>
<listitem>
<para>
Horizontal resolution in PPI (Pixels Per Inch). The default is 150 PPI.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--ry</option>=<replaceable>RESOLUTION</replaceable></term>
<listitem>
<para>
Vertical resolution in PPI (Pixels Per Inch). The default is 150 PPI.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-x</option> <replaceable>X</replaceable>, <option>--crop-x</option>=<replaceable>X</replaceable></term>
<listitem>
<para>
The x-coordinate of the crop area top left corner.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-y</option> <replaceable>Y</replaceable>, <option>--crop-y</option>=<replaceable>Y</replaceable></term>
<listitem>
<para>
The y-coordinate of the crop area top left corner.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-w</option> <replaceable>WIDTH</replaceable>, <option>--crop-width</option>=<replaceable>WIDTH</replaceable></term>
<listitem>
<para>
The width of crop area.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-h</option> <replaceable>HEIGHT</replaceable>, <option>--crop-height</option>=<replaceable>HEIGHT</replaceable></term>
<listitem>
<para>
The height of crop area.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--level2</option></term>
<listitem>
<para>
Generate Level 2 PostScript. Level 2 supports color images and image compression.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--level3</option></term>
<listitem>
<para>
Generate Level 3 PostScript. This enables all Level 2 features plus shading patterns
and masked images. This is the default setting.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--eps</option></term>
<listitem>
<para>
Generate an Encapsulated PostScript (EPS) file.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--paper</option>=<replaceable>PAPER</replaceable></term>
<listitem>
<para>
Set the paper size to one of "A0", "A1", "A2", "A3", "A4", "A5",
"B4", "B5", "Letter", "Tabloid", "Ledger", "Legal", "Statement",
"Executive", "Folio", "Quarto", "10x14".
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--duplex</option></term>
<listitem>
<para>
Adds the %%IncludeFeature: *Duplex DuplexNoTumble DSC comment to the PostScript file.
This tells the print manager to enable duplexing.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--paper-width</option>=<replaceable>WIDTH</replaceable></term>
<listitem>
<para>
The paper width.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--paper-height</option>=<replaceable>HEIGHT</replaceable></term>
<listitem>
<para>
The paper height.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--expand</option></term>
<listitem>
<para>
Expand pages smaller than the paper to fill the paper.
By default, pages are not scaled.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--no-shrink</option></term>
<listitem>
<para>
Don't scale pages which are larger than the paper.
By default, pages larger than the paper are shrunk to fit.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--no-center</option></term>
<listitem>
<para>
Don't center on the paper pages smaller than the paper (after any scaling).
By default, pages smaller than the paper are aligned to the lower-left corner.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>Bugs</title>
<para>
Please send bug reports to
<ulink url="https://bugzilla.gnome.org/enter_bug.cgi?product=libgxps">https://bugzilla.gnome.org/enter_bug.cgi?product=libgxps</ulink>.
</para>
</refsect1>
<refsect1>
<title>See also</title>
<para>
<citerefentry>
<refentrytitle>xpstojpeg</refentrytitle><manvolnum>1</manvolnum>
</citerefentry>
<citerefentry>
<refentrytitle>xpstopng</refentrytitle><manvolnum>1</manvolnum>
</citerefentry>
<citerefentry>
<refentrytitle>xpstopdf</refentrytitle><manvolnum>1</manvolnum>
</citerefentry>
<citerefentry>
<refentrytitle>xpstosvg</refentrytitle><manvolnum>1</manvolnum>
</citerefentry>
</para>
</refsect1>
</refentry>
|