home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / unixtex-6.1b-bin0.lha / info / dvips.info-2 < prev    next >
Encoding:
GNU Info File  |  1996-10-12  |  48.1 KB  |  1,137 lines

  1. This is Info file dvips.info, produced by Makeinfo-1.64 from the input
  2. file /ade-src/contrib/unixtex/dvipsk/dvips.texi.
  3.  
  4. START-INFO-DIR-ENTRY
  5. * DVIps: (dvips).         DVI-to-PostScript translator.
  6. END-INFO-DIR-ENTRY
  7.  
  8. 
  9. File: dvips.info,  Node: Invoking dvips,  Next: Config File,  Prev: PostScript fonts,  Up: Top
  10.  
  11. Invoking `dvips'
  12. ****************
  13.  
  14.   The dvips driver has a plethora of command line options.  Reading
  15. through this section will give a good idea of the capabilities of the
  16. driver.
  17.  
  18.   Many of the parameterless options listed here can be turned off by
  19. immediately suffixing the option with a zero (0); for instance, to turn
  20. off page reversal if it is turned on by default, use `-r0'.  The
  21. options that can be turned off in this way are `a', `f', `k', `i', `m',
  22. `q', `r', `s', `E', `F', `K', `M', `N', `U', and `Z'.
  23.  
  24.   This is a handy summary of the options; it is printed out when you run
  25. dvips with no arguments.
  26.  
  27.      This is dvipsk VERSION Copyright 1986, 1993 Radical Eye Software
  28.           Usage: dvips [options] filename[.dvi]
  29.       a*  Conserve memory, not time      y # Multiply by dvi magnification
  30.       b # Page copies, for posters e.g.  A   Print only odd (TeX) pages
  31.       c # Uncollated copies              B   Print only even (TeX) pages
  32.       d # Debugging                      C # Collated copies
  33.       e # Maxdrift value                 D # Resolution
  34.       f*  Run as filter                  E*  Try to create EPSF
  35.       h f Add header file                F*  Send control-D at end
  36.       i*  Separate file per section      K*  Pull comments from inclusions
  37.       k*  Print crop marks               M*  Don't make fonts
  38.       l # Last page                      N*  No structured comments
  39.       m*  Manual feed                    O c Set/change paper offset
  40.       n # Maximum number of pages        P s Load config.$s
  41.       o f Output file                    R   Run securely
  42.       p # First page                     S # Max section size in pages
  43.       q*  Run quietly                    T c Specify desired page size
  44.       r*  Reverse order of pages         U*  Disable string param trick
  45.       s*  Enclose output in save/restore V*  Send downloadable PS fonts as PK
  46.       t s Paper format                   X # Horizontal resolution
  47.       x # Override dvi magnification     Y # Vertical resolution
  48.                                          Z*  Compress bitmap fonts
  49.       pp #-# First-last page
  50.           # = number   f = file   s = string  * = suffix, `0' to turn off
  51.           c = comma-separated dimension pair (e.g., 3.2in,-32.1cm)
  52.  
  53. `-'
  54.      Ask for additional options from standard input.
  55.  
  56. `-a'
  57.      Conserve memory by making three passes over the `dvi' file instead
  58.      of two and only loading those characters actually used.  Generally
  59.      only useful on machines with a very limited amount of memory, like
  60.      some PCs.
  61.  
  62. `-c NUM'
  63.      Generate NUM copies of every page.  Default is 1. (For collated
  64.      copies, see the `-C' option below.)
  65.  
  66. `-b NUM'
  67.      Generate NUM copies of each page, but duplicating the page body
  68.      rather than using the `#numcopies' option.  This can be useful in
  69.      conjunction with a header file setting `\bop-hook' to do color
  70.      separations or other neat tricks.
  71.  
  72. `-d NUM'
  73.      Set the debug flags.  This is intended only for emergencies or for
  74.      unusual fact-finding expeditions; it will work only if dvips has
  75.      been compiled with the `DEBUG' option.  *Note Debug Options::, for
  76.      the possible values of NUM.  Use a value of `-1', and specify the
  77.      option first, for maximum output.
  78.  
  79. `-e NUM'
  80.      Make sure that each character is placed at most this many pixels
  81.      from its `true' resolution-independent position on the page. The
  82.      default value of this parameter is resolution dependent (it is the
  83.      number of entries in the list [100, 200, 300, 400, 500, 600, 800,
  84.      1000, 1200, 1600, 2000, 2400, 2800, 3200, ...] that are less than
  85.      or equal to the resolution in dots per inch). Allowing individual
  86.      characters to `drift' from their correctly rounded positions by a
  87.      few pixels, while regaining the true position at the beginning of
  88.      each new word, improves the spacing of letters in words.
  89.  
  90. `-f'
  91.      Run as a filter.  Read the `dvi' file from standard input and
  92.      write the PostScript to standard output.  The standard input must
  93.      be seekable, so it cannot be a pipe.  If you must use a pipe,
  94.      write a shell script that copies the pipe output to a temporary
  95.      file and then points dvips at this file.  This option also
  96.      disables the automatic reading of the `PRINTER' environment
  97.      variable; use `-P$PRINTER' after the `-f' to read it anyway.  It
  98.      also turns off the automatic sending of control D if it was turned
  99.      on with the `-F' option or in the configuration file; use `-F'
  100.      after the `-f' to send it anyway.
  101.  
  102. `-h NAME'
  103.      Prepend file NAME as an additional header file. (However, if the
  104.      name is simply `-', suppress all header files from the output.)
  105.      This header file gets added to the PostScript `userdict'.
  106.  
  107. `-i'
  108.      Make each section be a separate file.  Under certain circumstances,
  109.      dvips will split the document up into `sections' to be processed
  110.      independently; this is most often done for memory reasons.  Using
  111.      this option tells dvips to place each section into a separate
  112.      file; the new file names are created replacing the suffix of the
  113.      supplied output file name by a three-digit sequence number.  This
  114.      option is most often used in conjunction with the `-S' option
  115.      which sets the maximum section length in pages.  For instance,
  116.      some phototypesetters cannot print more than ten or so consecutive
  117.      pages before running out of steam; these options can be used to
  118.      automatically split a book into ten-page sections, each to its own
  119.      file.
  120.  
  121. `-k'
  122.      Print crop marks.  This option increases the paper size (which
  123.      should be specified, either with a paper size special or with the
  124.      `-T' option) by a half inch in each dimension.  It translates each
  125.      page by a quarter inch and draws cross-style crop marks.  It is
  126.      mostly useful with typesetters that can set the page size
  127.      automatically.
  128.  
  129. `-l NUM'
  130.      The last page printed will be the first one numbered NUM. Default
  131.      is the last page in the document.  If the NUM is prefixed by an
  132.      equals sign, then it (and any argument to the `-p' option) is
  133.      treated as a sequence number, rather than a value to compare with
  134.      `\count0' values.  Thus, using `-l =9' will end with the ninth
  135.      page of the document, no matter what the pages are actually
  136.      numbered.
  137.  
  138. `-m'
  139.      Specify manual feed for printer.
  140.  
  141. `-mode MODE'
  142.      Use MODE as the Metafont device name for path searching and
  143.      generating fonts.  This overrides any value from configuration
  144.      files.  With the default paths, explicitly specifying the mode
  145.      also makes the program assume the fonts are in a subdirectory
  146.      named MODE.  *Note TeX directory structure: (kpathsea)TeX
  147.      directory structure.
  148.  
  149.      If Metafont seems not to understand the MODE name, see *Note
  150.      Unable to Generate Fonts::.
  151.  
  152. `-n NUM'
  153.      At most NUM pages will be printed. Default is 100000.
  154.  
  155. `-o NAME'
  156.      The output will be sent to file NAME.  If no file name is given,
  157.      the default name is `FILE.ps' where the `dvi' file was called
  158.      `FILE.dvi'; if this option isn't given, any default in the
  159.      configuration file is used.  If the first character of the
  160.      supplied output file name is `!' or `|', then the remainder will
  161.      be used as an argument to `popen'; thus, specifying `|lpr' as the
  162.      output file will automatically queue the file for printing as
  163.      usual.  This option also disables the automatic reading of the
  164.      `PRINTER' environment variable, and turns off the automatic
  165.      sending of control D.  See the `-f' option for how to override
  166.      this.
  167.  
  168. `-p NUM'
  169.      The first page printed will be the first one numbered NUM. Default
  170.      is the first page in the document.  If the NUM is prefixed by an
  171.      equals sign, then it (and any argument to the `-l' option) is
  172.      treated as a sequence number, rather than a value to compare with
  173.      `\count0' values.  Thus, using `-p =3' will start with the third
  174.      page of the document, no matter what the pages are actually
  175.      numbered.
  176.  
  177. `-pp FIRST-LAST'
  178.      Print pages FIRST through LAST; equivalent to `-p FIRST -l LAST'.
  179.      The `-' range separator can also be a `:'.
  180.  
  181. `-q'
  182.      Run quietly.  Don't chatter about pages converted, etc.; report
  183.      nothing but errors to standard error.
  184.  
  185. `-r'
  186.      Stack pages in reverse order.  Normally, page 1 will be printed
  187.      first.
  188.  
  189. `-s'
  190.      Causes the entire global output to be enclosed in a save/restore
  191.      pair.  This causes the file to not be truly conformant, and is
  192.      thus not recommended, but is useful if you are driving the printer
  193.      directly and don't care too much about the portability of the
  194.      output.
  195.  
  196. `-t PAPERTYPE'
  197.      This sets the paper type to PAPERTYPE.  The PAPERTYPE should be
  198.      defined in one of the configuration files, along with the
  199.      appropriate code to select it.  See the documentation for `@'in the
  200.      configuration file option descriptions.  You can also specify `-t
  201.      landscape', which rotates a document by 90 degrees.  To rotate a
  202.      document whose size is not letter, you can use the `-t' option
  203.      twice, once for the page size, and once for `landscape'.  The upper
  204.      left corner of each page in the `dvi' file is placed one inch from
  205.      the left and one inch from the top.  Use of this option is highly
  206.      dependent on the configuration file.  Note that executing the
  207.      `letter' or `a4' or other PostScript operators cause the document
  208.      to be nonconforming and can cause it not to print on certain
  209.      printers, so the default paper size should not execute such an
  210.      operator if at all possible.
  211.  
  212. `-x NUM'
  213.      Set the magnification ratio to NUM/1000. Overrides the
  214.      magnification specified in the `dvi' file.  Must be between 10 and
  215.      100000.  It is recommended that you use standard magstep values
  216.      (1095, 1200, 1440, 1728, 2074, 2488, 2986, and so on) to help
  217.      reduce the total number of PK files generated.
  218.  
  219. `-A'
  220.      This option prints only the odd pages.  This option uses the \TeX\
  221.      page numbering rather than the sequence page numbers.
  222.  
  223. `-B'
  224.      This option prints only the even pages.  This option uses the \TeX\
  225.      page numbering rather than the sequence page numbers.
  226.  
  227. `-C NUM'
  228.      Create NUM copies, but collated (by replicating the data in the
  229.      PostScript file).  Slower than the `-c' option, but easier on the
  230.      hands, and faster than resubmitting the same PostScript file
  231.      multiple times.
  232.  
  233. `-D NUM'
  234.      Set the resolution in dpi (dots per inch) to NUM. This affects the
  235.      choice of bitmap fonts that are loaded and also the positioning of
  236.      letters in resident PostScript fonts. Must be between 10 and 10000.
  237.      This affects both the horizontal and vertical resolution.  If a
  238.      high resolution (something greater than 400 dpi, say) is selected,
  239.      the `-Z' flag should probably also be used.
  240.  
  241. `-E'
  242.      Makes dvips attempt to generate an EPSF file with a tight bounding
  243.      box.  This only works on one-page files, and it only looks at
  244.      marks made by characters and rules, not by any included graphics.
  245.      In addition, it gets the glyph metrics from the `tfm' file, so
  246.      characters that lie outside their enclosing `tfm' box may confuse
  247.      it.  In addition, the bounding box might be a bit too loose if the
  248.      character glyph has significant left or right side bearings.
  249.      Nonetheless, this option works well for creating small EPSF files
  250.      for equations or tables or the like.  (Of course, `dvips' output
  251.      is resolution dependent and thus does not make very good EPSF
  252.      files, especially if the images are to be scaled; use these EPSF
  253.      files with a great deal of care.)
  254.  
  255. `-F'
  256.      Causes Control-D (ASCII code 4) to be appended as the very last
  257.      character of the PostScript file.  This is useful when dvips is
  258.      driving the printer directly instead of working through a spooler,
  259.      as is common on extremely small systems.  Otherwise, it is not
  260.      recommended.
  261.  
  262. `-K'
  263.      This option causes comments in included PostScript graphics, font
  264.      files, and headers to be removed.  This is sometimes necessary to
  265.      get around bugs in spoolers or PostScript post-processing
  266.      programs.  Specifically, the `%%Page' comments, when left in,
  267.      often cause difficulties.  Use of this flag can cause some
  268.      included graphics to fail, since the PostScript header macros from
  269.      some software packages read portions of the input stream line by
  270.      line, searching for a particular comment.  This option has been
  271.      turned off by default because PostScript previewers and spoolers
  272.      have been getting better.
  273.  
  274. `-M'
  275.      Turns off the automatic font generation facility.  If any fonts are
  276.      missing, commands to generate the fonts are appended to the file
  277.      `missfont.log' in the current directory; this file can then be
  278.      executed to create the missing fonts.
  279.  
  280. `-N'
  281.      Turns off structured comments; this might be necessary on some
  282.      systems that try to interpret PostScript comments in weird ways,
  283.      or on some PostScript printers.  Old versions of TranScript in
  284.      particular cannot handle modern Encapsulated PostScript.
  285.  
  286. `-O OFFSET'
  287.      Move the origin by a certain amount.  The OFFSET is a
  288.      comma-separated pair of dimensions, such as `.1in,-.3cm' (in the
  289.      same syntax used in the `papersize' special).  The origin of the
  290.      page is shifted from the default position (of one inch down, one
  291.      inch to the right from the upper left corner of the paper) by this
  292.      amount.
  293.  
  294. `-P PRINTERNAME'
  295.      Sets up the output for the appropriate printer.  This is
  296.      implemented by reading in `config.PRINTERNAME', which can then set
  297.      the output pipe (as in, `o !lpr -Pprintername') as well as the font
  298.      paths and any other defaults for that printer only.  It is
  299.      recommended that all standard defaults go in the one master
  300.      `config.ps' file and only things that vary printer to printer go
  301.      in the `config.PRINTERNAME' files.  Note that `config.ps' is read
  302.      before `config.PRINTERNAME'.  In addition, another file called
  303.      `~/.dvipsrc' is searched for immediately after `config.ps'; this
  304.      file is intended for user defaults.  If no `-P' command is given,
  305.      the environment variable `PRINTER' is checked.  If that variable
  306.      exists, and a corresponding configuration file exists, that
  307.      configuration file is read in.
  308.  
  309. `-R'
  310.      Run securely. This disables command execution in `\special' (via
  311.      ``') and config files (via the `E' option), pipes as output files,
  312.      and opening of any absolute filenames.
  313.  
  314. `-S NUM'
  315.      Set the maximum number of pages in each `section'.  This option is
  316.      most commonly used with the `-i' option; see that documentation
  317.      above for more information.
  318.  
  319. `-T OFFSET'
  320.      Set the paper size to the given pair of dimensions.  This option
  321.      takes its arguments in the same style as `-O'.  It overrides any
  322.      paper size special in the `dvi' file.
  323.  
  324. `-U'
  325.      Disable a PostScript virtual memory saving optimization that
  326.      stores the character metric information in the same string that is
  327.      used to store the bitmap information.  This is only necessary when
  328.      driving the Xerox 4045 PostScript interpreter.  It is caused by a
  329.      bug in that interpreter that results in `garbage' on the bottom of
  330.      each character.  Not recommended unless you must drive this
  331.      printer.
  332.  
  333. `-V'
  334.      Download non-resident PostScript fonts as bitmaps.  This requires
  335.      use of `mtpk' or `pstopk' or some combination of the two in order
  336.      to generate the required bitmap fonts; neither of these programs
  337.      are supplied with Dvips.
  338.  
  339. `-X NUM'
  340.      Set the horizontal resolution in dots per inch to NUM.
  341.  
  342. `-Y NUM'
  343.      Set the vertical resolution in dots per inch to NUM.
  344.  
  345. `-Z'
  346.      Causes bitmapped fonts to be compressed before they are downloaded,
  347.      thereby reducing the size of the PostScript font-downloading
  348.      information.  Especially useful at high resolutions or when very
  349.      large fonts are used.  Will slow down printing somewhat,
  350.      especially on early 68000-based PostScript printers.
  351.  
  352. 
  353. File: dvips.info,  Node: Config File,  Next: Font Generation,  Prev: Invoking dvips,  Up: Top
  354.  
  355. Configuration File Searching
  356. ****************************
  357.  
  358.   The dvips program has a system of loading configuration files such
  359. that parameters can be set globally across the system, on a per-printer
  360. basis, or by the user.
  361.  
  362.   When dvips starts up, first the global `config.ps' file is searched
  363. for and loaded.  This file is looked for along the path for
  364. configuration files, which is set in the `Makefile' at compilation.
  365. After this master configuration file is loaded, a file by the name of
  366. `.dvipsrc' is loaded from the current user's home directory, if such a
  367. file exists.  This file is loaded in exactly the same way as the global
  368. configuration file, and it can override any options set in the global
  369. file.
  370.  
  371.   Then the command line is read and parsed.  If the `-P' option is
  372. encountered, at that point in the command line a configuration file for
  373. that printer is read in.  Thus, the printer configuration file can
  374. override anything in the global or user configuration file, and it can
  375. also override most options in the command line up to the point that the
  376. `-P' option was encountered.
  377.  
  378.   After the command line has been completely scanned, if there was no
  379. `-P' option selected, and also the `-o' and `-f' command line options
  380. were not used, a `PRINTER' environment variable is searched for.  If
  381. this variable exists, and a configuration file for the printer
  382. mentioned in it exists, this configuration file is loaded last of all.
  383.  
  384.   Because the printer-specific configuration files are read after the
  385. user's configuration file, the user cannot override things in the
  386. printer configuration files.  On the other hand, the configuration path
  387. usually includes the current directory, and can be set to include the
  388. user's home directory (or any other directory of the user), so the user
  389. can always provide his or her own printer-specific configuration files
  390. that will be found before the system global ones.
  391.  
  392.   A few options are treated specially, in that they are not overridden
  393. by configuration files:
  394.  
  395. `-mode'
  396.      This overrides any mode setting (`M' line) in `config.*'.  `-mode'
  397.      does not affect the resolution, however.
  398.  
  399. `-o'
  400.      This overrides any output setting (`o' line) in `config.*'.
  401.  
  402. `-D'
  403.      As well as setting the current resolution, this unsets the mode if
  404.      the mode was set from a configuration file.  If `config.$PRINTER'
  405.      is read, however, any `D' or `M' lines from it will take effect.
  406.  
  407.   The purpose of these special cases is to (1) minimize the chance of
  408. having a mismatched mode and resolution (which `MakeTeXPK' cannot
  409. handle), and (2) to let command-line options override config files.
  410.  
  411. * Menu:
  412.  
  413. * Config File Options::         Details of dvips config.* files.
  414.  
  415. 
  416. File: dvips.info,  Node: Config File Options,  Up: Config File
  417.  
  418. Configuration File Options
  419. ==========================
  420.  
  421.   Most of the configuration file options are similar to the command line
  422. options, but there are a few new ones.
  423.  
  424.   Again, many may be turned off by suffixing the letter with a zero (0).
  425. These options are `a', `f', `q', `r', `K', `N', `U', and `Z'.
  426.  
  427.   Within a configuration file, any empty line or line starting with a
  428. space, asterisk, equal sign, or a pound sign is ignored.
  429.  
  430. `@ NAME HSIZE VSIZE'
  431.      This option is used to set the paper size defaults and options for
  432.      the particular printer this configuration file describes.  There
  433.      are three formats for this option.  If the option is specified on
  434.      a line by itself, with no parameters, it instructs dvips to
  435.      discard all other paper size information (possibly from another
  436.      configuration file) and start fresh.  If three parameters are
  437.      given, as above, with the first parameter being a name and the
  438.      second and third being a dimension (as in 8.5in or 3.2cc, just
  439.      like in the `papersize' special), then the option is interpreted
  440.      as starting a new paper size description, where NAME is the name
  441.      and HSIZE and VSIZE describe the horizontal and vertical size of
  442.      the sheet of paper, respectively.  If both HSIZE and VSIZE are
  443.      equal to zero (although you must still specify units!) then any
  444.      page size will match it.  If the `@' character is immediately
  445.      followed by a `+' sign, then the remainder of the line (after
  446.      skipping any leading blanks) is treated as PostScript code to send
  447.      to the printer to select that particular paper size.  After all
  448.      that, if the first character of the line is an exclamation point,
  449.      then the line is put in the initial comments section of the final
  450.      output file; else, it is put in the setup section of the output
  451.      file.  For instance, a subset of the paper size information
  452.      supplied in the default `config.ps' looks like
  453.  
  454.           @ letterSize 8.5in 11in
  455.           @ letter 8.5in 11in
  456.           @+ %%BeginPaperSize: Letter
  457.           @+ letter
  458.           @+ %%EndPaperSize
  459.           @ legal 8.5in 14in
  460.           @+ ! %%DocumentPaperSizes: Legal
  461.           @+ %%BeginPaperSize: Legal
  462.           @+ legal
  463.           @+ %%EndPaperSize
  464.  
  465.      Note that you can even include structured comments in the
  466.      configuration file!  When dvips has a paper format name given on
  467.      the command line, it looks for a match by the NAME; when it has a
  468.      `papersize' special, it looks for a match by dimensions.  The
  469.      first match found (in the order the paper size information is
  470.      found in the configuration file) is used.  If nothing matches, a
  471.      warning is printed and the first paper size given is used, so the
  472.      first paper size should always be the default.  The dimensions
  473.      must match within a quarter of an inch.  Landscape mode for all of
  474.      the paper sizes are automatically supported.  If your printer has
  475.      a command to set a special paper size, then give dimensions of
  476.      `0in 0in'; the PostScript code that sets the paper size can refer
  477.      to the dimensions the user requested as `hsize' and `vsize'; these
  478.      will be macros defined in the PostScript that return the requested
  479.      size in default PostScript units.  Note that virtually all of the
  480.      PostScript commands you use here are device dependent and degrade
  481.      the portability of the file; that is why the default first paper
  482.      size entry should not send any PostScript commands down (although a
  483.      structured comment or two would be okay).  Also, some printers want
  484.      `BeginPaperSize' comments and paper size setting commands; others
  485.      (such as the NeXT) want `PaperSize' comments and they will handle
  486.      setting the paper size.  There is no solution I could find that
  487.      works for both (except maybe specifying both.)  See the supplied
  488.      `config.ps' file for a more realistic example.
  489.  
  490. `a'
  491.      Conserve memory by making three passes over the `dvi' file instead
  492.      of two and only loading those characters actually used.  Generally
  493.      only useful on machines with a very limited amount of memory, like
  494.      some PCs.
  495.  
  496. `b NUM'
  497.      Generate NUM copies of each page, but duplicating the page body
  498.      rather than using the `#numcopies' option.  This can be useful in
  499.      conjunction with a header file setting `\bop-hook' to do color
  500.      separations or other neat tricks.
  501.  
  502. `e NUM'
  503.      Set the maximum drift parameter to NUM dots (pixels) as explained
  504.      above.
  505.  
  506. `f'
  507.      Run as a filter by default.
  508.  
  509. `h NAME'
  510.      Add NAME as a PostScript header file to be downloaded at the
  511.      beginning.
  512.  
  513. `i NUM'
  514.      Make each section be a separate file, and set the maximum number of
  515.      pages in a given file to NUM.  Under certain circumstances, dvips
  516.      will split the document into `sections' to be processed
  517.      independently; this is most often done for memory reasons.  Using
  518.      this option tells dvips to place each section into a separate
  519.      file; the new file names are created by replacing the suffix of
  520.      the supplied output file name with a three-digit sequence number.
  521.      This is essentially a combination of the command line options `-i'
  522.      and `-S'; see the documentation for these options for more
  523.      information.
  524.  
  525. `m NUM'
  526.      The value NUM is the virtual memory available for fonts and
  527.      strings in the printer.  Default is 180000.  This value must be
  528.      accurate if memory conservation and document splitting is to work
  529.      correctly.  To determine this value, send the following file to
  530.      the printer:
  531.  
  532.           %! Hey, we're PostScript
  533.           /Times-Roman findfont 30 scalefont setfont 144 432 moveto
  534.           vmstatus exch sub 40 string cvs show pop showpage
  535.  
  536.      Note that the number returned by this file is the total memory
  537.      free; it is often a good idea to tell dvips that the printer has
  538.      somewhat less memory.  This is because many programs download
  539.      permanent macros that can reduce the memory in the printer.  In
  540.      general, a memory size of about `300000' is plenty, since dvips
  541.      can automatically split a document if required.  It is unfortunate
  542.      that PostScript printers with much less virtual memory still
  543.      exist.  Some systems or printers can dynamically increase the
  544.      memory available to a PostScript interpreter, in which case this
  545.      file might return a ridiculously low number; the NeXT computer is
  546.      such a machine.  For these systems, a value of one million works
  547.      well.
  548.  
  549. `o NAME'
  550.      The default output file is set to NAME.  As above, it can be a
  551.      pipe.  Useful in printer-specific configuration files to redirect
  552.      the output to a particular printer queue.
  553.  
  554. `p NAME'
  555.      The file to examine for PostScript font aliases is NAME.  It
  556.      defaults to `psfonts.map'.  This option allows different printers
  557.      to use different resident fonts.  If the name starts with a `+'
  558.      character, then the rest of the name (after any leading spaces) is
  559.      used as an additional map file; thus, it is possible to have local
  560.      map files pointed to by local configuration files that append to
  561.      the global map file.
  562.  
  563. `q'
  564.      Run quietly  by default.
  565.  
  566. `r'
  567.      Reverse the order of pages by default.
  568.  
  569. `s'
  570.      Enclose the entire document in a global save/restore pair by
  571.      default.  Not recommended, but useful in some environments; this
  572.      breaks the conformance of the document to the Adobe PostScript
  573.      structuring conventions.
  574.  
  575. `D NUM'
  576.      Set the vertical and horizontal resolution to NUM dots per inch.
  577.      Useful in printer-specific configuration files.
  578.  
  579. `E COMMAND'
  580.      Executes the command listed; can be used to get the current date
  581.      into a header file for inclusion, for instance.  Possibly
  582.      dangerous; in many installations this may be disabled, in which
  583.      case a warning message will be printed if the option is used.
  584.  
  585. `H PATH'
  586.      The (colon-separated) path to search for PostScript header files is
  587.      PATH.  The environment variable `DVIPSHEADERS' overrides this.
  588.  
  589. `K'
  590.      Filter comments out of included PostScript files; see the
  591.      description above for more information.
  592.  
  593. `M MODE'
  594.      Set MODE as the METAFONT mode to be used when generating fonts and
  595.      for path searching. The `-mode' option overrides this.  With the
  596.      default paths, specifying a mode this way also makes the program
  597.      assume the fonts are in a subdirectory named MODE.  *Note TeX
  598.      directory structure: (kpathsea)TeX directory structure.
  599.  
  600. `N'
  601.      Disable PostScript comments by default.
  602.  
  603. `O OFFSET'
  604.      Move the origin by a certain amount.  The OFFSET is a
  605.      comma-separated pair of dimensions, such as `.1in,-.3cm' (in the
  606.      same syntax as used in the `papersize' special).  The origin of the
  607.      page is shifted from the default position (of one inch down, one
  608.      inch to the right from the upper left corner of the paper) by this
  609.      amount.
  610.  
  611.      This is useful for a printer that consistently offsets output
  612.      pages by a certain amount. You can use the file `testpage.tex' to
  613.      determine the correct value for your printer. Be sure to do
  614.      several runs with the same `O' value--some printers vary widely
  615.      from run to run.
  616.  
  617. `P PATH'
  618.      The (colon-separated) path to search for bitmap `pk' font files is
  619.      PATH.  The `PKFONTS', `TEXPKS', `GLYPHFONTS', and `TEXFONTS'
  620.      environment variables override this. *Note TeX environment
  621.      variables: (kpathsea)TeX environment variables.
  622.  
  623. `R NUM NUM ...'
  624.      Sets up a list of default resolutions to search for `pk' fonts, if
  625.      the requested size is not available.  The output will then scale
  626.      the font found using PostScript scaling to the requested size.
  627.      The resulting output may be ugly, and thus a warning is issued.  To
  628.      turn this off, use a line with just the `R' and no numbers.
  629.  
  630. `S PATH'
  631.      The path to search for special illustrations (Encapsulated
  632.      PostScript files or psfiles) is PATH.  The `TEXPICTS' and then
  633.      `TEXINPUTS' environment variables override this.
  634.  
  635. `T PATH'
  636.      The path to search for the `tfm' files is PATH.  The `TFMFONTS'
  637.      and then `TEXFONTS' environment variables overrides this.  This
  638.      path is used for resident fonts and fonts that can't otherwise be
  639.      found.
  640.  
  641. `U'
  642.      Turns off a memory-saving optimization; this is necessary for the
  643.      Xerox 4045 printer, but not recommended otherwise.  See the
  644.      description above for more information.
  645.  
  646. `V PATH'
  647.      The path to search for virtual font `vf' files is PATH.  This may
  648.      be device-dependent if you use virtual fonts to simulate actual
  649.      fonts on different devices.
  650.  
  651. `W STRING'
  652.      Sends STRING to stderr, if a parameter is given; otherwise it
  653.      cancels another previous message.  This is useful in the default
  654.      configuration file if you want to require the user to specify a
  655.      printer, for instance, or if you want to notify the user that the
  656.      resultant output has special characteristics.
  657.  
  658. `X NUM'
  659.      Set the horizontal resolution to NUM dots per inch.
  660.  
  661. `Y NUM'
  662.      Set the vertical resolution to NUM dots per inch.
  663.  
  664. `Z'
  665.      Compress all downloaded fonts by default, as above.
  666.  
  667. 
  668. File: dvips.info,  Node: Font Generation,  Next: Environment Variables,  Prev: Config File,  Up: Top
  669.  
  670. Automatic Font Generation
  671. *************************
  672.  
  673.   One major problem with TeX and the Computer Modern fonts is the huge
  674. amount of disk space a full set of high resolution fonts can take.
  675. Dvips solves this problem by creating fonts on demand, so only those
  676. fonts that are actually used are stored on disk.  At a typical site,
  677. less than one-fifth of the full set of Computer Modern fonts are used
  678. over a long period, so this saves a great deal of disk space.
  679.  
  680.   Furthermore, the addition of dynamic font generation allows fonts to
  681. be used at any size, including typesetter resolutions and extremely huge
  682. banner sizes.  Nothing special needs to be done; the fonts will be
  683. automatically created and installed as needed.
  684.  
  685.   The downside is that it does take a certain amount of time to create
  686. a new font if it has never been used before.  But once a font is
  687. created, it will exist on disk, and the next time that document is
  688. printed it will print very quickly.
  689.  
  690.   It is the `MakeTeXPK' shell script that is responsible for making
  691. these fonts. It *must* echo the filename of the new font (and nothing
  692. else) to standard output. Use standard error for commentary.
  693.  
  694.   `MakeTeXPK' is passed various arguments, the first of which is the
  695. font it's supposed to make. You can override the other argument
  696. conventions with environment variables or at compilation time; see the
  697. Kpathsea documentation.
  698.  
  699.   The `MakeTeXPK' script supplied invokes Metafont (using the Sauter
  700. scripts first, if necessary and if they are installed) to create the
  701. font and then copies the resultant `pk' file to a world-writable font
  702. cache area.
  703.  
  704.   `MakeTeXPK' can be customized to do other things to get the font.  For
  705. instance, if you are installing dvips to replace (or run alongside) an
  706. existing PostScript driver, and that driver demands `gf' fonts, you can
  707. easily modify `MakeTeXPK' to invoke `gftopk' to convert the `gf' files
  708. to `pk' files for dvips.  This provides the same space savings listed
  709. above.
  710.  
  711.   Because dvips (and thus `MakeTeXPK') is run by a wide variety of
  712. users, there must be a system-wide place to put the cached font files.
  713. In order for everyone to be able to supply fonts, the directory must be
  714. world writable.  If your system administrator considers this a security
  715. hole, `MakeTeXPK' can write to `/tmp/pk' or some such directory, and
  716. periodically the cached fonts can be moved to a more general system
  717. area.  The cache directory must exist on the `pk' file search path in
  718. order for `MakeTeXPK' to work.
  719.  
  720. 
  721. File: dvips.info,  Node: Environment Variables,  Next: Bells and Whistles,  Prev: Font Generation,  Up: Top
  722.  
  723. Environment Variables
  724. *********************
  725.  
  726.   Dvips reads a certain set of environment variables to configure its
  727. operation.  The path variables are read as needed, after all
  728. configuration files are read, so they override values in the
  729. configuration files.  (Except for the `TEXCONFIG' variable.)
  730.  
  731.   *Note Path specifications: (kpathsea)Path specifications, for details
  732. of interpretation of environment variable values, and the common
  733. environment variables.  Only the environment specific to `dvips' are
  734. mentioned here.
  735.  
  736. `DVIPSFONTS'
  737.      Default path to search for all fonts.  Overrides all the
  738.      font-related config file options and other environment variables.
  739.  
  740. `DVIPSHEADERS'
  741.      Default path to search for PostScript header files.  Overrides the
  742.      `H' config file option.
  743.  
  744. `DVIPSMAKEPK'
  745.      Overrides `MakeTeXPK' as the name of the program to invoke to
  746.      create missing PK fonts.  You can change the arguments passed to
  747.      the `MakeTeXPK' program with the `MAKETEXPK' environment
  748.      variables; see the Kpathsea documentation.
  749.  
  750. `DVIPSSIZES'
  751.      Last-resort sizes for scaling for unfound fonts.  Overrides the `R'
  752.      definition in config files.
  753.  
  754. `PRINTER'
  755.      This environment variable is read to determine which default
  756.      printer configuration file to read in.  It is the responsibility of
  757.      the configuration file to send output to the proper print queue,
  758.      if such functionality is desired.
  759.  
  760. `TEXCONFIG'
  761.      This environment variable sets the directories to search for
  762.      configuration files, including the system-wide one.  Using this
  763.      single environment variable and the appropriate configuration
  764.      files, it is possible to set up the program for any environment.
  765.      (The other path environment variables are thus redundant.)
  766.  
  767. `TEXPICTS'
  768.      Path to search for special illustrations.  Overrides the `S' config
  769.      file option.  If not set, `TEXINPUTS' is used.
  770.  
  771. 
  772. File: dvips.info,  Node: Bells and Whistles,  Next: MS-DOS,  Prev: Environment Variables,  Up: Top
  773.  
  774. Other Bells And Whistles
  775. ************************
  776.  
  777.   For special effects, if any of the macros `bop-hook', `eop-hook',
  778. `start-hook', or `end-hook' are defined in the PostScript `userdict',
  779. they will be executed at the beginning of a page, end of a page, start
  780. of the document, and end of a document, respectively.
  781.  
  782.   When these macros are executed, the default PostScript coordinate
  783. system and origin is in effect.  Such macros can be defined in headers
  784. added by the `-h' option or the `header=' special, and might be useful
  785. for writing, for instance, DRAFT across the entire page, or, with the
  786. aid of a shell script, dating the document.  These macros are executed
  787. outside of the save/restore context of the individual pages, so it is
  788. possible for them to accumulate information, but if a document must be
  789. divided into sections because of memory constraints, such added
  790. information will be lost across section breaks.
  791.  
  792.   The single argument to `bop-hook' is the sequence number of the page
  793. in the file; the first page gets zero, the second one, etc.  The
  794. procedure must leave this number on the stack.  None of the other hooks
  795. are (currently) given parameters, although this may change in the
  796. future.
  797.  
  798.   As an example of what can be done, the following special will write a
  799. light DRAFT across each page in the document:
  800.  
  801.      \special{!userdict begin /bop-hook{gsave 200 30 translate
  802.      65 rotate /Times-Roman findfont 216 scalefont setfont
  803.      0 0 moveto 0.7 setgray (DRAFT) show grestore}def end}
  804.  
  805.   Note that using `bop-hook' or `eop-hook' in any way that preserves
  806. information across pages will break compliance with the Adobe document
  807. structuring conventions, so if you use any such tricks, it is
  808. recommended that you also use the `-N' option to turn off structured
  809. comments.
  810.  
  811.   Several of the above tricks can be used nicely together, and it is not
  812. necessary that a `printer configuration file' be used only to set
  813. printer defaults.  For instance, a `-P' file can be set up to print the
  814. date on each page; the particular configuration file will execute a
  815. command to put the date into a header file, which is then included with
  816. a `h' line in the configuration file.  Multiple `-P' options can be
  817. used.
  818.  
  819. 
  820. File: dvips.info,  Node: MS-DOS,  Next: Installation,  Prev: Bells and Whistles,  Up: Top
  821.  
  822. MS-DOS
  823. ******
  824.  
  825.   If you have any experience with Dvipsk under DOS, kb@cs.umb.edu would
  826. like to hear about it.
  827.  
  828. 
  829. File: dvips.info,  Node: Installation,  Next: Problems,  Prev: MS-DOS,  Up: Top
  830.  
  831. Installation
  832. ************
  833.  
  834.   To compile and install Dvipsk:
  835.  
  836.   1. Edit the file `make/paths.make' if you want to make changes to the
  837.      installation directories or paths that will have effect across
  838.      different runs of `configure'.  Alternatively, override the Make
  839.      variables on the command line when you run Make.
  840.  
  841.      Exception: to reliably change the top-level `prefix', you must give
  842.      `configure' the option `-prefix=PREFIX', instead of changing the
  843.      value in `paths.make'.
  844.  
  845.   2. Edit `kpathsea/texmf.cnf.in' to change the local paths to match
  846.      your local setup.  *Note Default paths: (kpathsea)Default paths,
  847.      for more details on changing the paths. A copy is in
  848.      `kpathsea/INSTALL'.  See `kpathsea/HIER' for an explanation of the
  849.      default setup.
  850.  
  851.      If the paths do not match where the files actually are, the
  852.      programs will probably start up Very, Very, Slowly, and/or not be
  853.      able to find the fonts or other input files.
  854.  
  855.   3. `sh configure' (in the top-level directory).  This makes
  856.      system-dependent `#define's' in `*/c-auto.h' (from the
  857.      corresponding `c-auto.h.in') and creates a `Makefile' (from the
  858.      corresponding `Makefile.in', by doing `@VAR@' and `ac_include'
  859.      substitutions).
  860.  
  861.      Perhaps the most common desire is to compile with optimization
  862.      instead of or as well as debugging.  You can change the options
  863.      passed to the compiler by changing `CFLAGS', either for
  864.      `configure' or `make'.  For example:
  865.  
  866.           prompt$ env CFLAGS="-g -O" configure
  867.           prompt$ make
  868.      or
  869.           prompt$ configure
  870.           prompt$ make CFLAGS="-g -O"
  871.  
  872.      *Note Running `configure' scripts: (autoconf)Invoking configure,
  873.      for detailed `configure' options.  (A copy is in
  874.      `kpathsea/CONFIGURE'.)
  875.  
  876.   4. `make' (still in the top-level directory). Barring configuration
  877.      and compiler bugs, this will compile all the programs.  *Note
  878.      Common problems: (kpathsea)Common problems, for system-dependent
  879.      problems (this section is also in `kpathsea/INSTALL').
  880.  
  881.      This also creates the `texmf.cnf' and `paths.h' files that define
  882.      the default search paths.
  883.  
  884.   5. Check the paths in `MakeTeXPK', unless you do not want automatic
  885.      font generation.  *Note Font Generation::.  The `MakeTeXPK' in the
  886.      distribution will overwrite the installed file only if the latter
  887.      contains the string `original MakeTeXPK --'.
  888.  
  889.      Dvipsk, unlike the original dvips, *requires* `MakeTeXPK' to echo
  890.      the generated filename (and nothing else) to standard output
  891.      (standard error can be used for commentary).  For more details, or
  892.      in general if `MakeTeXPK' fails, *note Unable to Generate Fonts::..
  893.  
  894.      By default, `MakeTeXPK' installs the new PK fonts under
  895.      `/usr/local/lib/texmf/fonts/tmp/pk'.  For the simplest
  896.      installation, create that directory and make it publically
  897.      writable.  *Note Font Generation::, for alternatives.
  898.  
  899.   6. Update the device parameters (available memory, resolution, etc.)
  900.      in `config.ps'.  This file is installed as the system-wide
  901.      configuration file.  *Note Config File Options::.  The `config.ps'
  902.      in the distribution will overwrite the installed file only if the
  903.      latter contains the string `original config.ps --'.
  904.  
  905.      If you need support for more than one device, create configuration
  906.      files for each and install them in the directory named by the Make
  907.      variable `configdir'. See the `-P' option in *Note Invoking
  908.      dvips::.
  909.  
  910.   7. Install the programs and supporting macros, fonts, and data files
  911.      with `make install'. If you want to install only the executables,
  912.      do `make install-exec'; for only the data files, `make
  913.      install-data'. And if you don't want to install the fonts (perhaps
  914.      because your directory structure is different from the default),
  915.      but do want everything else, set the Make variable
  916.      `install_fonts=false'.
  917.  
  918.   8. Install additional fonts, if you want to.
  919.  
  920.      A few Type 1 fonts (Utopia, Charter, Courier, Nimbus, Antiqua, ...)
  921.      have been contributed to the X Consortium, and thus are freely
  922.      available. You can get TeX distributions for them from
  923.      `ftp.cs.umb.edu' in `pub/tex', and from the CTAN hosts in
  924.      `tex-archive/fonts'.
  925.  
  926.      If you have a commercial Unix system, it may have come with
  927.      additional PostScript fonts.  If so, you can make them available
  928.      to Dvips by (1) copying or linking them with the appropriate
  929.      filenames; and (2) running `afm2tfm' (*note afm2tfm::.) to make
  930.      TFM and VF files so the fonts will be available in the same
  931.      encoding as the fonts distributed with Dvips. Also check
  932.      `psfonts.map' to be sure the fonts are listed there (*note
  933.      Non-resident Fonts::.).
  934.  
  935.      Here are the typical locations for vendor-supplied fonts:
  936.  
  937.     DEC Ultrix
  938.           `/usr/lib/DPS/outline/decwin'
  939.  
  940.     DEC OSF/1
  941.           `/usr/lib/X11/fonts/Type1Adobe'
  942.  
  943.     IBM AIX
  944.           `/usr/lpp/DPS/fonts/outlines'
  945.  
  946.     NeXT
  947.           `/NextLibrary/Fonts/outline'
  948.  
  949.     SGI IRIX
  950.           `/usr/lib/DPS/outline/base'
  951.  
  952.     Sun Solaris
  953.           `/usr/openwin/lib/X11/fonts/Type1/outline'
  954.  
  955.      The NeXT system supplies more fonts than the others, but the sets
  956.      are overlapping.  See the distributed `psfonts.map' for which
  957.      fonts each system supplies.
  958.  
  959.   9. `make distclean'.  This removes all files created by the build.
  960.  
  961.  
  962.   *Note Debug Options::, for runtime debugging options that may help
  963. track down problems.
  964.  
  965.   *Note Reporting bugs: (kpathsea)Reporting bugs, for the bug reporting
  966. address and information. (Also at the end of `kpathsea/INSTALL'.)
  967.  
  968. 
  969. File: dvips.info,  Node: Problems,  Next: Color,  Prev: Installation,  Up: Top
  970.  
  971. Diagnosing problems
  972. *******************
  973.  
  974.   You've gone through all the trouble of installing dvips, carefully
  975. read all the instructions in this manual, and still can't get something
  976. to work.  This is all too common, and is usually caused by some broken
  977. PostScript application out there.  The following sections provide some
  978. helpful hints if you find yourself in such a situation.
  979.  
  980.   In all cases, you should attempt to find the smallest file that causes
  981. the problem.  This will not only make debugging easier, it will also
  982. reduce the number of possible interactions among different parts of the
  983. system.
  984.  
  985. * Menu:
  986.  
  987. * Debug Options::               To see low-level operations.
  988. * No Output::                   No Output At All
  989. * Small or Inverted::           Output Too Small or Inverted
  990. * Printer Errors::
  991. * 400 DPI::                     400 dpi is used instead of 300 dpi
  992. * Long Documents Fail::         Long Documents Fail To Print
  993. * Including Graphics Fails::
  994. * Unable to Generate Fonts::
  995.  
  996. 
  997. File: dvips.info,  Node: Debug Options,  Next: No Output,  Up: Problems
  998.  
  999. Debug Options
  1000. =============
  1001.  
  1002.   The `-d' flag to dvips is very useful for helping to track down
  1003. certain errors.  The parameter to this flag is an integer that tells
  1004. what errors are currently being tracked.  To track a certain class of
  1005. debug messages, simply provide the appropriate number given below; if
  1006. you wish to track multiple classes, sum the numbers of the classes you
  1007. wish to track.  To track all classes, you can use `-1' (output is
  1008. extremely voluminous).  Another useful value is `3650', which tracks
  1009. everything having to do with file searching and opening.
  1010.  
  1011.   The classes are:
  1012.  
  1013. 1
  1014.      specials
  1015.  
  1016. 2
  1017.      paths
  1018.  
  1019. 4
  1020.      fonts
  1021.  
  1022. 8
  1023.      pages
  1024.  
  1025. 16
  1026.      headers
  1027.  
  1028. 32
  1029.      font compression
  1030.  
  1031. 64
  1032.      files
  1033.  
  1034. 128
  1035.      memory
  1036.  
  1037. 256
  1038.      Kpathsea `stat' calls
  1039.  
  1040. 512
  1041.      Kpathsea hash table lookups
  1042.  
  1043. 1024
  1044.      Kpathsea path element expansion
  1045.  
  1046. 2048
  1047.      Kpathsea path searches
  1048.  
  1049. 
  1050. File: dvips.info,  Node: No Output,  Next: Small or Inverted,  Prev: Debug Options,  Up: Problems
  1051.  
  1052. No Output At All
  1053. ================
  1054.  
  1055.   If you are not getting any output at all, even from the simplest
  1056. one-character file (for instance, `\ \bye'), then something is very
  1057. wrong.  Practically any file sent to a PostScript laser printer should
  1058. generate some output, at the very least a page detailing what error
  1059. occurred, if any.  Talk to your system administrator about downloading a
  1060. PostScript error handler.  (Adobe distributes a good one called
  1061. `ehandler.ps'.)
  1062.  
  1063.   It is possible, especially if you are using non-Adobe PostScript, that
  1064. your PostScript interpreter is broken.  Even then it should generate an
  1065. error message.  I've tried to work around as many bugs as possible in
  1066. common non-Adobe PostScript interpreters, but I'm sure I've missed a
  1067. few.
  1068.  
  1069.   If dvips gives any strange error messages, or compilation on your
  1070. machine generated a lot of warnings, perhaps the dvips program itself is
  1071. broken.  Carefully check the types in `dvips.h' and the declarations in
  1072. the `Makefile', and try using the debug options to determine where the
  1073. error occurred.
  1074.  
  1075.   It is possible your spooler is broken and is misinterpreting the
  1076. structured comments.  Try the `-N' flag to turn off structured comments
  1077. and see what happens.
  1078.  
  1079. 
  1080. File: dvips.info,  Node: Small or Inverted,  Next: Printer Errors,  Prev: No Output,  Up: Problems
  1081.  
  1082. Output Too Small or Inverted
  1083. ============================
  1084.  
  1085.   If some documents come out inverted or too small, your spooler is not
  1086. supplying an end of job indicator at the end of each file.  (This
  1087. happens a lot on small machines that don't have spoolers.)  You can
  1088. force dvips to do this with the `-F' flag, but note that this generates
  1089. files with a binary character (control-D) in them.  You can also try
  1090. using the `-s' flag to enclose the entire job in a save/restore pair.
  1091.  
  1092. 
  1093. File: dvips.info,  Node: Printer Errors,  Next: 400 DPI,  Prev: Small or Inverted,  Up: Problems
  1094.  
  1095. Error Messages From Printer
  1096. ===========================
  1097.  
  1098.   If your printer returns error messages, the error message gives very
  1099. good information on what might be going wrong.  One of the most common
  1100. error messages is `bop undefined'.  This is caused by old versions of
  1101. Transcript and other spoolers that do not properly parse the setup
  1102. section of the PostScript.  To fix this, turn off structured comments
  1103. with the `-N' option, but make sure you get your spooling software
  1104. updated.
  1105.  
  1106.   Another error message is `VM exhausted'.  (Some printers indicate
  1107. this error by locking up; others quietly reset.)  This is caused by
  1108. telling dvips that the printer has more memory than it actually does,
  1109. and then printing a complicated document.  To fix this, try lowering the
  1110. parameter to `m' in the configuration file; use the debug option to
  1111. make sure you adjust the correct file.
  1112.  
  1113.   Other errors may indicate that the graphics you are trying to include
  1114. don't nest properly in other PostScript documents, or any of a number of
  1115. other possibilities.  Try the output on a QMS PS-810 or other Adobe
  1116. PostScript printer; it might be a problem with the printer itself.
  1117.  
  1118. 
  1119. File: dvips.info,  Node: 400 DPI,  Next: Long Documents Fail,  Prev: Printer Errors,  Up: Problems
  1120.  
  1121. 400 DPI Is Used Instead Of 300 DPI
  1122. ==================================
  1123.  
  1124.   This common error is caused by not editing the `config.ps' file to
  1125. reflect the correct resolution for your site.  You can use the debug
  1126. flags (`-d64') to see what files are actually being read.
  1127.  
  1128. 
  1129. File: dvips.info,  Node: Long Documents Fail,  Next: Including Graphics Fails,  Prev: 400 DPI,  Up: Problems
  1130.  
  1131. Long Documents Fail To Print
  1132. ============================
  1133.  
  1134.   This is usually caused by incorrectly specifying the amount of memory
  1135. the printer has in `config.ps'; see the description above.
  1136.  
  1137.