home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / os2 / dvidrv1.arj / EMTEX / DOC / ENGLISH / DVIDRV.DOC next >
Encoding:
Text File  |  1990-09-25  |  81.2 KB  |  1,859 lines

  1. ==============================================================================
  2. DVIDRV 1.4d                                                VERSION: 25.09.1990
  3. ==============================================================================
  4.  
  5. The dvidrv drivers output DVI files to a printer or to the screen.  They will
  6. work with the following font file types:
  7.  
  8.         Extension       ID
  9.          PXL           1001     (32-bit words)
  10.          PXL           1002     (8-bit words)
  11.          PK              89     (packed)
  12.  
  13. The font files do not have to have one of these extensions as their format is
  14. determined by their contents.  PK font files with an ID of 87 can NOT be used!
  15.  
  16. In addition font libraries -- a dvidrv feature -- can be used.  These contain
  17. several font files saving disk space and processing time.  By gathering
  18. font files into libraries the number of files in directories is reduced.
  19. Disadvantages are the size of the resulting libraries and the amount of time
  20. spent in updating fonts.  For more information see the fontlib document.
  21.  
  22. dvidrv includes the following drivers:
  23.  
  24.         dviscr  screen previewer (CGA, EGA, VGA, HGC, and other adapters)
  25.         dvivik  screen previewer (Viking I)
  26.         dvimsp  create graphic file (MSP or PCX)
  27.         dvihplj HP LaserJet+, HP DeskJet and Kyocera F-1010
  28.         dvidot  dot-matrix printers (configurable)
  29.  
  30. The following parameter files for dvidot are supplied:
  31.  
  32. Param.   Printers                  Resolution Environ.  /pf*
  33. file     (incomplete list)          h x v DPI variable  default setting
  34. ------------------------------------------------------------------------------
  35. fx80     EPSON FX and RX series     240x216   DVIFX     \emtex\pixel.fx\$rdpi
  36. fx100    EPSON FX and RX series     240x216   DVIFX     \emtex\pixel.fx\$rdpi
  37. lql      EPSON LQ series            180x180   DVILQL    \emtex\pixel.p6l\$rdpi
  38. lqm      EPSON LQ series            360x180   DVILQM    \emtex\pixel.p6m\$rdpi
  39. lqh      EPSON LQ series            360x360   DVILQH    \emtex\pixel.p6h\$rdpi
  40. lqwl     EPSON LQ series (wide)     180x180   DVILQL    \emtex\pixel.p6l\$rdpi
  41. lqwm     EPSON LQ series (wide)     360x180   DVILQM    \emtex\pixel.p6m\$rdpi
  42. lqwh     EPSON LQ series (wide)     360x360   DVILQM    \emtex\pixel.p6h\$rdpi
  43. p6l      NEC P6                     180x180   DVIP6L    \emtex\pixel.p6l\$rdpi
  44. p6m      NEC P6                     360x180   DVIP6M    \emtex\pixel.p6m\$rdpi
  45. p6h      NEC P6, Panasonic KX-P1124 360x360   DVIP6H    \emtex\pixel.p6h\$rdpi
  46. p7l      NEC P7                     180x180   DVIP6L    \emtex\pixel.p6l\$rdpi
  47. p7m      NEC P7                     360x180   DVIP6M    \emtex\pixel.p6m\$rdpi
  48. p7h      NEC P7                     360x360   DVIP6H    \emtex\pixel.p6h\$rdpi
  49. itoh     C.ITOH 8510A               160x144   DVIITOH   \emtex\pixel.ito\$rdpi
  50. aiw      Apple Imagewriter          160x144   DVIAIW    \emtex\pixel.aiw\$rdpi
  51. dmp130   Tandy DMP-130              240x216   DVIDMP    \emtex\pixel.fx\$rdpi
  52. ibm4201  IBM Proprinter 4201        240x216   DVI4201   \emtex\pixel.fx\$rdpi
  53. ibm4202  IBM Proprinter 4202        240x216   DVI4202   \emtex\pixel.fx\$rdpi
  54. ibm4207l IBM Proprinter 4207        180x180   DVI4207L  \emtex\pixel.p6l\$rdpi
  55. ibm4207m IBM Proprinter 4207        360x180   DVI4207M  \emtex\pixel.p6m\$rdpi
  56. ibm4208l IBM Proprinter 4208        180x180   DVI4208L  \emtex\pixel.p6l\$rdpi
  57. ibm4208m IBM Proprinter 4208        360x180   DVI4208M  \emtex\pixel.p6m\$rdpi
  58.  
  59. Printers of type Proprinter 4207 and 4208 must be set to AGM (see printer's
  60. manual).
  61.  
  62. Not all printers of the EPSON LQ series support 360x360 DPI (lqh.dot and
  63. lqwh.dot).
  64.  
  65. Parameter files for other printers can be easily constructed - see makedot.doc.
  66.  
  67. If memory in real mode (DOS) is short, dviscrs.exe should be used instead of
  68. dviscr.exe -- dviscrs.exe may only be renamed if it is run under DOS 3.0 or
  69. later. This version runs in real mode, needs less memory is somewhat
  70. slower.  Otherwise it behaves exactly like dviscr, for instance, the default
  71. name for the log file is `dviscr.dlg'.
  72.  
  73.  
  74. Running dvidrv
  75. ==============
  76.  
  77. dviscr ?
  78. dvivik ?
  79. dvimsp ?
  80. dvihplj ?
  81. dvidot ?
  82.         display the more common options, to get a list of all the options,
  83.         type ?? instead of ?
  84.  
  85. dviscr  [options] input-file [options]
  86. dvivik  [options] input-file [options]
  87. dvimsp  [options] input-file [options] output-file [options]
  88. dvihplj [options] input-file [options] output-file [options]
  89. dvidot  parameter-file [options] input-file [options] output-file [options]
  90.  
  91. If arguments are omitted the program will prompt for them (cf. the // option.)
  92. dvidot is an exception: the parameter file name must always be present.
  93. More than one argument may be entered at each prompt, these arguments will be
  94. interpreted as if they had been entered on the command line.  A null entry for
  95. the input file will cause the file `texput' to be used.
  96.  
  97. The dvidot parameter files (the default extension is .dot) are sought in the
  98. directories listed in the PATH environment variable. The name of the file MUST
  99. be given on the command line and must be the first argument.
  100.  
  101. For dvimsp the default extension for output files is `msp' (/o1 or /o2 used)
  102. or `pcx' (/op used) but the other drivers have no default. The output
  103. filename can be PRN, LPT2, COM2 if required (not for dvimsp, of course).
  104.  
  105. If the output is sent to a file then the file can be printed with
  106.  
  107.         COPY /B file PRN
  108.  
  109. The `/b' is important as otherwise the copy will terminate at the first ^Z
  110. byte encountered.
  111.  
  112. Under OS/2 a hyphen can be put in place of the output file name, output will
  113. then be sent to stdout and can be piped into another program.
  114.  
  115. Usually, dvimsp creates only one graphic file, containing the first selected
  116. sheet.  Multiple graphic files (one for each sheet) can be created with one
  117. dvimsp run by using one or more (consecutice) `?' in the output file name.
  118. The question marks will be replaced by a number (with leading zeros): 1 for
  119. the first sheet, 2 for the second, and so on.  If there's one `?', up to
  120. 9 graphic files will be created, if there are two `?', up to 99 graphic
  121. files will be created, and so on. Example:
  122.     dvimsp @lj.cnf mytext page??
  123. creates the graphic files page01.msp to (at most) page99.msp.
  124.  
  125. When entering the options in response to a driver prompt the `-' or `/',
  126. which is required on the command line, need not be entered.
  127.  
  128. An input filename, output filename or option can be replaced by
  129. @response-file. This will cause the lines in the response file to be
  130. read and interpreted at this point after which interpretation of the command
  131. line will continue. The response file line length may not exceed 127
  132. characters.  An example:
  133.  
  134.         dvidot fx80 @fx.cnf test prn
  135.  
  136. First the arguments in fx.cnf will be processed, the file test.dvi will be
  137. printed with the output going to the device PRN. @response-file can be entered
  138. at a program prompt as well as on the command line though, in this case, the
  139. arguments read from the file will not be displayed on the screen.
  140.  
  141. Arguments can also be passed to the program through environment variables
  142. which are scanned for first.
  143.  
  144. It is recommended, however, that only options, or response files containing
  145. only options, are put into environment variables; if a file name is entered
  146. then only this file can be processed.
  147.  
  148. The first environment variable looked for is DVIDRV and the next is one with
  149. the same name as the driver. dvidot uses a further environment variable with
  150. a name set in the parameter file.
  151. For example, to set /pd=c:\mydvi as a default option for dviscr, the operating
  152. system command:
  153.  
  154.    set dviscr=/pd=c:\mydvi
  155.  
  156. can be given.
  157.  
  158. Options which are common to all the drivers should appear in the DVIDRV
  159. environment variable. If, for instance, units should all be in mm then the
  160. system command
  161.  
  162.     set dvidrv=/umm
  163.  
  164. can be entered. This will affect all the drivers.
  165.  
  166. Before evaluating an argument line be it the command line, a prompted line, an
  167. environment variable or a line from a response file, all elements of the form
  168. `%name%' will be replaced by the contents of the environment variable NAME
  169. (as in batch files).  If there is no environment variable with this name, the
  170. token is ignored.  If the environment variable NAME also contains a token
  171. %name% then it will not be expanded but copied without change.  This
  172. construction is of most use in response files: for example, to set
  173. directories with an environment variable without making changes to the
  174. response file.
  175.  
  176. A single % starts a comment: all characters to the end of the line will be
  177. ignored.
  178.  
  179. A `@' at the beginning of a line (column 1) causes the rest of the file to be
  180. ignored - this allows a driver log file to be used as a response file.
  181.  
  182.  
  183. Options
  184. =======
  185.  
  186. `#' stands for a number which will sometimes be followed by a dimension (the
  187.     dimension must be in lowercase).
  188.  
  189. `+' stands for `+' or `-'.  + turns the option on, - turns it off.  If the
  190.     option is not followed by either + or -, it is turned ON.
  191.  
  192. `*' stands for any other type of argument
  193.  
  194. All options must be preceded by - or /. Options may be separated by spaces
  195. or another option may follow immediately: in this case the following option
  196. must start with /. There must be no space between an option and its argument:
  197. however, they can be separated by :, = or :=, for example
  198.  
  199.         /t10mm
  200.         /t:10mm
  201.         /t=10mm
  202.         /t:=10mm
  203.  
  204. are all acceptable forms.
  205.  
  206. Options which require a file or directory name (for instance, /pf* and /pl*)
  207. can also have :, = or := between the option and its argument.
  208.  
  209. Note: = may not appear in an environment variable and cannot be given as an
  210. argument to a batch file.  Semicolon can also not appear as an argument to a
  211. batch file (in connection with lists of files and directories).
  212.  
  213.  
  214. Options for message output
  215. ==========================
  216.  
  217. /?  display help and default or actual values (only displays necessary
  218.     options)
  219.  
  220. /?? display help and default or actual values (displays all options,
  221.     including those set only once)
  222.  
  223. /v# verbosity
  224.         /v0     only fatal error messages
  225.         /v1     /v0 plus page numbers and font substitutions in batch mode
  226.         /v2     /v1 plus serious warnings, `Loading ...' and the DVI file
  227.                 comment
  228.         /v3     /v2 plus all warnings and \special's
  229.         /v4     /v3 plus statistics and the names of font files
  230.         /v5     /v4 plus comments in the font files
  231.  
  232.         the default is /v2
  233.  
  234.         Note that /fl-1 suppresses font comments and warnings of absurdities
  235.         in the font files.
  236.  
  237.  
  238. Page selection options
  239. ======================
  240.  
  241. These options select the pages to be printed. In the following the difference
  242. between "pages" and "sheets" should be noted: There may be multiple pages
  243. on one sheet (n-up printing, see below), the sheets are numbered sequentially,
  244. the pages are numbered according to the TeX page number assigned to them.
  245.  
  246. The options are applied in the order they are shown below.
  247.  
  248. Initially, all pages are to be printed.  The first option removes certain
  249. pages from consideration, the second then restricts the remaining pages and so
  250. on.
  251.  
  252. /b*     Select the first sheet to be printed. The DVI file will then be read
  253.         from the beginning until a matching page is encountered.  Further page
  254.         selection will now begin, starting at the sheet containing this page.
  255.         An asterisk stands for any page number: at most 10 numbers can be
  256.         given which will be compared with \count0 to \count9 -- omitted
  257.         numbers will be replaced with *.  The default is * which means begin
  258.         at the first page in the file.
  259.         Example:        /b-3.*.4        selection begins with the page having
  260.                                         \count0=-3 and \count2=4
  261.  
  262. /e*     Select the last sheet.  After finding a suitable first sheet, the DVI
  263.         file search will continue until a page matching this option's
  264.         specification is encountered. The sheet containing this page will be
  265.         the last one.  The sheets encompassing the range of pages selected
  266.         by /b* and /e* will remain selected.  The default is *: this is an
  267.         exception, it means that NO matching for the last page will take place.
  268.         Example:        /e10.5          the last sheet is the one containing
  269.                                         the page with the page number 10.5
  270.  
  271. /2*     Double sided printing: every other sheet is selected.  /2o (odd)
  272.         selected sheets 1., 3., ..., /2e (even) selects the sheets 2., 4., ...
  273.         The default is /2-, all sheets are selected.
  274.         Example:        /2o             double sided printing, first part
  275.                         /2e             double sided printing, second part
  276.  
  277. /k#     The number of sheets to skip: the first # of the sheets in the chosen
  278.         range will be skipped.
  279.         The default is 0.
  280.         Example:        /k1             skip one sheet
  281.  
  282. /n#     The number of sheets to print: at most # sheets will be printed.
  283.         Default: no limit.
  284.         Example:        /n=10           at most 10 sheets will be printed
  285.  
  286. /z+     Print the sheets in reverse order, starting with the last sheet
  287.         selected.  The default is /z-, print the first sheet first.
  288.  
  289. /np#    Print # copies of each sheet: each sheet will be printed # times before
  290.         going on to the next sheet (default: 1 -- print each sheet once
  291.         only). This option is not supported by dviscr, dvivik and dvimsp.
  292.  
  293. /nf#    Print the whole file # times (default: 1 -- print the file once only).
  294.         If, with the option setting /np1/nf1 (default), sheets 1 and 2 are
  295.         printed then, with the options /np2/nf3, these sheets will be printed
  296.         in the following order: 1 1 2 2 1 1 2 2 1 1 2 2
  297.         This option is not supported by dviscr, dvivik and dvimsp.
  298.  
  299.  
  300. Font options
  301. ============
  302.  
  303. Most of these options are set only once, during installation (in a
  304. response file).
  305.  
  306. /fb     Batch mode. If a font is not found then it is sought first in
  307.         magnification 1000, if it is still not found then cmr10 in the
  308.         required magnification is sought, if this also fails then cmr10 at
  309.         1000 is sought.) It is a fatal error if this search fails and the
  310.         program will terminate.  This font search method can be altered with
  311.         a font substitution file.  If a graphic file is not found and batch
  312.         mode has been selected then again the program will end. /fb is
  313.         switched off by either /fc or /fi.
  314.  
  315. /fc     Change mode. Before a font or graphic file is loaded, the name of the
  316.         file can be changed.
  317.         /fc is switched off by either /fc or /fi.
  318.  
  319. /fd#    This sets the internal variable max_drift. If the character or line
  320.         spacing is uneven, a different value can be tried: the usual values
  321.         range from 0 to 3.  The default value is not the same for all drivers,
  322.         use /?? to find out what it is.
  323.  
  324. /fi     Interactive mode (default). If a font or graphic file cannot be found,
  325.         the user is asked for help.
  326.         /fi is switched off by either /fb or /fc.
  327.  
  328. /fl#    Font load limit. When the driver first loads the font parameters from
  329.         a font file (`Loading font ...') all the characters are loaded
  330.         which need no more than # bytes of memory.  /fl-1 is a special
  331.         case: the font parameters are loaded only when needed;  initially,
  332.         only the existence of the font file is checked. /fl-1, however, also
  333.         stops   warnings about absurdities in the font files and should only
  334.         be used when you are sure that the fonts are alright.
  335.         The default is 300, that is, all characters which need 300 or fewer
  336.         bytes of memory are immediately loaded.  If later a (larger) character
  337.         is required which has not yet been loaded, the font file will have to
  338.         be opened again.
  339.         If dviscr or dvivik is used with fonts on a fixed disk, it is better
  340.         to use /fl0 or /fl-1 as the first page appears on the screen more
  341.         quickly (initial font load takes a little time.)
  342.         If the driver complains about lack of memory, it may help (but not
  343.         necessarily) to use /fl0 or /fl-1; this doesn't reduce the memory
  344.         required by the driver but may improve the way the available memory is
  345.         used.
  346.         Example:        /fl=0           no initial character loading
  347.                         /fl-1           load characters on demand
  348.                         /fl:1000        initial load of all characters smaller
  349.                                         than 1000 bytes
  350.  
  351. /fs#    Font scaling. These options are used to reduce the size of the font
  352. /fsx#   allowing a font generated for a higher resolution device to be used
  353. /fsy#   at a lower resolution (disk space!). The reduction is accomplished
  354.         by replacing the points in the rectangle of width /fsx# and height
  355.         /fsy# by a single point. If the rectangle is a square, /fs# can be
  356.         used to set the width and height to the same value. The values may
  357.         lie in the range 1 to 8. Fonts reduced by this method appear markedly
  358.         worse than fonts generated by Metafont directly. The desired
  359.         resolution must be set with the /rf# option.
  360.         Example:    /r180/fsx2/rfx360     replace the P6L fonts with
  361.                                           reduced P6M fonts
  362.  
  363.  
  364. Page layout options
  365. ===================
  366.  
  367. /tr#    Output transformation
  368.                 /tr0    normal output
  369.                 /tr1    rotate 90 degrees anticlockwise
  370.                 /tr2    rotate 180 degrees
  371.                 /tr3    rotate 270 degrees anticlockwise
  372.                 /tr4    reflect in the \ diagonal
  373.                 /tr5    reflect vertically
  374.                 /tr6    reflect in the / diagonal
  375.                 /tr7    reflect horizontally
  376.  
  377.         In practice only /tr0 and /tr1 are most often used.
  378.  
  379.         The transformations when applied to the pattern
  380.  
  381.                 A B
  382.                 C D
  383.                 E F
  384.         are
  385.  
  386.              0       1       2       3        4       5       6       7
  387.             A B    B D F    F E    E C A    A C E    E F    F D B    B A
  388.             C D    A C E    D C    F D B    B D F    C D    E C A    D C
  389.             E F             B A                      A B             F E
  390.  
  391.         Important: set the page height and width correctly with /h# and /w#
  392.                 (for coordinate transformations)
  393.         Note:   the same page dimensions can be used for all transformations,
  394.                 that is, /h# and /w# need not be changed.  The margins set
  395.                 with /t# and /l# are `above' or (to the) `left' (of) the text
  396.                 and will be transformed.  The same goes for /cx# and /cy#.
  397.                 However, the borders set by /la# and /ta# are `printer
  398.                 borders' and will not be transformed.
  399.         Note:   if /rx# and /ry# differ then different fonts will be needed
  400.                 when rotating by 90 or 270 degrees or reflecting in a diagonal
  401.                 -- this applies to the Epson FX-80/100, NEC P6/P7 (360x180dpi)
  402.                 C.Itoh 8510A and Apple Imagewriter printers.
  403.         Note:   for key assignments for dviscr/dvivik see <K> and <T>.
  404.  
  405.         Current limitations for the transformations 1 to 7:
  406.             --  large characters don't work
  407.             --  \special{em:graph} doesn't work
  408.  
  409. /h#     Set the page height.  This value is used by dviscr and dvivik to
  410.         display the page edges as lines.  dvimsp uses this value to set the
  411.         size of the graphic file unless /om+ is selected.  Printer drivers use
  412.         this value to decide how much of the page can be printed; however,
  413.         form feed is used to throw a page and so the physical page length must
  414.         be set on the printer.  `dvidot itoh' and `dvidot aiw' are an
  415.         exception, they use the value set by /hf# for page throws.
  416.  
  417.         Example:        /h12in          set the page height to 12in
  418.  
  419. /l#     Left margin: the printed page will be moved # to the right.
  420.         Default: 1in.
  421.         Example:        /l1cm           set the left margin to 1cm
  422.  
  423. /la#    Adjust the left margin.  Print adjust.dvi with the options /la0/l0 and
  424.         measure the distance from the left margin to the printed square. Take
  425.         an inch (25.4mm) off this and use the resulting value with /la#.  This
  426.         will give the exact margin requested with /l#.
  427.         More exactly: with /la=x and /l=y the printed page will be moved to
  428.         the right by y-x.  The default value depends on the driver.
  429.  
  430. /t#     Top margin.  The printed page will be moved down the page by #.
  431.         Default: 1in.
  432.         Example:        /t-.5           everything moved down the page by 1/2
  433.                                         units (assuming /ta0; units are
  434.                                         normally inches, cf /u*).
  435.  
  436. /ta#    Adjust the top margin.  Print adjust.dvi and measure the distance from
  437.         the top edge of the paper to the square.  Take 1 inch (25.4mm) from
  438.         this value and use the result with /ta#.  This will then give a top
  439.         margin of # with /t#.
  440.         More exactly: with the options /ta=x /t=y the printed page is moved
  441.         y-x down the page.  The default value depends on the driver.
  442.  
  443. /w#     Set the page width. dviscr and dvivik use this value in displaying the
  444.         edge of the page. dvimsp uses this value to determine the size of the
  445.         graphic file unless /om+ is given. The dvidot driver reduces this
  446.         value by 1px if the value given is exactly the maximum page width.
  447.         'dvidot fx80', for example, reduces this width by 1px if, when
  448.         converted, it is exactly 1920px.
  449.         Example:        /w22cm          set the page width to 22cm
  450.  
  451.  
  452. Two-up printing and changing margins
  453. ====================================
  454.  
  455. /c?     Display all /cx# and /cy# values
  456.  
  457. /cf#    Starting value for displacement index (default: 1).  The displacement
  458.         index selects the pairs of /cx# and /cy# values which will be used for
  459.         the current page. The index is increased by 1 for each page, when the
  460.         final value is passed, the index is reset to 1. The final value is
  461.         given by /cp# or is taken as the highest index set by /ci# depending
  462.         on which is the greater. On the first page positions 1 and #-1 remain
  463.         unused.  Note: /cf# affects the page selection.
  464.  
  465.         Example:        /ci2/cx4in
  466.                         /cp2/cf2        Two pages will be printed on each
  467.                                         sheet. The first page will be printed
  468.                                         the RIGHT half of the first sheet, the
  469.                                         second on the LEFT half of the second
  470.                                         sheet and the third on the RIGHT half
  471.                                         of the second sheet, and so on.
  472.  
  473. /ci#    This selects the index for the following /cx# and /cy# values. There
  474.         is a shift of the whole printed page (determined by /l#, /la#, /t# and
  475.         /ta#) and a shift of each individual page which is printed on the same
  476.         sheet.  Up to 16 pages can be printed on 1 sheet of paper output and
  477.         the x and y offsets of a component page are saved in one of the 16
  478.         positions selected by # (the standard values are in /cx0 and /cy0).
  479.         /ci without an argument increments the current value of the index by 1.
  480.         The initial value of the index is 1.
  481.         The highest value of # -- or the value set by /cp#, if greater --
  482.         determines how many different page positions there are.
  483.         Example:        /ci2/cx4in      the page in position 2 is shifted
  484.                                         4in to the right.
  485.  
  486. /cp#    This sets the number of pages to be printed on a sheet. This value can
  487.         be smaller than the number of page positions but must then be a
  488.         divisor (otherwise the result will be somewhat unusual). Initial value
  489.         is 1. If there are 4 page positions set (with /cp2 and /cf1) then the
  490.         pages will be positioned on the sheet in the following manner:
  491.                 Page    Sheet   Position
  492.                  1        1        1
  493.                  2        1        2
  494.                  3        2        3
  495.                  4        2        4
  496.                  5        3        1
  497.         and so on. Here two pages are printed on each sheet with the sheets
  498.         alternating between two margin settings -- with a suitable choice of
  499.         page position, of course.
  500.  
  501. /cx#    the x and y offsets of the page in the position selected by the
  502. /cy#    preceding /ci#.
  503.  
  504. A complete example:
  505.         /ci2 /cx4in
  506.         /ci3 /cy4in
  507.         /ci4 /cx4in /cy4in
  508.         /cp4
  509.  
  510.                 Printing 4 pages on a sheet: the positions selected are:
  511.                         1:      /cx0in /cy0in   (top left)
  512.                         2:      /cx4in /cy0in   (top right)
  513.                         3:      /cx0in /cy5in   (bottom left)
  514.                         4:      /cx4in /cy5in   (bottom right)
  515.  
  516.         /cx-1cm /ci /cx1cm
  517.  
  518.                 The first page will be offset 1cm to the left, the second 1cm
  519.                 to the right, the third 1cm to the left, and so on (one page
  520.                 is printed on each sheet).
  521.  
  522. You are advised to create a response file for each variant which can then be
  523. put into effect by simply including @response-file in the arguments. Thus the,
  524. not exactly simple, calculation of the appropriate offsets need be done only
  525. once.
  526.  
  527. Example (dviscr @twoup /o8):
  528.  
  529. % twoup
  530. /ci1 /cx0 /cy0
  531. /ci2 /cx8.5in /cy0
  532. /cp2
  533. /cf1
  534. /w17in
  535.  
  536.  
  537. Magnification and resolution
  538. ============================
  539.  
  540. /m#     the magnification in the DVI file is replaced by # which can take any
  541.         value from 100 to 16000. The values are the same as those used for
  542.         \mag, that is, the magnification multiplied by 1000 (/m1000 gives the
  543.         normal size) or as h, 0 to 5, they represent \magstephalf, \magstep0
  544.         to \magstep5.  The values 6 to 9 will be similarly interpreted.
  545.         Make sure that fonts in the sizes chosen are available!
  546.         Example:        /m1200          magnified by 1.2
  547.                         /m500           reduced to half size
  548.                         /mh             magnification by 1.095
  549.                         /m1414.213562   magnified by sqrt(2)
  550.  
  551. /r#     set the resolution. /rx# sets the horizontal resolution, /ry# the
  552. /rx#    vertical and /r# both at once.  The default value depends on the
  553. /ry#    driver:
  554.                 dviscr    /r300
  555.                 dvivik    /r300
  556.                 dvimsp    /r300
  557.                 dvihplj   /r300
  558.                 dvidot    set in the parameter file
  559.         These values are in dots/inch (dpi).
  560.         Make sure that the appropriate fonts are available!
  561.         A number of parameters can only be calculated when the resolution is
  562.         known: the driver will only convert the values when all the options
  563.         have been read. Therefore the /r# option doesn't have be the first one.
  564.         See also /rf#.
  565.         Example:        /r180           the resolution is 180dpi
  566.  
  567. /rf#    Set the font resolution, the argument is in dpi. This option will
  568. /rfx#   usually be used together with /fs#. The horizontal and vertical
  569. /rfy#   resolution can be set individually with /rfx# and /rfy#. If /rf#
  570.         is omitted, the value used for the font will be that set by /r#.
  571.  
  572. /rg#    Set the resolution for the graphic files, the argument is in dpi.
  573. /rgx#   This option merely sets the values which will be used for $r and
  574. /rgy#   $s in /pg*. The horizontal and vertical resolution can be set
  575.         individually with /rgx# and /rgy#. If /rg# is omitted, the value
  576.         used will be that set by /r#,
  577.  
  578.  
  579. Directory and file name options
  580. ===============================
  581.  
  582. /p@*    the default directory for response files. If a response file is
  583.         not found it is sought in the list of directories given by /p@*.  If
  584.         it is still not found, the directories listed in the PATH environment
  585.         variable are searched.  The default value is \emtex\texinput.
  586.         Example:        /p@c:\emtex\dvidrv\
  587.  
  588. /pd*    the default directory for DVI files.  If a DVI file is not found, it
  589.         is sought in the list of directories given by /pd*.
  590.         The default value is \emtex\texinput.
  591.         Example:        /pd=d:\dvi\;d:\mytex
  592.  
  593. /pf*    the default directory for font files.  Font files are sought in the
  594.         list of directories given by /pf*.  In the directory list `$s' is
  595.         replaced by the (obsolete) PXL size (resolution in dpi multiplied by 5)
  596.         and `$r' by the resolution (dpi) -- note that both must be in lowercase.
  597.         The default directory depends on the driver:
  598.                 dviscr  \emtex\pixel.lj\$rdpi
  599.                 dvivik  \emtex\pixel.lj\$rdpi
  600.                 dvimsp  \emtex\pixel.lj\$rdpi
  601.                 dvihplj \emtex\pixel.lj\$rdpi
  602.                 dvidot  set in the parameter file, cf. the table above
  603.         If more than one path is given they must be separated by semicolons.
  604.         The entry:
  605.                 /pfc:\fonts\pxl$s;c:fonts\dpi$r
  606.         when used to seek the font cmr10<300> will cause the following two
  607.         directories to be searched
  608.                 \fonts\pxl1500
  609.                 \fonts\dpi300
  610.         See also the search rules for fonts.
  611.         Example:        /pf=c:\fonts\epson\$r
  612.  
  613. /pg*    the default directory for graphic files.  A graphic file will first be
  614.         sought in the current directory and then, if not found, in the
  615.         directories given by /pg*.  Here again `$s' will be replace by the
  616.         magnification and `$r' by the resolution (they must be in lowercase).
  617.         The name used for the search will be that given in the
  618.                 \special{em:graph xxx}
  619.         command.  If this is not found and it doesn't have an extension, the
  620.         files xxx.msp and xxx.pcx will also be looked for and used if found.
  621.         The default setting is \emtex\texinput.
  622.         Example:        /pg:=c:\win;c:\emtex\doc\gr$r
  623.  
  624. /pi*    printer initialization file.  The file given by /pi* will be sent to
  625.         the printer immediately after it has been reset.
  626.         Example:         /pi:unidir.p6
  627.  
  628. /pl*    this gives the names of the fonts libraries to be used. Fonts are
  629.         sought first in these libraries and then as single files.
  630.         Font libraries can be created with fontlib; the usual extension is
  631.         FLI. Directories as well as file names can be entered here, the files
  632.         will be searched for in all these directories.
  633.         Example:       /pl=c:\fonts;hplaser;myfonts
  634.  
  635. /po*    this option sets the name of the output file. If the driver is called
  636.         without an output file being given, this name will be used. Default:
  637.         no output file. It will be given the default extension (dvimsp uses
  638.         MSP or PCX, the others have no default).
  639.         Example:        /po:lpt1
  640.  
  641. /ps*    the name of the font substitution file.  The default is no
  642.         substitution file.
  643.  
  644. /pt*    the name of the log file.  The default is the name of the driver with
  645.         extension DLG (for instance, dviscr.dlg). The default extension is DLG.
  646.         All the output that follows the input of the files and options is
  647.         written to this file. It also contains the settings of all the options
  648.         for the run.  The /pt option suppresses the creation of a log file.
  649.         A log file can be later used as a response file to set up the same
  650.         conditions again.
  651.  
  652. /pv*    The directories for VF files (virtual fonts). VF files will be searched
  653.         for only in these directories. The default is no directory, that is,
  654.         virtual font files will not be sought.  If more than one directory
  655.         is listed, the directories must be separated by semicolons.
  656.  
  657. /pw*    Write a fontlib response file.  A text file containing the fontlib
  658.         commands to insert the fonts used in the run into a font library will
  659.         be generated. To generate this response file alone use the option /n0.
  660.         Example:        /pw=new.cmd
  661.         fontlib call:   fontlib new /k @new.cmd
  662.  
  663.  
  664. Miscellaneous options
  665. =====================
  666.  
  667. //      prompt for options. When // is used the driver will prompt for further
  668.         options, this can be useful when the options required exceed the
  669.         permitted length of the command line.
  670.  
  671. /u*     this option sets the default dimension unit to be used when none is
  672.         given. The default is inch. The following dimension units can be used
  673.         (cf. TeXbook p.57)
  674.                 pt      point (1/72.27in)
  675.                 pc      pica (12pt)
  676.                 in      inch (Standard)
  677.                 bp      big point (1/72in)
  678.                 cm      centimetre
  679.                 mm      millimetre
  680.                 dd      didot point (1238/1157pt)
  681.                 cc      cicero (12dd)
  682.                 sp      scaled point (1/65536pt)
  683.                 px      Pixel (resolution independent)
  684.         All these units must be entered in lowercase.
  685.         The /u* option affects the following options.
  686.         Example:        /ucm            dimensional units are centimetres
  687.                         /uMm      Error! megametres are somewhat impractical
  688.  
  689.  
  690. Additional options for dviscr and dvivik
  691. ========================================
  692.  
  693. /-      Display white on a black background.
  694.  
  695. /+      Display black on a white background (default).
  696.  
  697. /hx#    Set the initial position.  A new page will be displayed in this
  698. /hy#    position and pressing the <Home> key will cause the current page to be
  699.         displayed in this position.  /hx0 /hy0 is the top lefthand corner of
  700.         the sheet. /hx1in /hy1in is the default setting.
  701.  
  702. /o#     Display with gray scale. A rectangle of a x b pixels will be displayed
  703. /ox#    as one point. /o# sets both a and b, /ox# sets a alone and /oy# sets b
  704. /oy#    alone. An EGA (with 16 colour display) or a VGA adapter is required.
  705.         If a=b=1 there is no gray scale display. a and b can take values from
  706.         1 to 8. Really slow. The implementation is optimized for /ox# values
  707.         of 1, 2, 4 and 8.  Setting /ox# to 5 or 7 makes the driver almost
  708.         unusably slow.
  709.         If /sl is set (no scaling) and gray scale is enabled with /o# but the
  710.         adapter cannot do gray scales, the /o# values are used for scaling,
  711.         that is, /o3 is the same as /o1/s3.
  712.         Example:        /ox4/oy2
  713.  
  714. /oa#    Adapter setting, the possible values are:
  715.                 /oa0    automatic selection (default)
  716.                 /oa1    CGA 640x200
  717.                 /oa2    EGA 640x350 or 640x200
  718.                 /oa3    VGA 640x480
  719.                 /oa4    HGC 720x348, not under OS/2
  720.                 /oa5    GENOA SuperEGA 800x600, not under OS/2
  721.                 /oa6    Paradise VGA 800x600, not under OS/2
  722.                 /oa7    Video Seven VGA 800x600, not under OS/2
  723.                 /oa8    Tseng Labs EVA 800x600, not under OS/2
  724.                 /oa9    HP Vectra 640x400, not under OS/2
  725.                 /oa10   MDS Genius (PRIMUS II) 728x1008, not under OS/2
  726.                 /oa11   EGA 640x200, 16 colours
  727.                 /oa12   EGA 640x350, 16 colours
  728.                 /oa13   EGA 640x350, 16/64 colours
  729.                 /oa14   VGA 640x480, 16 colours
  730.                 /oa15   VGA 640x480, 16/64 colours
  731.                 /oa16   VGA 640x480, 16/262144 colours
  732.                 /oa17   EGA 640x350, 2 colours
  733.                 /oa18   VGA 640x480, 2 colours
  734.                 /oa19   Olivetti M24 640x400, not under OS/2
  735.  
  736.         Further modes peculiar to the adapter may be used with the following
  737.         extension of this option:
  738.             /oa=m;w;h;ax;bx
  739.         m is a number which describes the adapter and display combination:
  740.             100         EGA with monochrome display
  741.             101         EGA with 16 colour display
  742.             102         EGA with 64 colour display
  743.             103         VGA with analogue colour display
  744.         w is the screen width in pixels (320 to 1024)
  745.         h is the screen height in pixels (200 to 1024)
  746.         The graphics mode is set by loading registers AX and BX with the
  747.         arguments ax and bx before calling Int 10H. ax and bx must be given
  748.         in hexadecimal.  ';bx' can be omitted if BX is to be set to zero.
  749.         The semicolons may be replaced with colons if desired. If (w/8)*h
  750.         exceeds 65536 then h will be reduced to 65536/(w*8).
  751.         You are responsible for entering the correct values, the manual for
  752.         your adapter can sometimes give further help.
  753.         Example: the graphics mode selected by /oa13 can be represented as
  754.             /oa102:640:350:0010
  755.         and mode /oa7 is the same as
  756.             /oa103:800:600:6f05:62
  757.  
  758. /oc#    Set the colours to be used (only with EGA or VGA). The possible values
  759.         are 0 to 15, the default is /oc2 (green).  Colours can be set singly:
  760.                 /ocp#   page border
  761.                 /ocr#   ruler
  762.                 /ocs#   status line
  763.  
  764. /or+    Ruler enabled (default).
  765.  
  766. /os+    Status line enabled (default). If the status line is disabled, there
  767.         will be a beep at the beginning and end of text or numeric input.
  768.  
  769. /ou*    Select the dimension for the ruler and the status line (default is pt).
  770.  
  771. /sx#    Reduce the size of the output page, this allows more of the page to be
  772. /sy#    seen on the screen.  The pixels in a rectangle of width /sx# pixels
  773. /s#     and height /sy# pixels will be displayed as a single pixel. /s# sets
  774.         both x and y to the same value. Possible values range from 1 to 8.  If
  775.         fonts in suitable resolutions are available then it is better to
  776.         change the resolution with /r# as reduced characters are not pretty.
  777.         Even better, use gray scaling - see /o#, but only with an EGA or VGA
  778.         card and a 16 (or 64) colour display.  If gray scaling is not
  779.         possible, then scaling can be set with /o#, too.
  780.         Example:        /s2             halve the resolution (x and y)
  781.                         /sx4/sy2        reduce the width by 1/4 and halve the
  782.                                         height
  783.  
  784.  
  785. Additional options for dvimsp
  786. =============================
  787.  
  788. /-      Display white on black
  789.  
  790. /+      Display black on white (default)
  791.  
  792. /o*     Set the graphic file format: there are two different MSP file formats -
  793.         Windows 1.x (/o1) and Windows 2.x (/o2, the default). PCX files can
  794.         also be created (/op).
  795.         Example:        /op             Create a PCX file
  796.  
  797. /om+    Create the smallest picture possible.  The borders are made small
  798.         enough for the clip defined by /h# and /w# to go into the file with no
  799.         waste space. The picture in any case goes up to the top, left and
  800.         bottom margins. The righthand margin, however, can have a few empty
  801.         columns (up to 7 or, with /ow+, up to 15).  By using /l# and /t#,
  802.         non-negative margins will be ignored. By using negative margins, part
  803.         of the picture can be selected as objects with negative coordinates
  804.         will be not be drawn. The default is /om-: the file will contain a
  805.         picture of height set by /h# and width set by /w#.
  806.  
  807. /ow+    The width of the picture will be rounded up to the next greater
  808.         multiple of 16px (the default is /ow-).  Some programs which read MSP
  809.         files need this.  If you're using /op (PCX file), the width will
  810.         always be rounded up to the next greater multiple of 16px.
  811.  
  812.  
  813. Additional options for dvidot
  814. =============================
  815.  
  816. /ox+    Use XON/XOFF flow control for COM1 to COM4. Output will be sent
  817.         directly to the port. If XON/XOFF protocol is to be used then the
  818.         output file must be given as COM1, COM2, COM3 or COM4, /ox+ will be
  819.         ignored for any other output file (for example, AUX, LPT1, mytext.prn).
  820.         If /ox- is entered or the output is not to COM1 to COM4 then output
  821.         will use DOS functions. This option is unnecessary under OS/2 and is
  822.         not supported.
  823.  
  824. When using any parameter file but itoh and aiw:
  825.  
  826. /s+     Two passes per line of output. If /s+ is selected, every line will be
  827.         printed twice, the first time printing dots 1, 3, 5, ... and the
  828.         second time printing dots 2, 4, 6, ...   The default setting (/s-)
  829.         prints around twice as fast but with poorer quality as some printers
  830.         (FX-80, for instance) find it difficult to fire a needle on two
  831.         consecutive positions.
  832.  
  833. When one of the parameter files itoh or aiw is used:
  834.  
  835. /hf#    Set the page length.  For page throw to work properly the page length
  836.         must be set.  If the page length is set to 0 (0in, for example, the
  837.         default) the length defined by /h# is taken as the page length.
  838.  
  839. /s+     Slow mode.  By selecting /s+ printing will unidirectional (itoh.dot
  840.         sets also incremental print mode); the default, /s-, sets
  841.         bidirectional printing (itoh.dot set also logic seek mode).
  842.  
  843.  
  844. Additional options for dvihplj
  845. ==============================
  846.  
  847. /oc#    Delete all temporary fonts after every # pages. This may help
  848.         when there is not enough printer memory for holding all required
  849.         fonts, but requires more time.  Default is 0: don't delete fonts.
  850.         Some printers not compatible enough to the LaserJet+ require /oc0.
  851.  
  852. /od+    HP DeskJet. The output is for an HP DeskJet - this option must be
  853.         selected to output correctly to a DeskJet.
  854.  
  855. /of#    Set the initial value for font ID numbers.  The default is 0,
  856.         acceptable values are 0 to 32736. The fonts downloaded by dvihplj
  857.         to the printer will be given numbers from # to #+31. This option
  858.         allows the user avoid overwriting fonts which have already been
  859.         downloaded which the user does not want deleted. However, dvihplj
  860.         will delete all temporary fonts.
  861.  
  862. /oi+    Initialize the printer. Before any output, the printer will be
  863.         initialized (default).  This can be turned off with /oi-.
  864.  
  865. /oj+    Job offset. Some printers can offset sheets sideways in the output
  866.         tray. /oj+ will cause the output position to be switched to the
  867.         alternate offset so that the results of a sequence of print jobs
  868.         can be more easily be separated.
  869.  
  870. /ok+    Kyocera. The output is for a Kyocera F-1010. If you want to print
  871.         on the Kyocera then you must select this option.
  872.  
  873. /om#    Printer memory size. This sets the available memory on the printer
  874.         in Kbytes: the default is 394. If this value is set to 0 then there
  875.         will be no test for memory overflow.  If fonts are permanently
  876.         downloaded then this value must be appropriately reduced.  This
  877.         option will be ignored if /od+ is set.
  878.         Example:        /om1500         1.5 Mbytes of printer memory available
  879.  
  880. /ox+    Use XON/XOFF flow control for COM1 to COM4. Output will be sent
  881.         directly to the port. If XON/XOFF protocol is to be used then the
  882.         output file must be given as COM1, COM2, COM3 or COM4, /ox+ will be
  883.         ignored for any other output file (for example, AUX, LPT1, mytext.prn).
  884.         If /ox- is entered or the output is not to COM1 to COM4 then output
  885.         will use DOS functions. This option is unnecessary under OS/2 and is
  886.         not supported.
  887.  
  888.  
  889. Specifying font size (resolution)
  890. =================================
  891.  
  892. If the driver doesn't find a font, you can enter a different font size.
  893. Font sizes are also used in font substitution files.  This font size is
  894. specified in dots per inch (dpi).  As there may be some decimals, there
  895. is a more convenient method of specifying magnifications: Just append a
  896. colon and the magnification step (0 to 9, or h for 0.5) to the font size.
  897. 100:3 is an abbreviation for 172.8 (100 * 1.2 ^ 3), 300:h will be converted
  898. to 328.63353.  You can specify only the colon followed by the magnification
  899. step (without an explicit font size).  In this case, the font resolution
  900. set with the /rf# option will be magnified.  This is especially convenient
  901. in font substition files for specifying a font size independent of the
  902. device (and its resolution).
  903.  
  904.  
  905.  
  906. Font substitution file format
  907. =============================
  908.  
  909. % Comment
  910. %
  911. % The following substitutions will be made one after the other, the original
  912. % name/size pair will be converted using the first rule, the result then
  913. % converted using the second rule, and so on.
  914.  
  915. %
  916. font -> font             % e.g. am* -> cm*
  917. size -> size             % e.g. 305 -> 300
  918. font size -> font size   % e.g. cmr12 :0 -> cmr10 :1
  919. %
  920. % Delete characters or replace with a block
  921. %
  922. % Once a font has been made `black' or `white', it can not be changed back.
  923. %
  924. i* -> * /w               % Invisible, white
  925. fancy -> fancy /b        % Invisible, black
  926.  
  927. $b      % `b' like `batch mode'
  928.  
  929. % The following lines apply to batch mode, after every substitution the font
  930. % is sought again.
  931.  
  932. * * -> * :0             % Keep the name, font size:=font resolution (/rf#)
  933. * * -> cmr10 :0         % name:=cmr10, font size:=font resolution (/rf#)
  934.  
  935.  
  936. Remarks
  937. 1.      The following special characters can be used in font names (old -> new):
  938.                 ?       (old): any character matches
  939.                         (new): ? is replaced by the corresponding ? in the old
  940.                                name
  941.                         `old' and `new' must have the same number of ?, for
  942.                         example, font?? -> fnt??
  943.  
  944.                 *       (old): matches any number of characters
  945.                         (new): replaced with the characters matched by * in
  946.                         `old'
  947.                         * must be the last character in the name.
  948.                         If `new' ends with * and `old' doesn't, * will be
  949.                         ignored.
  950.  
  951.                 @       (old): matches any character
  952.                         (new): not allowed
  953.  
  954.                 A (constructed) example using all these characters:
  955.                         font substitution string:       aaa?bb@cc?dd* -> x?y?z*
  956.                         font to be found:               aaa1bb2cc3dd456
  957.                         substituted name:               x1y3z456
  958.  
  959.  
  960. Font search rules
  961. =================
  962.  
  963. As soon as the font is found, the search algorithm terminates.
  964.  
  965. Method 0:
  966.  
  967. 1.      The font name and size are converted according to the rules in the
  968.         first part of the font substitution file - ALL rules are applied one
  969.         after the other: then the font is sought under the resulting name by
  970.         method 1.
  971.  
  972. 2.      If batch mode is active (/fb option) and the font substitution file
  973.         has a second part (after `$B'), the name/size resulting from (1)
  974.         above is converted using one of the rules and this name used for a
  975.         search by method 1.  This is done for each rule in turn.
  976.  
  977. 3.      If batch mode is active (/fb option) and there is no second part to
  978.         the font substitution file, the following rules will be used instead
  979.         following the procedure in (2) above:
  980.                 * * -> * x
  981.                 * * -> cmr10 *
  982.                 * * -> cmr10 x
  983.         x is the horizontal resolution times 5;  in transformations 1, 3, 4
  984.         and 6 it is the vertical resolution times 5.
  985.  
  986. 4.      If batch mode is active and the font is still not found, the driver
  987.         stops with a fatal error message.
  988.  
  989. 5.      If the font is not found or change mode (/fc option) is active, the
  990.         user is asked for another font name - see below.
  991.  
  992. Method 1.
  993.  
  994. 1.      The font is sought in the directories set by the /pf* option (in the
  995.         given sequence) using method 2.
  996.         In this search `$s' and `$r' in the directory name are replaced by the
  997.         size or resolution of the font.  The size is calculated as:
  998.  
  999.                 magnification * (resolution/200) * (font size/1000)
  1000.  
  1001.         rounded to the nearest integer (200 is the default size of the
  1002.         Stanford fonts) for example,
  1003.  
  1004.         \mag=1200, scaled 1000, resolution 300: 1200*300/200*1=1800
  1005.  
  1006. Method 2.
  1007.  
  1008. 1.      The file is given the extension .VF and is sought in the directories
  1009.         set by the /pv* option. If found, the font is a 'virtual font'.
  1010.  
  1011. 2.      The file is sought in the font library files (in the order given).
  1012.  
  1013. 3.      The file itself is sought.
  1014.  
  1015. 4.      If the file has an extension (for instance, .PK) then method 2 ends.
  1016.  
  1017. 5.      Otherwise the file name is given the extension .PK and the search is
  1018.         repeated.
  1019.  
  1020. 6.      If this doesn't succeed, the extension is changed to .PXL and the
  1021.         search repeated.
  1022.  
  1023. In the following EXAMPLES /pfc:\fonts\$rdpi /r300 /m0 and `scaled 1000' are
  1024. assumed. The search for .VF files and the search in the font libraries is not
  1025. performed.
  1026.  
  1027. `cmr10' is sought in the following sequence:
  1028.  
  1029.         c:\fonts\300dpi\cmr10
  1030.         c:\fonts\300dpi\cmr10.pk
  1031.         c:\fonts\300dpi\cmr10.pxl
  1032.  
  1033. `cmr10.pk' is sought in the following sequence:
  1034.  
  1035.         c:\fonts\300dpi\cmr10.pk
  1036.  
  1037. The search for `myfonts\cmr10' is done in the following sequence
  1038. (the directory is given by the user, see below):
  1039.  
  1040.         myfonts\cmr10
  1041.         myfonts\cmr10.pk
  1042.         myfonts\cmr10.pxl
  1043.         c:\fonts\300dpi\cmr10
  1044.         c:\fonts\300dpi\cmr10.pk
  1045.         c:\fonts\300dpi\cmr10.pxl
  1046.  
  1047. `myfonts\cmr10.pxl' is searched for in this sequence:
  1048.  
  1049.         myfonts\cmr10.pxl
  1050.         c:\fonts\300dpi\cmr10.pxl
  1051.  
  1052. If batch mode is active there are further searches as described above.
  1053.  
  1054. If the search fails and batch mode is not active (/fi, default), the user is
  1055. asked for help, displaying the font name and a file name of the form
  1056.  
  1057.         path\font<xxxx>
  1058.  
  1059. where xxxx is the font size (dpi).
  1060.  
  1061. The user should then enter one of the following items:
  1062.  
  1063. font_size       choose a new size, (new xxxx) and prompt again. Examples:
  1064.                         300         300 dpi
  1065.                         :2          scaled 1440  (1.44 * /rf#)
  1066.                         204:h       204 dpi magnified 1.2^0.5 (= 233.47081)
  1067.                 See `Specifying font size (resolution)'
  1068.  
  1069. [drive:]path\   choose a new directory (file name and size remain unchanged)
  1070.                 and search again with method 0
  1071.  
  1072. name            choose a new file name (the directory and size remain
  1073.                 unchanged) and search again with method 0
  1074.  
  1075. [drive:]path\name choose a new directory and file name (size remains
  1076.                 unchanged) and search again with method 0
  1077.  
  1078. [empty line]    search again using method 0 with the preceding new values
  1079.  
  1080. +               multiply the size by 1.2 and prompt again
  1081.  
  1082. -               divide the size by 1.2 and prompt again
  1083.  
  1084. b               replace all the characters in the font by a black block
  1085.  
  1086. w               make all the characters in the font invisible.  A font file is
  1087.                 still needed but the characters therein are not printed.  This
  1088.                 is useful in analyzing unusual effects.  The prompt will be
  1089.                 repeated.
  1090.  
  1091.  
  1092. Keyboard functions for dviscr and dvivik
  1093. ========================================
  1094.  
  1095. Note that it is impossible to go outside the `sheet' defined by /w# and /h#.
  1096.  
  1097. <Ctrl>+<C>      exit from the program
  1098. <Q>
  1099.  
  1100. <left arrow>    move the window half the screen width to the left (for smaller
  1101.                 movements, see <F> and <C>)
  1102.  
  1103. <right arrow>   move the window half the screen width to the right (for smaller
  1104.                 movements, see <F> and <C>)
  1105.  
  1106. <up arrow>      move the window half the screen height upwards (for smaller
  1107.                 movements, see <F> and <C>)
  1108.  
  1109. <down arrow>    move the window half the screen height downwards (for smaller
  1110.                 movements, see <F> and <C>)
  1111.  
  1112. <4>             move the window to the left by the screen width
  1113.  
  1114. <6>             move the window to the right by the screen width
  1115.  
  1116. <8>             move the window upwards by the screen height
  1117.  
  1118. <2>             move the window downwards by the screen height
  1119. <spacebar>
  1120.  
  1121. <Home>          move the window to the initial position (chosen with /hx# and
  1122.                 /hy# options or <H>)
  1123.  
  1124. <7>             move the window to the top lefthand corner of the page
  1125.  
  1126. <End>           move the window to the bottom lefthand corner of the page
  1127.                 (/hx# option or <H>)
  1128.  
  1129.  
  1130. <1>             move the window to the bottom lefthand corner of the page
  1131.  
  1132. <Ctrl>+<left arrow>     move the window to the left margin
  1133.  
  1134. <Ctrl>+<right arrow>    move the window to the right margin
  1135.  
  1136. <PageUp>        to the previous page
  1137. <9>
  1138.  
  1139. <PageDn>        to the next page
  1140. <3>
  1141.  
  1142. <Ctrl>+<PageUp> to the first page
  1143.  
  1144. <Ctrl>+<PageDn> to the last page
  1145.  
  1146. <I>             reversed image toggle
  1147.  
  1148. <D>             refresh the screen image
  1149.  
  1150. <H>             make the current position the home position (see /hx#, /hy#,
  1151.                 <Home> and <End>)
  1152.  
  1153. <F>             this reduces the window movement caused by the arrow keys; it
  1154.                 has 6 steps
  1155.  
  1156. <C>             this increases the window movement caused by the arrow keys;
  1157.                 it has 6 steps
  1158.  
  1159. <G>             go to one of the pages selected for display. Enter a number
  1160.                 from 1 to the number of selected pages - this page will then
  1161.                 be displayed.
  1162.  
  1163. <O>             return to the previously displayed page - to be used after a
  1164.                 <G>, <P>, <S>, <Ctrl>+<PgUP> or <Ctrl>+<PgDn> command.  The
  1165.                 driver holds up to the last 20 pages displayed.  The page is
  1166.                 displayed so that the point marked by the ruler or the middle
  1167.                 of the page appears in the same position on the screen.
  1168.  
  1169. <P>             display a page with a given page number, the page number must
  1170.                 be entered.  The page with this page number is first sought
  1171.                 starting from the current page going towards the end of the
  1172.                 file, if it isn't found then the search restarts at the
  1173.                 beginning of the file.  Page numbers can contain *, for
  1174.                 example, 1.*.5
  1175.  
  1176. <R>             toggle the ruler display
  1177.  
  1178. <Ctrl>+<R>      toggle the scale on the ruler
  1179.  
  1180. <S>             search for text:  the search starts at the beginning of the
  1181.                 current page (or the point at which the search last stopped).
  1182.                 Pages are then searched starting at the current page and
  1183.                 moving towards the end of file.  If this fails then the search
  1184.                 starts again at the beginning of the file.
  1185.                 The search can be terminated by pressing the Esc key.
  1186.                 If no text is entered, the text from the last search is used
  1187.                 again.  The search is case sensitive, hyphens and spaces are
  1188.                 ignored. The text can also include accented characters. If the
  1189.                 text contains an illegal character, for instance, \ can't
  1190.                 appear in it, the driver beeps.
  1191.                 The ruler is placed on the reference point of the first
  1192.                 character of the text.
  1193.  
  1194. <W>             toggle the effect of the arrow keys - either the window or the
  1195.                 ruler (if present) is moved. After enabling the ruler with
  1196.                 <R>, the arrow keys move the ruler.  This function affects the
  1197.                 four arrow keys, <Ctrl>+<left arrow>, <Ctrl>+<right arrow>,
  1198.                 <Home> and <End>.  The other keys continue to move the window.
  1199.                 The effect of <F> and <C> is also changed, altering the rate
  1200.                 at which the ruler is moved around independently of the
  1201.                 setting for the window movement.
  1202.  
  1203. <U>             change the dimension unit: <U> moves forward through the
  1204. <Ctrl>+<U>      usual list of 10, <Ctrl>+<U> moves backward. These dimension
  1205.                 units are used in the status line and the ruler display. See
  1206.                 also /ou#.
  1207.  
  1208. <+>             change the gray scale display or scaling (zoom). If possible,
  1209. <->             a gray scale is used, otherwise scaling.  The relation between
  1210.                 the values set by /ox#, /oy# or /sx#, /sy# is preserved.  This
  1211.                 means that a scaling of /sx7/sy8 cannot be changed.  <+>
  1212.                 increases the size of the picture, <-> reduces it.
  1213.  
  1214. <Alt>+<G>       change the gray scale setting or scaling (zoom).
  1215. <Alt>+<S>       One or two digits in the range 1 to 8 can be entered; these
  1216.                 are taken to be the new factors for the gray scale (<Alt>+<G>)
  1217.                 or scaling (<Alt>+<S>). If only one digit is given then it is
  1218.                 taken as both the x and y value (like /o# and /s#). If two
  1219.                 digits are entered then these uae used as the x and y factors
  1220.                 (like /ox# and /oy# or /sx# and /sy#).
  1221.  
  1222. <T>             dviscr/dvivik can change the transformation dynamically by
  1223.                 following <T> by a digit from 0 to 7 and <Enter>. This is,
  1224.                 however, not possible if /rx# and /ry# were used to set
  1225.                 different values and you wish to switch between
  1226.                 transformations 0, 2, 5 or 7 and 1, 3, 4 or 6.
  1227.  
  1228. <K>             this toggles the coordinates used for the arrow keys between
  1229.                 screen coordinates and transformed coordinates (if the display
  1230.                 is rotated (do this on your own risk)).  When <K> is pressed
  1231.                 the arrow keys are transformed, pressing it again returns to
  1232.                 the initial state.
  1233.  
  1234. For functions <+>, <->, <Alt>+<G>, <Alt>+<S>, and <T> the middle of the screen
  1235. (or, if the ruler is displayed, the point marked by the ruler) in the same
  1236. position on the screen.
  1237. Rotations are also made around this point, reflections put this point on the
  1238. reflection axis and the size is changed with this point at the centre. If this
  1239. causes the window to fall outside the page then the window is moved as
  1240. necessary so that it lies wholly within the page (if possible).
  1241.  
  1242. Entering numbers:
  1243.  
  1244. Numbers are displayed in the status line, if it is enabled. Errors can be
  1245. corrected with the backspace key or left arrow key, Esc ends an incorrect
  1246. entry, Enter accepts the number.
  1247.  
  1248. If there no status line (see /os-) is displayed, numbers are entered blind.
  1249. First a beep shows that entry may begin (an initial (optional) sign followed
  1250. by digits only), backspace, left arrow, Esc and Enter have the same effect.
  1251. An illegal input causes a deeper beep.  After pressing Enter, a higher tone is
  1252. sounded.
  1253.  
  1254.  
  1255. dviscr/dvivik status line
  1256. =========================
  1257.  
  1258. The status line displays the following information:
  1259.  
  1260. 1.      At the lefthand end the step selected by<F> and <C> is displayed.
  1261.  
  1262. 2.      To the right of this is either `R' (ruler moves), `W' (window moves)
  1263.         or, if there is no ruler, nothing.
  1264.  
  1265. 3.      A little bit further right if gray scaling is possible, `Gxy' appears
  1266.         otherwise `Sxy'. These are the values set by /ox#, /oy#, /sx# and /sy#
  1267.         - and altered by <+>, <->, <Alt>+<G> and <Alt>+<S>.
  1268.  
  1269. 4.      The sheet number (the first page selected is sheet 1) appears in the
  1270.         middle of the line together with the page number.  For example,
  1271.                 5:      10.7
  1272.         shows sheet 5 which is page number 10.7
  1273.  
  1274. 5.      To the right of this the coordinates of the top lefthand corner of the
  1275.         window are shown (if transformed, this is not necessarily the top
  1276.         lefthand corner of the screen: for example, in transformation 1 the
  1277.         coordinates are those of the bottom lefthand corner of the screen).
  1278.         The position display
  1279.                 x=0pt y=0pt
  1280.         is the top lefthand corner of the sheet.
  1281.         If the ruler is graduated then the distance between two (short)
  1282.         gradations is displayed as well. The gradation is chosen to make this
  1283.         a readable distance. Every tenth gradation is somewhat longer than the
  1284.         others.
  1285.  
  1286. 6.      A `*' is displayed at the righthand end of the line while the picture
  1287.         is being built up or while a text search is in progress.
  1288.  
  1289. The status line can be removed by the option /os-.
  1290.  
  1291.  
  1292. \special
  1293. ========
  1294.  
  1295. The drivers can understand the following \specials:
  1296.  
  1297. \special{em:message xxx}
  1298.         The text of the message is displayed immediately and appears after the
  1299.         page number before the closing bracket.)
  1300.  
  1301. \special{em:graph xxx}
  1302.         Insert the graphic file xxx at this place.  Only the file name
  1303.         part of xxx is used, the directory and/or drive is discarded.
  1304.         The upper left corner of the graphic file gets located at
  1305.         the reference point of a character that were printed at this place.
  1306.         You can use MSP (MS Paint under Windows 1.x and 2.x) and PCX
  1307.         (Paintbrush) files.  4 colour CGA mode PCX files cannot be used.
  1308.         All non-white pixels of a PCX file are printed (assuming the
  1309.         standard palette).  For efficiency reasons, usage of MSP files
  1310.         (Windows 2.x) is recommended.  The width of the graphic must not
  1311.         exceed 32760 pixels, the height must not exceed 32766 pixels.
  1312.         Example (the size of the graphic is 21pt by 23pt):
  1313.             \begin{center}
  1314.             \begin{picture}(21,23)
  1315.               \put(0,23){\special{em:graph dvitrans.2}}
  1316.             \end{picture}
  1317.             \end{center}
  1318.  
  1319. \special{em:point n}
  1320. \special{em:line a[h|v|p],b[h|v|p][,width]}
  1321. \special{em:linewidth width}
  1322. \special{em:moveto}
  1323. \special{em:lineto}
  1324.         With these commands lines can be drawn at any desired angle.
  1325.         A point n (1 to 32767) is defined with \special{em:point n} and gets
  1326.         the coordinates of the `reference point.' \special{em:point n}
  1327.         commands can be positioned using the LaTeX picture environment.  For
  1328.         plain TeX, see page 389 of the TeXbook.
  1329.         Two such points can be joined by a line: \special{em:line a,b,width}
  1330.         joins the points numbered a and b with a line `width' thick -- the
  1331.         widht can be given in any unit acceptable to the /u* option except px.
  1332.         The point numbers can have `h', `v' or `p' appended showing how the
  1333.         end of the line should be cut.  `p' causes the line to be cut
  1334.         perpendicular to its direction, `h' make a horizontal cut and `v' a
  1335.         vertical cut.  `p' is used as default if no cut mode is specified.
  1336.         Note that a horizontal line cannot have a horizontal cut nor 
  1337.         vertical line a vertical one!
  1338.  
  1339.         Example: \special{em:line 1,2v,4pt}
  1340.  
  1341.         Points need not be defined before the lines which refer to them.
  1342.         Point and line definitions are local to the current page.
  1343.         
  1344.         If a number of lines with the same width are to be drawn,
  1345.         \special{em:linewidth width} can be used to set the default width for
  1346.         all subsequent lines without a `width' argument -- \special{em:line
  1347.         a,b}.  The initial setting of the default width is 0.4pt;  any
  1348.         \special{em:line a,b} appearing before a `linewidth' special will have
  1349.         this width.
  1350.         To avoid errors, the required line width should be set before each
  1351.         line graphic.
  1352.  
  1353.         There are other commands for line drawing. \special{em:moveto} sets
  1354.         the current (drawing) point to the coordinates of the reference point
  1355.         without drawing a line: \special{em:lineto} draws a line between
  1356.         the current point and the reference point, the reference point then
  1357.         becomes the current point. A polygon can be drawn with one
  1358.         \special{en:moveto} and a number of subsequent \special{em:lineto}
  1359.         commands. The width of the line will be that set by
  1360.         \special{em:linewidth width}.
  1361.  
  1362. The drivers take note of all \specials beginning with `em:'; blanks may appear
  1363. between `em:' and the following keyword (`message', `graph', `point', `line'
  1364. or `linewidth').
  1365.  
  1366. Any \specials which do not start with `em:' are silently ignored.
  1367.  
  1368.  
  1369. Warnings (error numbers 1xxx)
  1370. =============================
  1371.  
  1372. If the verbosity, see /v, is set to a lower number than that given in
  1373. brackets, then that warning message will be suppressed.
  1374.  
  1375. If the warning message is marked with [F] then the warning is suppressed when the
  1376. option /fl-1 is chosen.
  1377.  
  1378. If the warning message has a driver name in brackets then it applies only to
  1379. that driver.
  1380.  
  1381. #1, #2 stand for variable fields in the message.
  1382.  
  1383. All warnings have the format
  1384.     Warning 1xxx: ...
  1385.  
  1386. In the following only the number and the message are given.
  1387.  
  1388. When you get the error message `[cannot open dvidrv.err]', the
  1389. file dvidrv.err (which contains the warning messages) couldn't be found.
  1390. You'll find the text of the warning message in this list using the
  1391. warning number produced by the driver.
  1392.  
  1393.  
  1394. 1000: illegal number: #1
  1395.         The numeric argument #1 of an option is not valid for the option or
  1396.         an unacceptable size is given in response to a prompt for a font file
  1397.         name.
  1398.  
  1399. 1001: illegal number or unit of measure: #1
  1400.         The argument #1 of an option is an illegal number or the unit is not
  1401.         acceptable.
  1402.  
  1403. 1002: parameter too long: #1
  1404.         The argument #1 of an option is too long.
  1405.  
  1406. 1003: path name too long
  1407.         The argument of /p@*, /pf*, /pd* oder /pg* is too long.
  1408.  
  1409. 1004: missing path name
  1410.         The argument of /p@*, /pf*, /pd* oder /pg* is missing.
  1411.  
  1412. 1005: illegal page number
  1413.         The argument of /b* oder /e* isn't acceptable.
  1414.  
  1415. 1008: bad option: #1
  1416.         An option is misspelled or otherwise incorrect.
  1417.  
  1418. 1009: unknown option: #1
  1419.         The option #1 does not exist.
  1420.  
  1421. 1010: invalid unit of measure: #1
  1422.         The option /u* or /ou* is given with an unacceptable or misspelt unit,
  1423.         #1.
  1424.  
  1425. 1017: too many file names: '#1'
  1426.         There are too many arguments which do not begin with either - or /
  1427.         and are therefore taken to be file names.  Depending on the driver,
  1428.         only 1 or 2 file names can be given.
  1429.  
  1430. 1018: input file '#1' not found
  1431.         The DVI file cannot be found.
  1432.  
  1433. 1019: cannot create output file '#1'
  1434.         The output file cannot be opened.
  1435.  
  1436. 1020: file name too long
  1437.         The file name argument to /pi*, /pl*, /ps*, /pt* oder /pw* is too
  1438.         long.
  1439.  
  1440. 1021: missing file name
  1441.         A file name must be given (this warning not yet in use).
  1442.  
  1443. 1022: file '#1' not found
  1444.         The file name given as an argument to /pi*, /pl* oder /ps* does not
  1445.         exist.
  1446.  
  1447. 1023: cannot nest response files
  1448.         A response file cannot contain calls to other response files.
  1449.  
  1450. 1024: response file '#1' not found
  1451.         The @responsefile cannot be found.
  1452.  
  1453. 1025: invalid #1 argument: #2
  1454.         The argument #2 of option #1 is not valid.
  1455.  
  1456. 1100: preamble data doesn't match postamble data:                           [2]
  1457.       pre.#1=#2, post.#1=#3
  1458.         The value #1 in the preamble differs from the value in the postamble.
  1459.         Has somebody been meddling with this DVI file?
  1460.         The value given in the preamble will be used.
  1461.  
  1462. 1200: checksum does not match                                             [2,F]
  1463.       font file #1: #2
  1464.       input file #3: #4
  1465.         The font file #1 does not match the TFM file.
  1466.  
  1467. 1201: wrong design size                                                   [2,F]
  1468.       font file #1: #2
  1469.       input file #3: #4
  1470.         The font file #1 does not match the TFM file.
  1471.  
  1472. 1202: wrong magnification                                                 [2,F]
  1473.       font file #1: #2
  1474.       input file #3: #4
  1475.         The font file #1 does not match the TFM file.
  1476.  
  1477. 1203: character #1: pixel width off by #2                                 [3,F]
  1478.         The width of the character #1 (decimal) differs from the width
  1479.         calculated from the TFM file by more than 1, namely by #2 (always
  1480.         a signed number). If #2 is positive then the pixel width is the
  1481.         larger, if #2 is negative then the TFM width is the larger.
  1482.         This warning appears usually when the font file does not match the TFM
  1483.         file used by TeX, in particular, when the font is loaded with the
  1484.         wrong magnification.
  1485.  
  1486. 1204: '#1' is not a usable font file                                        [3]
  1487.         In searching for a font file, the file #1 has been found.  This file,
  1488.         however, does not look like a font file.  After issuing the warning,
  1489.         the next step in the search, described above, is taken.
  1490.  
  1491. 1205: font #1 [#2] not found
  1492.         No suitable file for font #1 can be found.  For further explanation
  1493.         see "Font search rules".
  1494.  
  1495. 1206: batch mode: font #1 replaced by #2                                    [1]
  1496.         In Batch mode (cf. /fb) font file #2 has been used for font #1 as a
  1497.         suitable file cannot be found.
  1498.  
  1499. 1300: '#1' is not a usable graphics file                                    [3]
  1500.         When searching for a graphic file, the file #1 has been found.
  1501.         This file is, however, not a valid graphic file. After this warning
  1502.         has been issued, the search will continue according to the rules
  1503.         described above.
  1504.  
  1505. 1301: graphics file #1 (graph #2; #3 DPI) not found
  1506.         The graphic file #1 cannot be found -- the command
  1507.         is \special{em:graph #2}.
  1508.  
  1509. 1400: undefined point: #1
  1510.         The point #1 is not defined though it is used in \special{em:line}.
  1511.  
  1512. 1401: duplicate point number: #1
  1513.         The point #1 has been declared more than once in a
  1514.         \special{em:point #1}.
  1515.  
  1516. 1402: bad line omitted: #1,#2
  1517.         The line with the endpoints #1 and #2 cannot be drawn.
  1518.  
  1519. 1403: missing moveto
  1520.         A \special{em:lineto} has appeared without a preceding
  1521.         \special{em:moveto}
  1522.  
  1523.  
  1524. Fatal errors (2xxx)
  1525. ===================
  1526.  
  1527. All fatal errors have the format
  1528.         *** Fatal error 2xxx: ...
  1529.  
  1530. In the following only the number and ... will be shown.
  1531.  
  1532. When you get the error message `[cannot open dvidrv.err]', the
  1533. file dvidrv.err (which contains the error messages) couldn't be found.
  1534. You'll find the text of the error message in this list using the
  1535. error number produced by the driver.
  1536.  
  1537.  
  1538. 2000: out of memory
  1539.         There is not enough memory to run. Further information is given
  1540.         showing how much memory was used by what.  In some cases, this
  1541.         error can be prevented by using /fl-1.
  1542.  
  1543. 2001: cannot open #1 file '#2'
  1544.         File #2 not found
  1545.  
  1546. 2002: cannot create file '#1'
  1547.  
  1548. 2003: cannot write to file '#1', disk full?
  1549.         While writing to #1 an error was noted; a possible reason for this
  1550.         error is that the disk is full.
  1551.  
  1552. 2004: invalid scale factor
  1553.         A font or virtual font is bad.
  1554.  
  1555. 2005: cannot use XON/XOFF flow control
  1556.         XON/XOFF flow control cannot be used as the port does not exist.
  1557.  
  1558. 2006: serial interface time-out
  1559.         When using the XON/XOFF flow control, 60 seconds has elapsed since an
  1560.         XOFF was received without an XON.
  1561.  
  1562. 2100: DVI file corrupted (undefined font)
  1563. 2101: DVI file corrupted (no font selected)
  1564. 2102: DVI file corrupted (DVI file ended prematurely)
  1565. 2103: DVI file corrupted (position stack overflow)
  1566. 2104: DVI file corrupted (position stack underflow)
  1567. 2105: DVI file corrupted (bad postamble)
  1568. 2106: DVI file corrupted (postamble not found)
  1569. 2107: DVI file corrupted (illegal command in postamble)
  1570. 2108: DVI file corrupted (bad preamble)
  1571. 2109: DVI file corrupted (unexpected set_char command)
  1572. 2110: DVI file corrupted (unexpected fnt_num command)
  1573. 2111: DVI file corrupted (unexpected bop command)
  1574. 2112: DVI file corrupted (unexpected eop command)
  1575. 2113: DVI file corrupted (unexpected rule command)
  1576. 2114: DVI file corrupted (unexpected motion command)
  1577. 2116: DVI file corrupted (unexpected post_post command)
  1578. 2117: DVI file corrupted (unexpected pre command)
  1579. 2118: DVI file corrupted (invalid command)
  1580. 2119: DVI file corrupted (back pointer does not point to bop)
  1581. 2120: DVI file corrupted (more pages than claimed in postamble)
  1582.         Bad DVI file.
  1583.  
  1584. 2121: character number #1 out of range
  1585.         An attempt is being made to set a character with a code outside the
  1586.         acceptable range (0-255).
  1587.  
  1588. 2131: erroneous \special{#1}: undefined keyword
  1589.         After `em:' there is a unknown keyword in \special argument #1.
  1590.  
  1591. 2132: erroneous \special{#1}: bad parameter
  1592.         The \special declaration #1 an unacceptable parameter (for instance,
  1593.         \special{em:point 0}).
  1594.  
  1595. 2200: font #1 not found in batch mode
  1596.         In batch mode, when a font cannot be found after all the search rules
  1597.         have been tried, the program terminates with this message.
  1598.  
  1599. 2201: font file error PK01
  1600. 2202: font file error PK02
  1601. 2203: font file error PK03
  1602. 2204: font file error PK04
  1603.         Bad PK font file.
  1604.  
  1605. 2205: font #1 too big (#2 characters)
  1606.         This font has too many characters.
  1607.  
  1608. 2206: character number #1 not supported
  1609.         This version of the driver can only handle character codes from 0 to
  1610.         255; a character with a code outside this range has been encountered.
  1611.  
  1612. 2207: font file '#1' ended prematurely
  1613.         Bad font file: too short!
  1614.  
  1615. 2208: font file '#1' disappeared
  1616.         The font file #1 cannot be opened although it was there initially.
  1617.         Perhaps the diskette has been swapped.
  1618.  
  1619. 2209: undefined character #1 in font #2
  1620.         Trying to use a chacacter which is not in the font file.
  1621.  
  1622. 2210: character too big
  1623.         A character is too big.
  1624.  
  1625. 2211: character too big for reduction
  1626.         A character is too big to reduce(!).
  1627.  
  1628. 2212: character #1: invalid width
  1629.         The widht of a character in the font file is quite impossible.
  1630.  
  1631. 2213: '#1' is not a font library file
  1632.         The file selected by the option /pl* is not a font library file.
  1633.  
  1634. 2214: use 'fontlib /2 /b#1 #2' to convert font library
  1635.         The font library file #2 must be converted to the new font library
  1636.         format by using fontlib.  You should also use the /f\emtex\fontlist
  1637.         option when running fontlib.  The batch file fontconv.bat/cmd can
  1638.         be used for converting all the font libraries.
  1639.  
  1640. 2300: graphics file #1 (#2 DPI) not found in batch mode
  1641.         In batch mode the run is ended with this message when the search rules
  1642.         have been exhausted while looking for a graphic file.
  1643.  
  1644. 2301: graphics file '#1' ended prematurely
  1645.         Bad graphic file: too short!
  1646.  
  1647. 2302: graphics image too big
  1648.         The picture is too wide.
  1649.  
  1650. 2303: graphics image too big for reduction
  1651.         The picture is too big to reduce (!)
  1652.  
  1653. 2400: syntax error in font substitution file l.#1
  1654.         Line #1 in the font substitution file has an error.
  1655.  
  1656. 2401: missing parameter file name                                      [dvidot]
  1657.         dvidot expects the name of a parameter file as its first argument.
  1658.  
  1659. 2402: parameter file '#1' not found                                    [dvidot]
  1660.         dvidot cannot find the parameter file #1. The first argument on the
  1661.         command line must be the name of a parameter file.
  1662.  
  1663. 2403: invalid parameter file (#1)                                      [dvidot]
  1664.         #1 is a number showing the type of error found.
  1665.  
  1666. 2410: invalid page dimensions
  1667.         ... in options /w# or /h#.
  1668.  
  1669. 2501: printer memory overflow                                         [dvihplj]
  1670.         Calculation shows that the printer's memory is now full.
  1671.         The text will have to be split into smaller pieces. (/oc1 may help.)
  1672.  
  1673. 2502: too many fonts per page                                         [dvihplj]
  1674.         There are more fonts required on this page than the printer can handle
  1675.         -- split up the text or use /oc1.
  1676.  
  1677. 2503: too many fonts                                                  [dvihplj]
  1678.         There are more fonts required in the text than the printer can handle
  1679.         -- split up the text or use /oc1.
  1680.  
  1681. 2511: page width exceeds #1px
  1682.         The width of the page set by the /w# option may not exceed
  1683.         (converted) #1 px.
  1684.  
  1685. 2513: line too long
  1686.         While expanding %name%, a line became longer than 256 characters.
  1687.  
  1688. 2514: cannot write to fontlib response file
  1689.         While writing to the file given by the /pw* option an error occurred
  1690.         (disk full?)
  1691.  
  1692. 2520: graphics mode not supported                                      [dviscr]
  1693.         There is no graphics adapter card or the card present is not supported
  1694.         by this driver.
  1695.  
  1696. 2602: VF file corrupted (premature end of DVI commands)
  1697. 2604: VF file corrupted (stack underflow)
  1698. 2608: VF file corrupted (bad preamble)
  1699. 2611: VF file corrupted (unexpected bop command)
  1700. 2612: VF file corrupted (unexpected bop command)
  1701. 2616: VF file corrupted (unexpected post_post command)
  1702. 2617: VF file corrupted (unexpected pre command)
  1703. 2618: VF file corrupted (invalid command)
  1704. 2621: VF file corrupted (unexpected fnt_def command)
  1705. 2622: VF file corrupted (unexpected post command)
  1706. 2643: VF file corrupted (invalid command)
  1707.         Bad VF file.
  1708.  
  1709. 2603: VF file too complex: stack overflow
  1710.         A virtual font can use a further virtual font which can, in its turn,
  1711.         use a further virtual font, (and smaller fleas ...). This error
  1712.         message is issued when this nesting is excessive or is in an endless
  1713.         loop.
  1714.  
  1715. 2640: input stack overflow
  1716.         A virtual font can use a further virtual font which can, in its turn,
  1717.         use a further virtual font, and so on ...  This error
  1718.         message is issued when this nesting is excessive or is in an endless
  1719.         loop.
  1720.  
  1721. 2641: input stack underflow
  1722.         Bad VF file.
  1723.  
  1724. 2644: character number #1 out of range
  1725.         A character code in a VF file is unacceptable.
  1726.  
  1727. 2645: virtual font #1 too big (#2 characters)
  1728.         The virtual font #1 contains too many characters.
  1729.  
  1730.  
  1731. Internal errors (3xxx)
  1732. ======================
  1733.  
  1734. All internal errors have the format
  1735.         *** Internal error 3xxx
  1736. or
  1737.         *** Internal error 3xxx: ...
  1738.  
  1739. If an internal error occurs, please tell the author.
  1740. Please make copies of all files in use (DVI, MSP, PXL, PK, FLI, VF, SUB, log
  1741. files) and make a copy of the error message.  Please also make a note of the
  1742. arguments used.
  1743.  
  1744.  
  1745. Notes
  1746. =====
  1747.  
  1748. The drivers dvimsp and dvidot (as well as dviscr and dvivik if /o, /o#, /ox#
  1749. or /oy# are used) will not print characters which have a pixel row falling
  1750. above the top paper edge. As this is quite possible, especially with
  1751. characters from cminch, the option /t0 should not be used -- better to use
  1752. /t1px which moves everything one pin width lower.
  1753.  
  1754. Fonts may only contain characters with codes in the range 0 to 255.
  1755.  
  1756. The width of a character may not exceed 32760 points and the height 32766. If
  1757. a character needs more than 32000 bytes of memory (say, 504x507 points) the
  1758. driver slows down noticeably.
  1759.  
  1760. If MS-DOS or PC-DOS issues a printer timeout error in the middle of printing
  1761. then you should this command to remove timeout checks:
  1762.  
  1763.         mode lpt1,,p                                    (DOS 2.x and 3.x)
  1764.         mode lpt1 retry=r                               (DOS 4.0 or later)
  1765.  
  1766. where lpt1 is to be replaced by the correct printer port designation.
  1767.  
  1768. The text of error messages is read from the file dvidrv.err. This file must
  1769. be in a directory listed in the PATH environment variable. This file has
  1770. been created to save memory, not so that the user can change the messages.
  1771.  
  1772.  
  1773. Output with the /v4 option
  1774. ==========================
  1775.  
  1776. dvihplj:
  1777.         At the end of each page: <a+b,c,d>
  1778.             a is the memory used for fonts
  1779.             b is the memory used for this page
  1780.             c is the number of fonts defined so far
  1781.             d is the number of fonts used on this page
  1782.  
  1783. all:
  1784.         At the end of the program the memory usage, for example
  1785.             page buffers            4       40024
  1786.         This means that 4 page buffers using a total of 40024 bytes were
  1787.         used. This memory usage table will also be printed (without /v4)
  1788.         if there is not enough memory.
  1789.  
  1790.  
  1791. Return codes (ERRORLEVEL)
  1792. =========================
  1793.  
  1794. 0               No errors
  1795. 1               Bad argument
  1796. 2               Bad \special command
  1797. 100             Not enough memory
  1798. 101             Not enough memory or disk space
  1799. 200             Bad DVI file
  1800. 201             Bad font file or font not found
  1801. 202             Bad graphic file or graphic file not found
  1802. 203             Bad VF file
  1803. 204             Other error
  1804. 205             Internal error
  1805.  
  1806.  
  1807. History
  1808. =======
  1809.  
  1810.  
  1811. [...not translated...]
  1812.  
  1813.  
  1814.  
  1815. Version 1.4b (13.08.90):
  1816. ------------------------
  1817.  
  1818. -   Bug fixed: dviscr and dviscrs (1.4a) crashed when used with a
  1819.     Hercules Graphics Card.
  1820.  
  1821.  
  1822. Version 1.4c (20.08.90):
  1823. ------------------------
  1824.  
  1825. -   Bug fixed: dvihplj confused characters.
  1826.  
  1827.  
  1828. Version 1.4d (25.09.90):
  1829. ------------------------
  1830.  
  1831. ***     New font library file format.  Old font libraries have to be
  1832.         converted to the new format by using (for instance)
  1833.             fontlib /2 /b300 /f\emtex\fontlist lj_1500 lj_0
  1834.         The batch file fontconv.bat/cmd converts all the font library files.
  1835.         See README.ENG.
  1836.  
  1837. ***     The unit of measurement for printing/reading font sizes changed to dpi.
  1838.         This also affects font substitution files.
  1839.  
  1840. ***     Default setting for /pf* option changed: pxl$s (e.g., pxl1500)
  1841.         replaced with $rdpi (e.g., 300dpi).  Also changed in all dot files.
  1842.  
  1843. -       New dvidot parameter files: lqh.dot and lqwh.dot for 360 DPI on
  1844.         EPSON LQ-550 etc. (not supported by all printers of the EPSON
  1845.         LQ series).
  1846.  
  1847. -       dvidot parameter files fx80.dot and fx100.dot changed to support
  1848.         more printers.
  1849.  
  1850. -       The dvimsp log file could not be used as response file.
  1851.  
  1852. -       dvimsp: create multiple graphic files.
  1853.  
  1854. -       dvimsp can create PCX files. (Therefore, the name of dvimsp
  1855.         may change soon.)
  1856.  
  1857.  
  1858.                   -------- End of DVIDRV.DOC -------------
  1859.