{
    "mode": "man",
    "parameter": "dvips",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/dvips/1/json",
    "generated": "2026-06-02T23:35:52Z",
    "synopsis": "dvips [OPTIONS] file[.dvi]",
    "sections": {
        "NAME": {
            "content": "dvips - convert a TeX DVI file to PostScript\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "dvips [OPTIONS] file[.dvi]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "THIS MAN PAGE IS OBSOLETE!  See the Texinfo documentation instead.  You can read it either in\nEmacs or with the standalone info program which comes with the GNU  texinfo  distribution  as\nftp.gnu.org:pub/gnu/texinfo/texinfo*.tar.gz.\n\nThe  program  dvips  takes  a DVI file file[.dvi] produced by TeX (or by some other processor\nsuch as GFtoDVI) and converts it to PostScript, sending the output to a file or directly to a\nprinter.  The DVI file may be specified without the .dvi extension.  Fonts used may either be\nresident in the printer or defined as bitmaps in PK files,  or  a  `virtual'  combination  of\nboth.   If the mktexpk program is installed, dvips will automatically invoke METAFONT to gen‐\nerate fonts that don't already exist.\n\nFor more information, see the Texinfo manual dvips.texi, which should be installed  somewhere\non your system, hopefully accessible through the standard Info tree.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-a",
                    "content": "loading those characters actually used.  Generally only useful on machines with a very\nlimited amount of memory, like some PCs.\n",
                    "flag": "-a"
                },
                {
                    "name": "-A",
                    "content": "",
                    "flag": "-A"
                },
                {
                    "name": "-b",
                    "content": "#numcopies option.  This can be useful in conjunction with a header file setting \\bop-\nhook to do color separations or other neat tricks.\n",
                    "flag": "-b"
                },
                {
                    "name": "-B",
                    "content": "",
                    "flag": "-B"
                },
                {
                    "name": "-c",
                    "content": "option below.)\n",
                    "flag": "-c"
                },
                {
                    "name": "-C",
                    "content": "Slower  than  the -c option, but easier on the hands, and faster than resubmitting the\nsame PostScript file multiple times.\n",
                    "flag": "-C"
                },
                {
                    "name": "-d",
                    "content": "ing  expeditions;  it will work only if dvips has been compiled with the DEBUG option.\nIf nonzero, prints additional information on standard error.  For maximum information,\nyou can use `-1'.  See the Dvips Texinfo manual for more details.\n",
                    "flag": "-d"
                },
                {
                    "name": "-D",
                    "content": "fonts that are loaded and also the  positioning  of  letters  in  resident  PostScript\nfonts.  Must  be  between 10 and 10000.  This affects both the horizontal and vertical\nresolution.  If a high resolution (something greater than 400 dpi, say)  is  selected,\nthe -Z flag should probably also be used.\n",
                    "flag": "-D"
                },
                {
                    "name": "-e",
                    "content": "lution-independent position on the page. The default value of this parameter is  reso‐\nlution  dependent.   Allowing  individual  characters  to `drift' from their correctly\nrounded positions by a few pixels, while regaining the true position at the  beginning\nof each new word, improves the spacing of letters in words.\n",
                    "flag": "-e"
                },
                {
                    "name": "-E",
                    "content": "works on one-page files, and it only looks at marks made by characters and rules,  not\nby  any  included graphics.  In addition, it gets the glyph metrics from the tfm file,\nso characters that lie outside their enclosing tfm box may confuse it.   In  addition,\nthe  bounding box might be a bit too loose if the character glyph has significant left\nor right side bearings.  Nonetheless, this option works well for creating  small  EPSF\nfiles  for  equations  or  tables or the like.  (Note, of course, that dvips output is\nresolution dependent and thus does not make very good EPSF files,  especially  if  the\nimages are to be scaled; use these EPSF files with a great deal of care.)\n",
                    "flag": "-E"
                },
                {
                    "name": "-f",
                    "content": "standard output.  The standard input must be seekable, so it cannot be a pipe.  If you\nmust  use a pipe, write a shell script that copies the pipe output to a temporary file\nand then points dvips at this file.  This option also disables the  automatic  reading\nof  the PRINTER environment variable, and turns off the automatic sending of control D\nif it was turned on with the -F option or in the configuration file; use -F after this\noption if you want both.\n",
                    "flag": "-f"
                },
                {
                    "name": "-F",
                    "content": "Script file.  This is useful when dvips is driving the  printer  directly  instead  of\nworking  through a spooler, as is common on extremely small systems.  NOTE! DO NOT USE\nTHIS OPTION!\n",
                    "flag": "-F"
                },
                {
                    "name": "-G",
                    "content": "be useful sometimes.\n",
                    "flag": "-G"
                },
                {
                    "name": "-h name",
                    "content": "Prepend  file  name  as an additional header file. (However, if the name is simply `-'\nsuppress all header files from the output.)  This header file gets added to the  Post‐\nScript userdict.\n",
                    "flag": "-h"
                },
                {
                    "name": "-i",
                    "content": "the document up into `sections' to be processed independently; this is most often done\nfor  memory reasons.  Using this option tells dvips to place each section into a sepa‐\nrate file; the new file names are created replacing the suffix of the supplied  output\nfile  name  by  a three-digit sequence number.  This option is most often used in con‐\njunction with the -S option which sets the maximum section length in pages.   For  in‐\nstance,  some  phototypesetters cannot print more than ten or so consecutive pages be‐\nfore running out of steam; these options can be used to  automatically  split  a  book\ninto ten-page sections, each to its own file.\n",
                    "flag": "-i"
                },
                {
                    "name": "-j",
                    "content": "release.  Some debugging flags trace this operation.  You  can  also  control  partial\ndownloading on a per-font basis, via the psfonts.map file.\n",
                    "flag": "-j"
                },
                {
                    "name": "-k",
                    "content": "either with a paper size special or with the -T option) by a half inch in each  dimen‐\nsion.  It translates each page by a quarter inch and draws cross-style crop marks.  It\nis mostly useful with typesetters that can set the page size automatically.\n",
                    "flag": "-k"
                },
                {
                    "name": "-K",
                    "content": "to  be  removed.   This is sometimes necessary to get around bugs in spoolers or Post‐\nScript post-processing programs.  Specifically, the %%Page comments, when left in, of‐\nten  cause  difficulties.   Use of this flag can cause some included graphics to fail,\nsince the PostScript header macros from some software packages read  portions  of  the\ninput  stream  line by line, searching for a particular comment.  This option has been\nturned off by default because PostScript previewers and  spoolers  have  been  getting\nbetter.\n",
                    "flag": "-K"
                },
                {
                    "name": "-l",
                    "content": "the document.  If the num is prefixed by an equals sign, then it (and any argument  to\nthe  -p  option)  is treated as a sequence number, rather than a value to compare with\n\\count0 values.  Thus, using -l =9 will end with the ninth page of  the  document,  no\nmatter what the pages are actually numbered.\n",
                    "flag": "-l"
                },
                {
                    "name": "-m",
                    "content": "",
                    "flag": "-m"
                },
                {
                    "name": "-mode mode",
                    "content": "Use  mode  as  the  Metafont device name for path searching and font generation.  This\noverrides any value from configuration files.   With  the  default  paths,  explicitly\nspecifying  the  mode  also  makes  the program assume the fonts are in a subdirectory\nnamed mode.\n"
                },
                {
                    "name": "-M",
                    "content": "to  generate the fonts are appended to the file missfont.log in the current directory;\nthis file can then be executed and deleted to create the missing fonts.\n",
                    "flag": "-M"
                },
                {
                    "name": "-n",
                    "content": "",
                    "flag": "-n"
                },
                {
                    "name": "-N",
                    "content": "terpret  PostScript  comments in weird ways, or on some PostScript printers.  Old ver‐\nsions of TranScript in particular cannot handle modern Encapsulated PostScript.\n",
                    "flag": "-N"
                },
                {
                    "name": "-noomega",
                    "content": "This will disable the use of Omega extensions when interpreting  DVI  files.   By  de‐\nfault, the additional opcodes 129 and 134 are recognized by dvips as Omega or pTeX ex‐\ntensions and interpreted as requests to set 2-byte characters.\n"
                },
                {
                    "name": "-noptex",
                    "content": "This will disable the use of pTeX extensions when interpreting DVI files.  By default,\nthe  additional opcodes 130 and 135 are recognized by dvips as pTeX extensions and in‐\nterpreted as requests to set 3-byte characters, and 255 as request to change the type‐\nsetting direction.\n\nThe  only  drawback is that the virtual font array will (at least temporarily) require\n65536 or more positions instead of the default 256 positions,  i.e.,  the  memory  re‐\nquirements  of  dvips  will  be somewhat larger.  If you find this unacceptable or en‐\ncounter another problem with the Omega or pTeX extensions, you can switch off the pTeX\nextension by using -noptex, or both by using -noomega (but please do send a bug report\nif you find such problems - see the bug address in the AUTHORS section below).\n"
                },
                {
                    "name": "-o name",
                    "content": "The output will be sent to file name If no file name is given (i.e., -o is last on the\ncommand line), the default name is file.ps where the .dvi file was called file.dvi; if\nthis option isn't given, any default in the configuration file is used.  If the  first\ncharacter  of the supplied output file name is an exclamation mark, then the remainder\nwill be used as an argument to popen; thus, specifying !lpr as the  output  file  will\nautomatically  queue  the  file for printing.  This option also disables the automatic\nreading of the PRINTER environment variable, and turns off the  automatic  sending  of\ncontrol  D if it was turned on with the -F option or in the configuration file; use -F\nafter this option if you want both.\n",
                    "flag": "-o"
                },
                {
                    "name": "-O offset",
                    "content": "Move the origin by a certain amount.  The offset is a comma-separated pair  of  dimen‐\nsions,  such  as  .1in,-.3cm  (in the same syntax used in the papersize special).  The\norigin of the page is shifted from the default position (of one inch down, one inch to\nthe right from the upper left corner of the paper) by this amount.\n",
                    "flag": "-O"
                },
                {
                    "name": "-p",
                    "content": "in the document.  If the num is prefixed by an equals sign, then it (and any  argument\nto the -l option) is treated as a sequence number, rather than a value to compare with\n\\count0 values.  Thus, using -p =3 will start with the third page of the document,  no\nmatter what the pages are actually numbered.\n",
                    "flag": "-p"
                },
                {
                    "name": "-pp pagelist",
                    "content": "A  comma-separated  list  of pages and ranges (a-b) may be given, which will be inter‐\npreted as \\count0 values.  Pages not specified will not be printed.  Multiple -pp  op‐\ntions  may be specified or all pages and page ranges can be specified with one -pp op‐\ntion.\n"
                },
                {
                    "name": "-P printername",
                    "content": "Sets up the output for the appropriate printer.  This is  implemented  by  reading  in\nconfig.printername  , which can then set the output pipe (as in, !lpr -Pprintername as\nwell as the font paths and any other config.ps defaults for that printer  only.   Note\nthat  config.ps  is  read  before  config.printername In addition, another file called\n~/.dvipsrc is searched for immediately after config.ps; this file is intended for user\ndefaults.  If no -P command is given, the environment variable PRINTER is checked.  If\nthat variable exists, and a corresponding configuration file exists,  that  configura‐\ntion file is read in.\n",
                    "flag": "-P"
                },
                {
                    "name": "-q",
                    "content": "rors to standard error.\n",
                    "flag": "-q"
                },
                {
                    "name": "-r",
                    "content": "",
                    "flag": "-r"
                },
                {
                    "name": "-R[0|1|2]",
                    "content": "Run securely.  -R2 disables both shell command execution in \\special'{} (via backticks\n` ) and config files (via the E option), and opening of any absolute filenames.  -R1 ,\nthe default, forbids shell escapes but allows absolute filenames.   -R0  allows  both.\nThe config file option is z\n"
                },
                {
                    "name": "-s",
                    "content": "the file to not be truly conformant, and is thus not recommended, but is useful if you\nare  driving the printer directly and don't care too much about the portability of the\noutput.\n",
                    "flag": "-s"
                },
                {
                    "name": "-S",
                    "content": "with the -i option; see that documentation above for more information.\n",
                    "flag": "-S"
                },
                {
                    "name": "-t papertype",
                    "content": "This  sets the paper type to papertype.  The papertype should be defined in one of the\nconfiguration files, along with the appropriate code to select it.   (Currently  known\ntypes  include  letter,  legal,  ledger,  a4, a3).  You can also specify -t landscape,\nwhich rotates a document by 90 degrees.  To rotate a document whose size is  not  let‐\nter,  you can use the -t option twice, once for the page size, and once for landscape.\nYou should not use any -t option when the DVI file already contains a  papersize  spe‐\ncial, as is done by some LaTeX packages, notably hyperref.sty.\n\nThe  upper  left corner of each page in the .dvi file is placed one inch from the left\nand one inch from the top.  Use of this option is highly dependent on  the  configura‐\ntion  file.   Note that executing the letter or a4 or other PostScript operators cause\nthe document to be nonconforming and can cause it not to print on certain printers, so\nthe paper size should not execute such an operator if at all possible.\n",
                    "flag": "-t"
                },
                {
                    "name": "-T papersize",
                    "content": "Set  the  paper size to the given pair of dimensions.  This option takes its arguments\nin the same style as -O.  It overrides any paper size special in the dvi file.\n",
                    "flag": "-T"
                },
                {
                    "name": "-u psmapfile",
                    "content": "Set psmapfile to be the file that dvips uses for looking up PostScript  font  aliases.\nIf  psmapfile begins with a + character, then the rest of the name is used as the name\nof the map file, and the map file is appended to the list of map files (instead of re‐\nplacing  the list).  In either case, if psmapfile has no extension, then .map is added\nat the end.\n",
                    "flag": "-u"
                },
                {
                    "name": "-U",
                    "content": "ric information in the same string that is used to store the bitmap information.  This\nis only necessary when driving the Xerox 4045 PostScript interpreter.  It is caused by\na  bug  in that interpreter that results in `garbage' on the bottom of each character.\nNot recommended unless you must drive this printer.\n",
                    "flag": "-U"
                },
                {
                    "name": "-v",
                    "content": "",
                    "flag": "-v"
                },
                {
                    "name": "-V",
                    "content": "`pstopk' or some other such program(s) in order to generate the required bitmap fonts;\nthese programs are supplied with dvips.\n",
                    "flag": "-V"
                },
                {
                    "name": "-x",
                    "content": ".dvi  file.   Must be between 10 and 100000.  Instead of an integer, num may be a real\nnumber for increased precision.\n",
                    "flag": "-x"
                },
                {
                    "name": "-X",
                    "content": "",
                    "flag": "-X"
                },
                {
                    "name": "-y",
                    "content": "file.  See -x above.\n",
                    "flag": "-y"
                },
                {
                    "name": "-Y",
                    "content": "",
                    "flag": "-Y"
                },
                {
                    "name": "-z",
                    "content": "This is not enabled by default to avoid including the header files unnecessarily,  and\nuse of temporary files in creating the output.\n",
                    "flag": "-z"
                },
                {
                    "name": "-Z",
                    "content": "the size of the PostScript font-downloading information.  Especially  useful  at  high\nresolutions  or when very large fonts are used.  Will slow down printing somewhat, es‐\npecially on early 68000-based PostScript printers.\n",
                    "flag": "-Z"
                }
            ]
        },
        "SEE ALSO": {
            "content": "mf(1), afm2tfm(1), tex(1), latex(1), lpr(1), dvips.texi, http://tug.org/dvips.\n",
            "subsections": []
        },
        "ENVIRONMENT": {
            "content": "Dvipsk uses the same environment variables and algorithms for finding font files as  TeX  and\nits  friends  do.  See the documentation for the Kpathsea library for details.  (Repeating it\nhere is too cumbersome.)\n\nKPATHSEADEBUG: Trace Kpathsea lookups; set to -1 for complete tracing.\n\nPRINTER: see above.\n",
            "subsections": []
        },
        "NOTES": {
            "content": "PostScript is a registered trademark of Adobe Systems Incorporated.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Tomas Rokicki; extended to virtual fonts by Don Knuth.  Path searching and configuration mod‐\nifications by Karl Berry.\n\nMaintained  in  TeX  Live;  please  send bug reports or other correspondence to tex-k@tug.org\n(http://lists.tug.org/tex-k).\n\n\n\n1 February 2016                                  DVIPS(1)",
            "subsections": []
        }
    },
    "summary": "dvips - convert a TeX DVI file to PostScript",
    "flags": [
        {
            "flag": "-a",
            "long": null,
            "arg": null,
            "description": "loading those characters actually used. Generally only useful on machines with a very limited amount of memory, like some PCs."
        },
        {
            "flag": "-A",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-b",
            "long": null,
            "arg": null,
            "description": "#numcopies option. This can be useful in conjunction with a header file setting \\bop- hook to do color separations or other neat tricks."
        },
        {
            "flag": "-B",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-c",
            "long": null,
            "arg": null,
            "description": "option below.)"
        },
        {
            "flag": "-C",
            "long": null,
            "arg": null,
            "description": "Slower than the -c option, but easier on the hands, and faster than resubmitting the same PostScript file multiple times."
        },
        {
            "flag": "-d",
            "long": null,
            "arg": null,
            "description": "ing expeditions; it will work only if dvips has been compiled with the DEBUG option. If nonzero, prints additional information on standard error. For maximum information, you can use `-1'. See the Dvips Texinfo manual for more details."
        },
        {
            "flag": "-D",
            "long": null,
            "arg": null,
            "description": "fonts that are loaded and also the positioning of letters in resident PostScript fonts. Must be between 10 and 10000. This affects both the horizontal and vertical resolution. If a high resolution (something greater than 400 dpi, say) is selected, the -Z flag should probably also be used."
        },
        {
            "flag": "-e",
            "long": null,
            "arg": null,
            "description": "lution-independent position on the page. The default value of this parameter is reso‐ lution dependent. Allowing individual characters to `drift' from their correctly rounded positions by a few pixels, while regaining the true position at the beginning of each new word, improves the spacing of letters in words."
        },
        {
            "flag": "-E",
            "long": null,
            "arg": null,
            "description": "works on one-page files, and it only looks at marks made by characters and rules, not by any included graphics. In addition, it gets the glyph metrics from the tfm file, so characters that lie outside their enclosing tfm box may confuse it. In addition, the bounding box might be a bit too loose if the character glyph has significant left or right side bearings. Nonetheless, this option works well for creating small EPSF files for equations or tables or the like. (Note, of course, that dvips output is resolution dependent and thus does not make very good EPSF files, especially if the images are to be scaled; use these EPSF files with a great deal of care.)"
        },
        {
            "flag": "-f",
            "long": null,
            "arg": null,
            "description": "standard output. The standard input must be seekable, so it cannot be a pipe. If you must use a pipe, write a shell script that copies the pipe output to a temporary file and then points dvips at this file. This option also disables the automatic reading of the PRINTER environment variable, and turns off the automatic sending of control D if it was turned on with the -F option or in the configuration file; use -F after this option if you want both."
        },
        {
            "flag": "-F",
            "long": null,
            "arg": null,
            "description": "Script file. This is useful when dvips is driving the printer directly instead of working through a spooler, as is common on extremely small systems. NOTE! DO NOT USE THIS OPTION!"
        },
        {
            "flag": "-G",
            "long": null,
            "arg": null,
            "description": "be useful sometimes."
        },
        {
            "flag": "-h",
            "long": null,
            "arg": null,
            "description": "Prepend file name as an additional header file. (However, if the name is simply `-' suppress all header files from the output.) This header file gets added to the Post‐ Script userdict."
        },
        {
            "flag": "-i",
            "long": null,
            "arg": null,
            "description": "the document up into `sections' to be processed independently; this is most often done for memory reasons. Using this option tells dvips to place each section into a sepa‐ rate file; the new file names are created replacing the suffix of the supplied output file name by a three-digit sequence number. This option is most often used in con‐ junction with the -S option which sets the maximum section length in pages. For in‐ stance, some phototypesetters cannot print more than ten or so consecutive pages be‐ fore running out of steam; these options can be used to automatically split a book into ten-page sections, each to its own file."
        },
        {
            "flag": "-j",
            "long": null,
            "arg": null,
            "description": "release. Some debugging flags trace this operation. You can also control partial downloading on a per-font basis, via the psfonts.map file."
        },
        {
            "flag": "-k",
            "long": null,
            "arg": null,
            "description": "either with a paper size special or with the -T option) by a half inch in each dimen‐ sion. It translates each page by a quarter inch and draws cross-style crop marks. It is mostly useful with typesetters that can set the page size automatically."
        },
        {
            "flag": "-K",
            "long": null,
            "arg": null,
            "description": "to be removed. This is sometimes necessary to get around bugs in spoolers or Post‐ Script post-processing programs. Specifically, the %%Page comments, when left in, of‐ ten cause difficulties. Use of this flag can cause some included graphics to fail, since the PostScript header macros from some software packages read portions of the input stream line by line, searching for a particular comment. This option has been turned off by default because PostScript previewers and spoolers have been getting better."
        },
        {
            "flag": "-l",
            "long": null,
            "arg": null,
            "description": "the document. If the num is prefixed by an equals sign, then it (and any argument to the -p option) is treated as a sequence number, rather than a value to compare with \\count0 values. Thus, using -l =9 will end with the ninth page of the document, no matter what the pages are actually numbered."
        },
        {
            "flag": "-m",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Use mode as the Metafont device name for path searching and font generation. This overrides any value from configuration files. With the default paths, explicitly specifying the mode also makes the program assume the fonts are in a subdirectory named mode."
        },
        {
            "flag": "-M",
            "long": null,
            "arg": null,
            "description": "to generate the fonts are appended to the file missfont.log in the current directory; this file can then be executed and deleted to create the missing fonts."
        },
        {
            "flag": "-n",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-N",
            "long": null,
            "arg": null,
            "description": "terpret PostScript comments in weird ways, or on some PostScript printers. Old ver‐ sions of TranScript in particular cannot handle modern Encapsulated PostScript."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This will disable the use of Omega extensions when interpreting DVI files. By de‐ fault, the additional opcodes 129 and 134 are recognized by dvips as Omega or pTeX ex‐ tensions and interpreted as requests to set 2-byte characters."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This will disable the use of pTeX extensions when interpreting DVI files. By default, the additional opcodes 130 and 135 are recognized by dvips as pTeX extensions and in‐ terpreted as requests to set 3-byte characters, and 255 as request to change the type‐ setting direction. The only drawback is that the virtual font array will (at least temporarily) require 65536 or more positions instead of the default 256 positions, i.e., the memory re‐ quirements of dvips will be somewhat larger. If you find this unacceptable or en‐ counter another problem with the Omega or pTeX extensions, you can switch off the pTeX extension by using -noptex, or both by using -noomega (but please do send a bug report if you find such problems - see the bug address in the AUTHORS section below)."
        },
        {
            "flag": "-o",
            "long": null,
            "arg": null,
            "description": "The output will be sent to file name If no file name is given (i.e., -o is last on the command line), the default name is file.ps where the .dvi file was called file.dvi; if this option isn't given, any default in the configuration file is used. If the first character of the supplied output file name is an exclamation mark, then the remainder will be used as an argument to popen; thus, specifying !lpr as the output file will automatically queue the file for printing. This option also disables the automatic reading of the PRINTER environment variable, and turns off the automatic sending of control D if it was turned on with the -F option or in the configuration file; use -F after this option if you want both."
        },
        {
            "flag": "-O",
            "long": null,
            "arg": null,
            "description": "Move the origin by a certain amount. The offset is a comma-separated pair of dimen‐ sions, such as .1in,-.3cm (in the same syntax used in the papersize special). The origin of the page is shifted from the default position (of one inch down, one inch to the right from the upper left corner of the paper) by this amount."
        },
        {
            "flag": "-p",
            "long": null,
            "arg": null,
            "description": "in the document. If the num is prefixed by an equals sign, then it (and any argument to the -l option) is treated as a sequence number, rather than a value to compare with \\count0 values. Thus, using -p =3 will start with the third page of the document, no matter what the pages are actually numbered."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "A comma-separated list of pages and ranges (a-b) may be given, which will be inter‐ preted as \\count0 values. Pages not specified will not be printed. Multiple -pp op‐ tions may be specified or all pages and page ranges can be specified with one -pp op‐ tion."
        },
        {
            "flag": "-P",
            "long": null,
            "arg": null,
            "description": "Sets up the output for the appropriate printer. This is implemented by reading in config.printername , which can then set the output pipe (as in, !lpr -Pprintername as well as the font paths and any other config.ps defaults for that printer only. Note that config.ps is read before config.printername In addition, another file called ~/.dvipsrc is searched for immediately after config.ps; this file is intended for user defaults. If no -P command is given, the environment variable PRINTER is checked. If that variable exists, and a corresponding configuration file exists, that configura‐ tion file is read in."
        },
        {
            "flag": "-q",
            "long": null,
            "arg": null,
            "description": "rors to standard error."
        },
        {
            "flag": "-r",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Run securely. -R2 disables both shell command execution in \\special'{} (via backticks ` ) and config files (via the E option), and opening of any absolute filenames. -R1 , the default, forbids shell escapes but allows absolute filenames. -R0 allows both. The config file option is z"
        },
        {
            "flag": "-s",
            "long": null,
            "arg": null,
            "description": "the file to not be truly conformant, and is thus not recommended, but is useful if you are driving the printer directly and don't care too much about the portability of the output."
        },
        {
            "flag": "-S",
            "long": null,
            "arg": null,
            "description": "with the -i option; see that documentation above for more information."
        },
        {
            "flag": "-t",
            "long": null,
            "arg": null,
            "description": "This sets the paper type to papertype. The papertype should be defined in one of the configuration files, along with the appropriate code to select it. (Currently known types include letter, legal, ledger, a4, a3). You can also specify -t landscape, which rotates a document by 90 degrees. To rotate a document whose size is not let‐ ter, you can use the -t option twice, once for the page size, and once for landscape. You should not use any -t option when the DVI file already contains a papersize spe‐ cial, as is done by some LaTeX packages, notably hyperref.sty. The upper left corner of each page in the .dvi file is placed one inch from the left and one inch from the top. Use of this option is highly dependent on the configura‐ tion file. Note that executing the letter or a4 or other PostScript operators cause the document to be nonconforming and can cause it not to print on certain printers, so the paper size should not execute such an operator if at all possible."
        },
        {
            "flag": "-T",
            "long": null,
            "arg": null,
            "description": "Set the paper size to the given pair of dimensions. This option takes its arguments in the same style as -O. It overrides any paper size special in the dvi file."
        },
        {
            "flag": "-u",
            "long": null,
            "arg": null,
            "description": "Set psmapfile to be the file that dvips uses for looking up PostScript font aliases. If psmapfile begins with a + character, then the rest of the name is used as the name of the map file, and the map file is appended to the list of map files (instead of re‐ placing the list). In either case, if psmapfile has no extension, then .map is added at the end."
        },
        {
            "flag": "-U",
            "long": null,
            "arg": null,
            "description": "ric information in the same string that is used to store the bitmap information. This is only necessary when driving the Xerox 4045 PostScript interpreter. It is caused by a bug in that interpreter that results in `garbage' on the bottom of each character. Not recommended unless you must drive this printer."
        },
        {
            "flag": "-v",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-V",
            "long": null,
            "arg": null,
            "description": "`pstopk' or some other such program(s) in order to generate the required bitmap fonts; these programs are supplied with dvips."
        },
        {
            "flag": "-x",
            "long": null,
            "arg": null,
            "description": ".dvi file. Must be between 10 and 100000. Instead of an integer, num may be a real number for increased precision."
        },
        {
            "flag": "-X",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-y",
            "long": null,
            "arg": null,
            "description": "file. See -x above."
        },
        {
            "flag": "-Y",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-z",
            "long": null,
            "arg": null,
            "description": "This is not enabled by default to avoid including the header files unnecessarily, and use of temporary files in creating the output."
        },
        {
            "flag": "-Z",
            "long": null,
            "arg": null,
            "description": "the size of the PostScript font-downloading information. Especially useful at high resolutions or when very large fonts are used. Will slow down printing somewhat, es‐ pecially on early 68000-based PostScript printers."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "mf",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/mf/1/json"
        },
        {
            "name": "afm2tfm",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/afm2tfm/1/json"
        },
        {
            "name": "tex",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/tex/1/json"
        },
        {
            "name": "latex",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/latex/1/json"
        },
        {
            "name": "lpr",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/lpr/1/json"
        }
    ]
}