| 1 |
1 DVIPS |
| 2 |
|
| 3 |
! Modified 07-Jul-1996 - EJG |
| 4 |
! Fix description of filter (can write to stdout, but not read from stdin! |
| 5 |
! Change mode description, landscape used with others just gives |
| 6 |
! landscape. So took that out. Removed warning about quotes (not |
| 7 |
! necessary). Added tabloid. |
| 8 |
! Changed qualifier ctrl_d to ctrld to agree with cld file |
| 9 |
! Changed default for inc_com to be noinc_com to agree with dvips |
| 10 |
! Fix header qualifier |
| 11 |
! |
| 12 |
! Added comment about the manual to front and also under the |
| 13 |
! special heading. |
| 14 |
|
| 15 |
The dvips program converts a TEX dvi file into a PostScript file for |
| 16 |
printing or distribution. Seldom has such a seemingly easy programming |
| 17 |
task required so much effort. The dvips program has a number of features |
| 18 |
that set it apart from other PostScript drivers for TEX. The dvips |
| 19 |
driver generates excellent, standard PostScript, that can be included in |
| 20 |
other documents as figures or printed through a variety of spoolers. The |
| 21 |
generated PostScript requires very little printer memory, so very complex |
| 22 |
documents with a lot of fonts can easily be printed even on PostScript |
| 23 |
printers without much memory, such as the original Apple LaserWriter. The |
| 24 |
PostScript output is also compact, requiring less disk space to store and |
| 25 |
making it feasible as a transfer format. Missing fonts can be automatically |
| 26 |
generated if METAFONT exists on the system, or fonts can be converted from |
| 27 |
gf to pk format on demand. If a font cannot be generated, a scaled |
| 28 |
version of the same font at a different size can be used instead, although |
| 29 |
dvips will complain loudly about the poor aesthetics of the resulting |
| 30 |
output. |
| 31 |
|
| 32 |
A manual for dvips may be printed with the command: |
| 33 |
|
| 34 |
printps tex_root:[local]dvips.ps |
| 35 |
|
| 36 |
In this manual, the command line options are for the unix variant |
| 37 |
of dvips. Our version has the qualifiers as detailed in this help |
| 38 |
file. Also, some of the latest options are not in the manual (in |
| 39 |
particular, the /hyperps option). |
| 40 |
|
| 41 |
usage: |
| 42 |
DVIPS filename[.dvi] |
| 43 |
|
| 44 |
2 /COPIES |
| 45 |
/COPIES=num |
| 46 |
|
| 47 |
Generate num copies of every page. Default is 1. |
| 48 |
(For collated copies, see the /COLLATE option.) |
| 49 |
|
| 50 |
2 /DEBUG |
| 51 |
/DEBUG=num |
| 52 |
|
| 53 |
Set the debug flags. This is intended only for |
| 54 |
emergencies or for unusual fact-finding expeditions; it |
| 55 |
will work only if dvips has been compiled with the |
| 56 |
DEBUG option. Use |
| 57 |
|
| 58 |
num=1 for special |
| 59 |
|
| 60 |
num=2 for paths |
| 61 |
|
| 62 |
num=4 for fonts |
| 63 |
|
| 64 |
num=8 for pages |
| 65 |
|
| 66 |
num=16 for headers |
| 67 |
|
| 68 |
num=32 for font compression |
| 69 |
|
| 70 |
num=64 for files |
| 71 |
|
| 72 |
num=128 for memory allocation |
| 73 |
|
| 74 |
Use a value of -1 for maximum output. |
| 75 |
|
| 76 |
2 /MAXDRIFT |
| 77 |
/MAXDRIFT=num |
| 78 |
|
| 79 |
Make sure that each character is placed at most this many pixels |
| 80 |
from its `true' resolution-independent position on the page. The |
| 81 |
default value of this parameter is resolution dependent (it is the |
| 82 |
number of entries in the list [100, 200, 300, 400, 500, 600, 800, |
| 83 |
1000, 1200, 1600, 2000, 2400, 2800, 3200, : : :] that are less |
| 84 |
than or equal to the resolution in dots per inch). Allowing |
| 85 |
individual characters to `drift' from their correctly rounded |
| 86 |
positions by a few pixels, while regaining the true position at |
| 87 |
the beginning of each new word, improves the spacing of letters in |
| 88 |
words. |
| 89 |
|
| 90 |
2 /FILTER |
| 91 |
|
| 92 |
Run as a filter writing the output to the standard output. |
| 93 |
(The input must still be specified as the argument.) |
| 94 |
|
| 95 |
2 /LAST |
| 96 |
/LAST=num |
| 97 |
|
| 98 |
The last page printed will be the first one numbered num. Default |
| 99 |
is the last page in the document. |
| 100 |
|
| 101 |
|
| 102 |
2 /MANUAL |
| 103 |
|
| 104 |
Specify manual feed for printer. |
| 105 |
|
| 106 |
2 /NUMBER |
| 107 |
/NUMBER=num |
| 108 |
At most num pages will be printed. Default is 100000. |
| 109 |
|
| 110 |
2 /OUTPUT |
| 111 |
/OUTPUT=filename.ext |
| 112 |
|
| 113 |
The output will be sent to file name. If no file name is given, |
| 114 |
the default name is file.ps where the dvi file was called |
| 115 |
file.dvi . |
| 116 |
|
| 117 |
2 /START |
| 118 |
/START=num |
| 119 |
|
| 120 |
The first page printed will be the first one numbered |
| 121 |
num. Default is the first page in the document. |
| 122 |
|
| 123 |
2 /QUIET |
| 124 |
|
| 125 |
Run in quiet mode. Don't chatter about pages converted, |
| 126 |
etc.; report nothing but errors to standard error. |
| 127 |
|
| 128 |
2 /REVERSE |
| 129 |
|
| 130 |
Stack pages in reverse order. Normally, page 1 will be printed |
| 131 |
first. |
| 132 |
|
| 133 |
2 /SAV_RES |
| 134 |
|
| 135 |
Causes the entire global output to be enclosed in a save/restore |
| 136 |
pair. This causes the file to not be truly conformant, and is |
| 137 |
thus not recommended, but is useful if you are driving the printer |
| 138 |
directly and don't care too much about the portability of the |
| 139 |
output. |
| 140 |
|
| 141 |
2 /MODE |
| 142 |
/MODE=modename |
| 143 |
|
| 144 |
This sets the paper mode to modename. Currently, the only modes |
| 145 |
allowable are |
| 146 |
|
| 147 |
"letter", which selects an 8.5 by 11 inch page, |
| 148 |
"a3", which selects an a3 sized page, |
| 149 |
"a4" , which selects an a4 sized page, |
| 150 |
"legal", which selects an 8.5 by 14 inch page, |
| 151 |
"ledger", which selects an 11 by 17 inch page, and |
| 152 |
"tabloid", which selects a 17 by 11 inch page, and |
| 153 |
"landscape", which rotates a letter size document by 90 degrees. |
| 154 |
|
| 155 |
|
| 156 |
The default mode is "letter". The upper left corner of each page in |
| 157 |
the dvi file is placed one inch from the left and one inch from the top. |
| 158 |
|
| 159 |
2 /MAGNIFICATION |
| 160 |
/MAGNIFICATION=num |
| 161 |
|
| 162 |
Set the magnification ratio to num/1000. Overrides the |
| 163 |
magnification specified in the dvi file. Must be between 10 and |
| 164 |
100000. |
| 165 |
|
| 166 |
2 /COLLATE |
| 167 |
/COLLATE=num |
| 168 |
|
| 169 |
Create num copies, but collated (by replicating the data in the |
| 170 |
PostScript file). Slower than the /COPIES option, but easier on |
| 171 |
the hands, and faster than resubmitting the same PostScript file |
| 172 |
multiple times. |
| 173 |
|
| 174 |
2 /DPI |
| 175 |
/DPI=num |
| 176 |
|
| 177 |
Set the resolution in dpi (dots per inch) to num. This |
| 178 |
affects the choice of bitmap fonts that are loaded and also the |
| 179 |
positioning of letters in resident PostScript fonts. Must be |
| 180 |
between 10 and 10000. This affects both the horizontal and |
| 181 |
vertical resolution. If a high resolution (something greater than |
| 182 |
400 dpi, say) is selected, the /COMPRESS flag should probably also |
| 183 |
be used. |
| 184 |
|
| 185 |
2 /CTRLD |
| 186 |
|
| 187 |
Causes Control-D (ASCII code 4) to be appended as the |
| 188 |
very last character of the PostScript file. This is useful |
| 189 |
when dvips is driving the printer directly instead of working |
| 190 |
through a spooler, as is common on extremely small systems. |
| 191 |
Otherwise, it is not recommended. |
| 192 |
|
| 193 |
2 /INC_COM |
| 194 |
/INC_COM |
| 195 |
/NOINC_COM (default) |
| 196 |
|
| 197 |
/NOINC_COM option causes comments in included PostScript graphics, |
| 198 |
font files, and headers to be removed. This is sometimes |
| 199 |
necessary to get around bugs in spoolers or PostScript |
| 200 |
post-processing programs. Specifically, the %%Page comments, |
| 201 |
when left in, often cause difficulties. Use of this flag can |
| 202 |
cause some included graphics to fail, since the PostScript header |
| 203 |
macros from some software packages read portions of the |
| 204 |
input stream line by line, searching for a particular comment. |
| 205 |
|
| 206 |
2 /COMMENT |
| 207 |
/COMMENT (default) |
| 208 |
/NOCOMMENT |
| 209 |
|
| 210 |
/NOCOMMENT turns off structured comments; this might be necessary |
| 211 |
on some systems that try to interpret PostScript comments in weird |
| 212 |
ways, or on some PostScript printers. Old versions of Transcript |
| 213 |
in particular cannot handle modern Encapsulated PostScript. |
| 214 |
|
| 215 |
2 /PRINTER |
| 216 |
/PRINTER=printername |
| 217 |
|
| 218 |
Sets up the output for the appropriate printer. This is |
| 219 |
implemented by reading in config.printername , which can set |
| 220 |
various parameters such as the font paths and any other defaults |
| 221 |
for that printer only. It is recommended that all standard |
| 222 |
defaults go in the one master config.ps file and only things that |
| 223 |
vary printer to printer go in the config.printername files. Note |
| 224 |
that config.ps is read before config.printername. In |
| 225 |
addition, another file called "/.dvipsrc is searched for |
| 226 |
immediately after config.ps; this file is intended for user |
| 227 |
defaults. If no /PRINTER command is given, the environment |
| 228 |
variable PRINTER is checked. If that variable exists, and a |
| 229 |
corresponding configuration file exists, that configuration file |
| 230 |
is read in. |
| 231 |
|
| 232 |
2 /HEADER |
| 233 |
/HEADER=(file1,file2,...) |
| 234 |
/NOHEADER |
| 235 |
|
| 236 |
Prepend file1, file2, ... as additional header files. |
| 237 |
This header file gets added to the PostScript userdict. |
| 238 |
With /NOHEADER, suppress all header output. |
| 239 |
|
| 240 |
|
| 241 |
2 /VM_SAVE |
| 242 |
/VM_SAVE (default) |
| 243 |
/NOVM_SAVE |
| 244 |
|
| 245 |
/NOVM_SAVE disables a PostScript virtual memory saving |
| 246 |
optimization that stores the character metric information in the |
| 247 |
same string that is used to store the bitmap information. This |
| 248 |
is only necessary when driving the Xerox 4045 PostScript |
| 249 |
interpreter, and it is caused by a bug in that interpreter that |
| 250 |
results in `garbage' on the bottom of each character. Not |
| 251 |
recommended unless you must drive this printer. |
| 252 |
|
| 253 |
2 /H_DPI |
| 254 |
/H_DPI=num |
| 255 |
|
| 256 |
Set the horizontal resolution in dots per inch to num. |
| 257 |
|
| 258 |
|
| 259 |
2 /V_DPI |
| 260 |
/V_DPI=num |
| 261 |
|
| 262 |
Set the vertical resolution in dots per inch to num. |
| 263 |
|
| 264 |
2 /COMPRESS |
| 265 |
|
| 266 |
Causes bitmapped fonts to be compressed before they are |
| 267 |
downloaded, thereby reducing the size of the PostScript |
| 268 |
font-downloading information. Especially useful at high |
| 269 |
resolutions or when very large fonts are used. Will slow down |
| 270 |
printing somewhat, especially on early 68000-based PostScript |
| 271 |
printers. |
| 272 |
|
| 273 |
2 /ABSOLUTE |
| 274 |
|
| 275 |
Makes references to page numbers absolute (rather than TeX |
| 276 |
page numbers). |
| 277 |
|
| 278 |
2 /EPSF |
| 279 |
/EPSF |
| 280 |
/NOEPSF (default) |
| 281 |
|
| 282 |
/EPSF makes dvips attempt to generate an EPSF file with a |
| 283 |
tight bounding box. This only works on one-page files, and it |
| 284 |
only looks at marks made by characters and rules, not by any |
| 285 |
included graphics. In addition, it gets the glyph metrics |
| 286 |
from the tfm file, so characters that lie outside their |
| 287 |
enclosing tfm box may confuse it. In addition, the bounding |
| 288 |
box might be a bit too loose if the character glyph has |
| 289 |
significant left or right side bearings. Nonetheless, this |
| 290 |
option works well for creating small EPSF files for equations |
| 291 |
or tables or the like. (Note, of course, that dvips output is |
| 292 |
resolution dependent and thus does not make very good EPSF |
| 293 |
files, especially if the images are to be scaled; use these |
| 294 |
EPSF files with a great deal of care.) |
| 295 |
|
| 296 |
|
| 297 |
2 /PRESCAN |
| 298 |
/PRESCAN |
| 299 |
/NOPRESCAN (default) |
| 300 |
|
| 301 |
Conserve memory by making three passes over the .dvi file |
| 302 |
instead of two and only loading those characters actually |
| 303 |
used. Generally only useful on machines with a very limited |
| 304 |
amount of memory, like some PCs. |
| 305 |
|
| 306 |
2 /PAGECOPIES |
| 307 |
/PAGECOPIES=num (default=1) |
| 308 |
|
| 309 |
Number of times to print each page. Executes the postscript |
| 310 |
for each page this number of times (unlike /COPIES which |
| 311 |
executes the postscript once and prints multiple times.) |
| 312 |
|
| 313 |
2 /SEPARATE |
| 314 |
/SEPARATE |
| 315 |
/NOSEPARATE (default) |
| 316 |
|
| 317 |
Make each section be a separate file. Under certain |
| 318 |
circumstances, dvips will split the document up into |
| 319 |
`sections' to be processed independently; this is most often |
| 320 |
done for memory reasons. Using this option tells dvips to |
| 321 |
place each section into a separate file; the new file names |
| 322 |
are created replacing the suffix of the supplied output file |
| 323 |
name by a three-digit sequence number. This option is most |
| 324 |
often used in conjunction with the /SEC_SIZE option which |
| 325 |
sets the maximum section length in pages. For instance, some |
| 326 |
phototypesetters cannot print more than ten or so consecutive |
| 327 |
pages before running out of steam; these options can be used |
| 328 |
to automatically split a book into ten-page sections, each to |
| 329 |
its own file. |
| 330 |
|
| 331 |
2 /CROPMARKS |
| 332 |
/CROPMARKS |
| 333 |
/NOCROPMARKS (default) |
| 334 |
|
| 335 |
Print crop marks. This option increases the paper size |
| 336 |
(which should be specified, either with a paper size special |
| 337 |
or with the /PSIZE option) by a half inch in each dimension. |
| 338 |
It translates each page by a quarter inch and draws |
| 339 |
cross-style crop marks. It is mostly useful with typesetters |
| 340 |
that can set the page size automatically. |
| 341 |
|
| 342 |
|
| 343 |
2 /SEC_SIZE |
| 344 |
/SEC_SIZE=number |
| 345 |
|
| 346 |
Set the maximum number of pages in each `section'. This |
| 347 |
option is most commonly used with the /SEPARATE option; see |
| 348 |
that documentation above for more information. |
| 349 |
|
| 350 |
|
| 351 |
2 /HELP |
| 352 |
/HELP |
| 353 |
|
| 354 |
Given with a dummy file name, causes dvips to output a one |
| 355 |
page listing of options in unix form. Not very useful! |
| 356 |
|
| 357 |
|
| 358 |
|
| 359 |
2 /MAKEFONT |
| 360 |
/MAKEFONT (default) |
| 361 |
/NOMAKEFONT |
| 362 |
|
| 363 |
The /NOMAKEFONT option turns off the automatic font |
| 364 |
generation facility. If any fonts are missing, commands to |
| 365 |
generate the fonts are appended to the file missfont.log in |
| 366 |
the current directory; this file can then be executed and |
| 367 |
deleted to create the missing fonts. |
| 368 |
|
| 369 |
2 /PSIZE |
| 370 |
/PSIZE="dim,dim" |
| 371 |
|
| 372 |
Set the paper size to the given pair of dimensions. This |
| 373 |
option takes its arguments in the same syntax as the |
| 374 |
papersize special, for example 8.5in,11in. It overrides any |
| 375 |
paper size special in the dvi file. The dimensions must |
| 376 |
resolve to a papersize specified in the configuration files. |
| 377 |
|
| 378 |
|
| 379 |
2 /POFFSET |
| 380 |
/POFFSET="dim,dim" |
| 381 |
|
| 382 |
Move the origin by a certain amount. The offset is a |
| 383 |
comma-separated pair of dimensions, such as .1in,-.3cm (in |
| 384 |
the same syntax used in the papersize special). The origin |
| 385 |
of the page is shifted from the default position (of one inch |
| 386 |
down, one inch to the right from the upper left corner of the |
| 387 |
paper) by this amount. |
| 388 |
|
| 389 |
|
| 390 |
2 /SECURE |
| 391 |
/SECURE |
| 392 |
/NOSECURE (default) |
| 393 |
|
| 394 |
With the /SECURE option, dvips will not attempt to open pipes |
| 395 |
or run commands (such as commands to make fonts). |
| 396 |
|
| 397 |
2 /ODDPAGES |
| 398 |
/ODDPAGES |
| 399 |
/NOODDPAGES (default) |
| 400 |
|
| 401 |
Print only odd pages (TeX pages, not sequence pages). |
| 402 |
|
| 403 |
2 /EVENPAGES |
| 404 |
/EVENPAGES |
| 405 |
/NOEVENPAGES (default) |
| 406 |
|
| 407 |
Print only even pages (TeX pages, not sequence pages). |
| 408 |
|
| 409 |
2 /DOWNLOADPS |
| 410 |
/DOWNLOADPS |
| 411 |
/NODOWNLOADPS (default) |
| 412 |
|
| 413 |
Downloadable postscript fonts are set in PK (compressed |
| 414 |
bitmap) format. |
| 415 |
|
| 416 |
2 /HYPERPS |
| 417 |
/HYPERPS |
| 418 |
/NOHYPERPS (default) |
| 419 |
|
| 420 |
Outputs \specials containing hyperlinks to the output file as |
| 421 |
pdf marks embedded in postscript comments. These can then be |
| 422 |
turned into hyperlinks with Adobe Distiller and viewed with |
| 423 |
Adobe Acrobat. |
| 424 |
|
| 425 |
2 Specials |
| 426 |
|
| 427 |
The specials are described in the manual which may be printed |
| 428 |
with the command |
| 429 |
|
| 430 |
printps tex_root:[local]dvips.ps |
| 431 |
|
| 432 |
In this manual, the command line options are for the unix |
| 433 |
variant of dvips. Our version has the qualifiers as detailed |
| 434 |
in this help file. Also, some of the latest options are not |
| 435 |
in the manual (in particular, the /hyperps option). |