home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / PRINTING / PRNTGL15.ZIP / PRINTGL.DOC < prev    next >
Text File  |  1990-12-22  |  95KB  |  1,926 lines

  1.                                                             
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.          *** TEST VERSION ***
  21.  
  22.          Any testing feedback on new function is appreciated.
  23.  
  24.  
  25.                         PRINTGL 1.15 REFERENCE
  26.  
  27.                         (C) Copyright Ravitz Software Inc. 1990
  28.  
  29.  
  30.                         Ravitz Software Inc.
  31.                         P. O. Box 25068
  32.                         Lexington, KY  40524-5068
  33.                                                                              
  34.  
  35.                                                                             g-1
  36.          CONTENTS
  37.  
  38.            INTRODUCTION ..................................................... 2
  39.            LICENSE AND REGISTRATION                                           3
  40.            ASSOCIATION OF SHAREWARE PROFESSIONALS ........................... 3
  41.            WHAT IS NEW                                                        4
  42.            INSTALLATION ..................................................... 5
  43.            OPERATION                                                          6
  44.            SYNTAX ........................................................... 7
  45.            /A - LOCATION OPTION                                               8
  46.            /C - PEN COLOR OPTION ............................................ 8
  47.            /D - OUTPUT DESTINATION OPTION                                     9
  48.            /F - OUTPUT FORMAT OPTION ....................................... 10
  49.            /I - SCALING POINT LOCATION OPTION                                12
  50.            /L - PAGE LAYOUT OPTION ......................................... 13
  51.            /M - MAGNIFICATION OPTION                                         14
  52.            /N - PAGE NUMBER OPTION ......................................... 14
  53.            /O - ORIGIN AND ORIENTATION OPTION                                14
  54.            /P - PLOTFILE OPTION ............................................ 15
  55.            /R - INTERNAL RESOLUTION OPTION                                   15
  56.            /S - PEN SHADING OPTION ......................................... 15
  57.            /T - TEMPORARY FILE OPTION                                        15
  58.            /W - PEN WIDTH OPTION ........................................... 16
  59.            /X - SUPPRESS MESSAGES OPTION                                     16
  60.            /Y - Y/D SWITCH SETTING OPTION .................................. 16
  61.            /Z - CHORD ANGLE OPTION                                           16
  62.            MESSAGES ........................................................ 17
  63.            SERIAL PRINTER INTERFACE                                          17
  64.            DISPLAY OUTPUT .................................................. 18
  65.            CANON BJ PRINTERS                                                 18
  66.            CANON LBP PRINTERS .............................................. 18
  67.            EPSON 9 PIN PRINTERS                                              19
  68.            EPSON, NEC 24 PIN PRINTERS ...................................... 19
  69.            HP-GL OUTPUT                                                      19
  70.            HP LASERJET, DESKJET ............................................ 20
  71.            HP PAINTJET                                                       20
  72.            HP QUIETJET ..................................................... 20
  73.            IBM EXECJET                                                       20
  74.            IBM LASERPRINTER ................................................ 20
  75.            IBM PROPRINTER                                                    20
  76.            IBM PROPRINTER X24 COMPATIBLE PRINTERS .......................... 21
  77.            IBM QUIETWRITER 2 AND 3                                           21
  78.            KODAK DICONIX COLOR 4 ........................................... 21
  79.            POSTSCRIPT PRINTERS                                               21
  80.            GEM .IMG BIT MAP OUTPUT ......................................... 22
  81.            ZSOFT .PCX BIT MAP OUTPUT                                         22
  82.            PRINTGL MENU INTERFACE (PMI) .................................... 23
  83.            PMI SPECIFIC FUNCTIONS                                            23
  84.            PMI INPUT AND OUTPUT CHOICES .................................... 24
  85.            PMI PLOT OPTIONS                                                  24
  86.            PMI PEN OPTIONS ................................................. 24
  87.            PMI PAGE LAYOUT OPTIONS                                           25
  88.            PMI OTHER OPTIONS ............................................... 25
  89.            HP-GL                                                             26
  90.            HP-GL CHARACTER SETS ............................................ 35
  91.            COMPATIBILITY AND TECHNICAL INFORMATION                           38
  92.            USER SUPPORT .................................................... 39
  93.                                                                              
  94.  
  95.                                                                             g-2
  96.          INTRODUCTION
  97.  
  98.            PrintGL prints an HP-GL (Hewlett-Packard Graphics Language - HP 7475
  99.            and 7440/17440 subset) plotfile on a matrix printer. HP-GL is widely
  100.            supported  by  graphics programs  including  AutoCAD, Generic  CADD,
  101.            MathCAD, SAS, Schema, and many more. PrintGL has native mode drivers
  102.            for Epson, IBM, and NEC compatible 9 and 24 pin dot matrix printers,
  103.            HP  LaserJet,  DeskJet,  PaintJet,   and   QuietJet,   IBM  ExecJet,
  104.            Quietwriter  2  and 3,  and LaserPrinter, Canon LBP and BJ printers,
  105.            Kodak Color  4, and PostScript printers.  It will also display plots
  106.            with a CGA, EGA, VGA,  enhanced VGA, or HGC, output  a ZSoft .PCX or
  107.            GEM .IMG file, and drive an HP 7440 or better plotter.
  108.  
  109.            Even if  your graphics  program supports your printer, you may  find
  110.            that PrintGL is faster and/or  gives better print  quality.  PrintGL
  111.            uses  the  best  graphics modes available for  each  printer that it
  112.            supports and uses  transfer data compression to improve print  speed
  113.            on many printers.  If you need printed graphics output from personal
  114.            software, you can output HP-GL and use PrintGL  to  do the printing.
  115.            This gives immediate  support to a wide range  of printers.  And  it
  116.            lets you use the  HP 17440  command set while still supporting lower
  117.            function plotters.
  118.  
  119.            PrintGL interprets  all of the  HP 7475 and 7440/17440  command  set
  120.            that  is   applicable  to  plotfiles  except  for  character  set  8
  121.            (Katakana). None of the digitize, output, or device control commands
  122.            (except plotter on and  off) are supported as  these  are  only used
  123.            with direct control of a plotter.  And the error mask command is not
  124.            supported.  In  addition  to  the HP  7475 and  7440/17440 commands,
  125.            PrintGL handles paper feed commands and proportional fonts.
  126.  
  127.            PrintGL  Menu Interface (PMI) is a menu driven program that lets you
  128.            choose  any  PrintGL  options,  select a list of plotfiles, and  run
  129.            PrintGL. This simplifies the selection of PrintGL's many options and
  130.            lets you run multiple plotfiles without  intervention.  PMI lets you
  131.            save three  configurations,  so  after  initial  setup  you can  use
  132.            PrintGL with minimal effort.
  133.                                                                              
  134.  
  135.                                                                             g-3
  136.          LICENSE AND REGISTRATION
  137.  
  138.            PrintGL (including PrintGL Menu Interface) is provided as is.  There
  139.            are no warranties expressed or implied.
  140.  
  141.            PrintGL is distributed as  shareware.  You may  use PrintGL  without
  142.            charge on a trial basis to determine its suitability for you. If you
  143.            continue  to use it  after  your  evaluation, a $40  registration is
  144.            requested.  This registration  covers  use  by a  single person  (on
  145.            multiple computers) or  installation  on  a  single computer (may be
  146.            used by  a group of people).  There is  no cost  to use a later 1.**
  147.            version after registering any 1.** version.
  148.  
  149.            You may distribute PrintGL  as a stand alone product if you keep the
  150.            entire   package   together,  unchanged,   including   this  license
  151.            explanation, and do not charge more than $10. You may not distribute
  152.            PrintGL as part of another product.
  153.  
  154.            To  register your copy of PrintGL,  send your name, address, and $40
  155.            check, and specify PrintGL 1.15, to:
  156.  
  157.              Ravitz Software Inc.
  158.              P. O. Box 25068
  159.              Lexington, KY  40524-5068
  160.  
  161.            You will be sent a printed manual and current disk (specify 3 1/2 or
  162.            5  1/4).  If you previously registered PrintGL, you may send  $15 to
  163.            get a current disk and manual.
  164.  
  165.            Multi-user licenses  are normally $40  for the first copy (with disk
  166.            and manual) and thereafter $30 per copy  with disk and manual or $20
  167.            per copy without disk or manual. Other arrangements may be set up.
  168.  
  169.            If  you are interested in using PrintGL  as  a printer  driver  in a
  170.            commercial  program,  send a note.  Special  license agreements  and
  171.            special versions are available for this purpose.
  172.  
  173.          ASSOCIATION OF SHAREWARE PROFESSIONALS
  174.  
  175.            This program is produced by a member of the Association of Shareware
  176.            Professionals  (ASP).  ASP  wants  to  make sure  that the shareware
  177.            principle  works  for   you.   If  you  are  unable  to  resolve   a
  178.            shareware-related  problem  with  an ASP  member  by contacting  the
  179.            member directly, ASP may be able to help. The ASP Ombudsman can help
  180.            you resolve a  dispute or problem  with an ASP member, but  does not
  181.            provide technical support for members' products. Please write to the
  182.            ASP Ombudsman  at  P.O.  Box  5786,  Bellevue, WA  98006 or  send  a
  183.            Compuserve message via easyplex to ASP Ombudsman 70007,3536
  184.                                                                              
  185.  
  186.                                                                             g-4
  187.          WHAT IS NEW
  188.  
  189.            For version 1.15:
  190.  
  191.              HP QuietJet, ZSoft .PCX, Kodak DC4 output formats
  192.              alternate drivers for 24 pin printers may be much faster
  193.              the PaintJet driver now uses data transfer mode 1
  194.              new LaserJet 2P/3, DeskJet +/500 driver (/FI) uses transfer mode 2
  195.              /FB (flat bit map) has been dropped
  196.              = symbol replaced by ! for alternate drivers (= still works)
  197.              ~ in /F option suppresses color processing on color printers
  198.  
  199.            For version 1.14:
  200.  
  201.              new license agreement, printed manual
  202.              HP-GL, PostScript, Canon LBP, Canon BJ, IBM ExecJet output
  203.              HP 7550 polygon commands, proportional fonts are supported
  204.              destination files can be appended
  205.              improved clipping window handling
  206.              improved line dash patterns
  207.              improved margin precision
  208.              revised colors (generally backward compatible)
  209.              font improvements give better text at low resolution
  210.  
  211.            For version 1.12:
  212.  
  213.              three configurations are contained within PMI
  214.              HP 7475 support
  215.              HP-GL reference section in PRINTGL.DOC
  216.              GEM .IMG output format
  217.              colors may be mixed with any PrintGL shading pattern
  218.              alternate LaserJet driver is faster and uses less printer memory
  219.  
  220.            For version 1.07:
  221.  
  222.              plotfile masks are supported
  223.              /X[S[F]][U] option suppresses messages
  224.              PrintGL Menu Interface is included with the PrintGL package
  225.  
  226.            For version 1.05:
  227.  
  228.              DOS environment variable PRINTGL can be used to set defaults
  229.  
  230.            For version 1.04:
  231.  
  232.              /F9* supports NEC 24 pin printers in 360x360 dpi mode
  233.  
  234.            For version 1.02:
  235.  
  236.              any 720x540 VGA is supported with /FV+modenum
  237.              any 800x600 VGA is supported with /FV*modenum
  238.  
  239.            The latest version of PrintGL is available from the support bulletin
  240.            board at  606-268-0577  (1200/2400,N,8,1  24  hours/day,  XMODEM  or
  241.            YMODEM (1K XMODEM) download), packed in .ZIP format.
  242.                                                                              
  243.  
  244.                                                                             g-5
  245.          INSTALLATION
  246.  
  247.            The PrintGL package includes these files:
  248.  
  249.              PRINTGL.EXE  program
  250.              PRINTGL.DOC  documentation
  251.              CHARSET.PLT  HP-GL character set plotfile
  252.              PMI.EXE      menu interface program
  253.              SAMPLE.PLT   sample plotfile
  254.              README.*     quick information
  255.  
  256.            To  install PrintGL copy the distribution files to your working disk
  257.            or directory.
  258.  
  259.            PRINTGL.EXE is a stand alone executable  file.  There  are no  extra
  260.            printer driver files or overlays.
  261.  
  262.            PRINTGL.DOC is this manual.  You can print it with "COPY PRINTGL.DOC
  263.            PRN" (40 pages).  The  HP-GL character sets may be printed with  the
  264.            command  PRINTGL CHARSET.PLT /M1 /AO0,0 and a /F option  specific to
  265.            your printer, and inserted in the manual.
  266.  
  267.            PMI.EXE is the executable file for PrintGL Menu Interface. PMI needs
  268.            to be able to  find  itself  (PMI.EXE)  and  PRINTGL.EXE, so both of
  269.            these files should be in a directory that is in your DOS PATH.
  270.  
  271.            SAMPLE.PLT is a sample plotfile to help you try out PrintGL.
  272.  
  273.            The README.* files  are not needed  to  run PrintGL,  but  they must
  274.            accompany the rest of the files if you distribute the package.
  275.                                                                              
  276.  
  277.                                                                             g-6
  278.          OPERATION
  279.  
  280.            PrintGL reads a plotfile,  does arc, character, fill,  etc.  to line
  281.            conversion,  stores the data in  a  coordinate list, and if  needed,
  282.            puts the list on disk. It then reorients the data and determines the
  283.            plot size. Next the data is resized and relocated. For vector output
  284.            devices (HP-GL, PostScript)  data is output  from here.  For  raster
  285.            devices  (most  printers, displays, bit maps) the coordinate list is
  286.            rasterized and output in swaths.  You are likely  to see the printer
  287.            print a swath and stop while PrintGL is processing the next swath.
  288.  
  289.            When you display a plot, press Esc to return to the DOS text screen.
  290.            Ctrl-Break  stops  PrintGL at the next break  point.  Ctrl-Break  is
  291.            ignored when PrintGL is waiting for user input.
  292.  
  293.            PrintGL works within a printer's current margins  and starts at  the
  294.            current  vertical print  position.  If  you decline  the  form  feed
  295.            suboption  of the  /L option then PrintGL leaves the  printer at the
  296.            start of the  line directly below the plot.  All printing is done in
  297.            printer lines that cover the full height of the printhead.
  298.  
  299.            Internally PrintGL  uses two byte  coordinates  on  a 1016 dots/inch
  300.            grid. This allows for plots with coordinates of over 30 inches - far
  301.            larger than an HP 7475 can handle. However, if you are using PrintGL
  302.            to emulate a large plotter, you may overflow the internal coordinate
  303.            system.  This condition  is  not checked, and  it will cause garbage
  304.            output.  You can change the internal resolution to 508 dots per inch
  305.            (giving 60 inch maximum plot sizes) with the /R option (/R508). This
  306.            only helps  store the  original plot  internally.  The  next step in
  307.            PrintGL converts  these  coordinates  to the  requested size  in the
  308.            resolution of the output device, and these coordinates must also fit
  309.            in the two byte coordinate list.
  310.                                                                              
  311.  
  312.                                                                             g-7
  313.          SYNTAX
  314.  
  315.            The calling syntax of PrintGL is:
  316.  
  317.              PRINTGL plotfile /option1 /option2 ...
  318.  
  319.            Spaces between parameters  are  not required.  The  plotfile  may be
  320.            specified with  the /P option if it  is inconvenient to make it  the
  321.            first parameter.
  322.  
  323.            If a given option is entered more  than once, only the last entry is
  324.            used.  And if  an  option  is invalid  (but  not  incorrect),  it is
  325.            ignored.  This  lets  you set  up a  batch  file with your preferred
  326.            options  but override them as desired.  For example,  create PHP.BAT
  327.            with the line:
  328.  
  329.              PRINTGL /FL /M1 /P %1 %2 %3 %4 %5 %6 %7 %8 %9
  330.  
  331.            Then  PHP can be called just  like PRINTGL  but  it  defaults to  HP
  332.            LaserJet format with magnification 1.
  333.  
  334.            The DOS environment variable PRINTGL  is examined by PrintGL and  if
  335.            it  is  nonblank  then  it  is  put  in  front  of  the command line
  336.            parameters.  If you  put "SET PRINTGL=/FL/M1"  in your  AUTOEXEC.BAT
  337.            then  PrintGL will default to LaserJet format with  magnification 1.
  338.            This is ignored when running under PrintGL Menu Interface.
  339.  
  340.            If you do not enter any parameters or if any parameter is incorrect,
  341.            PrintGL displays its option reminder screen.
  342.  
  343.            Below, [ and ] enclose optional  suboptions and │ separates mutually
  344.            exclusive suboptions. The options and suboptions may be in any order
  345.            except that multiple numeric suboptions are ordered. "c" refers to a
  346.            suboption  character,  "x"  and  "y"  to  suboption  floating  point
  347.            numbers, "i" and "j" to suboption integers, "b" to a suboption byte,
  348.            and "f" to a DOS file or device name.
  349.  
  350.            For  floating  point numbers, a  decimal point is  allowed  but  not
  351.            required, and scientific notation is not allowed. "-" is allowed but
  352.            not  "+".  For integer input, only base ten integers from 0 to 32767
  353.            are  allowed.  A  byte must be a base ten integer from 0 to 255 or a
  354.            hexadecimal number prefixed  with $ from $00  to $FF.  Further range
  355.            checking is done for most options to flag unreasonable input.  If an
  356.            option has multiple numeric  suboptions, these may be separated with
  357.            commas or blanks.
  358.  
  359.            ********************************************************************
  360.  
  361.            It  is very important to choose the right output format (/F option).
  362.            It is likely  that  the  default  output  format will  work on  your
  363.            printer, but it is equally likely  that it  will not produce optimal
  364.            results.  Please look carefully at the entire list of output formats
  365.            before  choosing one, and do not assume that because a  format works
  366.            that it is the best one to use.
  367.  
  368.            ********************************************************************
  369.                                                                              
  370.  
  371.                                                                             g-8
  372.          /A - LOCATION OPTION
  373.  
  374.            /A[O][x,y] - location - default /A
  375.  
  376.            The A option determines the location of the plot in the print window
  377.            by specifying a point on the plot that is to be aligned with a point
  378.            in the print window.  You can specify the  plot alignment point with
  379.            x,y in inches from the plot's origin (before PrintGL's magnification
  380.            is  applied),  or let it default to the plot  center.  For the print
  381.            window alignment point, you can default to the center or specify the
  382.            origin with O. By default, the plot center is aligned with the print
  383.            window center.
  384.  
  385.            /A      puts the center of the plot at the center of the print
  386.            /AO0,0  puts the plot 0,0 at the print origin
  387.  
  388.          /C - PEN COLOR OPTION
  389.  
  390.            /Cc.. - color - default /CK
  391.  
  392.            The  C option specifies  the color  of each of  the eight pens.  The
  393.            colors are B for blue,  C for cyan, G for green, K (or L) for black,
  394.            M for magenta, R for red, W for white, and Y for yellow. Unspecified
  395.            pens use the last specified color (/CRGB is the same as /CRGBBBBBB).
  396.            If the output  format  does not  allow color or color is  suppressed
  397.            with  ~  (see  the /F  option)  then  every color  except  white  is
  398.            converted to black.
  399.  
  400.            All colors are ored into the plot, starting with a white background,
  401.            so white is  only  useful  for ignoring  a pen and  with shade mixed
  402.            colors.
  403.  
  404.            Additional colors can be created with shade mixing. These colors use
  405.            the  pen's specified shading pattern (/S  option)  to mix the  eight
  406.            pure colors.  The  format  for  a mixed color  is .??  where each  ?
  407.            represents any of the eight pure colors.  The first color is plotted
  408.            with the  pen's shading  pattern and the second is plotted with  the
  409.            inverse  shading  pattern.  If  the shade value is  0 (solid)  it is
  410.            replaced by 2 (one pel checkerboard) which produces the most uniform
  411.            mixed colors.
  412.  
  413.            The mixed colors need line widths of at least 2 (4 for 2 pel shading
  414.            patterns) to look good, and they may  have visual artifacts on edges
  415.            near 45 degree angles.  Multipass dot  matrix formats may not handle
  416.            color mixing very well.
  417.  
  418.           Only  a small number of the printers that PrintGL supports can handle
  419.           color.  These are  marked in printer list (/F - OUTPUT FORMAT OPTION)
  420.           with  ~.  Shading may be used to emulate color on black only printers
  421.           (see /S option).
  422.  
  423.            /CK          sets pen 1..8 to black
  424.            /CKRG.MB.KY  sets pen 1    to black
  425.                              pen 2    to red
  426.                              pen 3    to green
  427.                              pen 4    to magenta on blue
  428.                              pen 5..8 to black on yellow
  429.                                                                              
  430.  
  431.                                                                             g-9
  432.          /D - OUTPUT DESTINATION OPTION
  433.  
  434.            /D[+]f - destination - default /D1
  435.  
  436.            The D option specifies the output printer port, device, or file. The
  437.            + suboption causes  files to be appended rather than overwritten (it
  438.            has no effect on printer port or device output).  1, 2,  or 3 causes
  439.            PrintGL to use the BIOS  printer routines,  bypassing DOS.  This  is
  440.            normally faster than  specifying the  DOS device (LPT1, LPT2, LPT3),
  441.            but  it  may  cause  problems  with  print spoolers  or multitasking
  442.            systems. Use COM1, COM2, etc. for serial printers.
  443.  
  444.            Display output  can only go to the screen and causes this  option to
  445.            be ignored.
  446.  
  447.            /D2          sends output to the second parallel port via BIOS
  448.            /DLPT3       sends output to the DOS device LPT3
  449.            /D+TEMP.PRN  appends output to file TEMP.PRN
  450.                                                                              
  451.  
  452.                                                                            g-10
  453.          /F - OUTPUT FORMAT OPTION
  454.  
  455.            /Fc[+[b]│-│*[b]│i,j][!][~] - output format - default /FN~
  456.  
  457.            The F option specifies the output format. -, +, and * are resolution
  458.            modifiers,  !  selects a compression mode  driver, and  ~  turns off
  459.            color processing on  color printers.  -, +,  *, !, and ~ are allowed
  460.            even where  they have no effect.  The display  mode  numbers  may be
  461.            entered in hex by prefixing them with $. For bit maps you can choose
  462.            a  specific  resolution.  Resolutions  are  given  in  horizontal  x
  463.            vertical dots/inch.
  464.  
  465.            Drivers marked below with ! have a compression mode driver, selected
  466.            with  "!".  This may be very useful, but it depends on your  printer
  467.            and computer. These drivers compress the output data by breaking bit
  468.            map strips  with  printhead  positioning commands.  This saves  data
  469.            transmission time  but uses more processing time.  So  you  may find
  470.            that on a slow computer they take more time than the regular driver.
  471.            Some  printers may spend more time positioning the printhead than is
  472.            saved by not sending the data.  And some printers  may  not position
  473.            the printhead as accurately as needed for good results.
  474.  
  475.            Drivers marked below with ~  are  color devices.  Using ~ suppresses
  476.            color processing, substituting black for all colors except white.
  477.  
  478.            /F1       IBM Proprinter .................................. 120x72
  479.            /F1+      IBM Proprinter (2 pass)                           120x144
  480.            /F2       IBM Quietwriter 2 ............................... 240x240
  481.            /F3       IBM Quietwriter 3                                 240x240
  482.            /F4-      IBM LaserPrinter ................................ 150x150
  483.            /F4    !  IBM LaserPrinter                                  300x300
  484.            /F5    !  IBM X24 compatibles alternate 1 ................. 180x180
  485.            /F5+   !  IBM X24 compatibles alternate 1 (2 pass)          360x180
  486.            /F6    !  IBM Proprinter X24 .............................. 180x182
  487.            /F6+   !  IBM Proprinter X24 (2 pass)                       360x182
  488.            /F7-   !  IBM ExecJet ..................................... 180x180
  489.            /F7    !  IBM ExecJet                                       360x360
  490.            /F8       HP-GL .......................................... 1016x1016
  491.            /F9    !~ NEC 24 pin printers                               180x180
  492.            /F9+   !~ NEC 24 pin printers (2 pass) .................... 360x180
  493.            /F9*   !~ NEC 24 pin printers (4 pass)                      360x360
  494.            /FC       CGA display ...................................... 62x25
  495.            /FD-      Canon LBP                                         150x150
  496.            /FD    !  Canon LBP ....................................... 300x300
  497.            /FE     ~ 128K EGA color display                             62x45
  498.            /FG     ~ GEM .IMG bit map ................................ 100x100
  499.            /FGi,j  ~ GEM .IMG bit map                                    ixj
  500.            /FH       Hercules graphics card display ................... 70x45
  501.            /FI-      HP LaserJet 2P/3, DeskJet Plus/500                150x150
  502.            /FI       HP LaserJet 2P/3, DeskJet Plus/500 .............. 300x300
  503.            /FJ-      Canon BJ                                          180x180
  504.            /FJ       Canon BJ ........................................ 360x360
  505.            /FK     ~ Kodak Diconix Color 4                             192x192
  506.            /FL-      HP LaserJet, DeskJet compatible printers ........ 150x150
  507.            /FL    !  HP LaserJet, DeskJet compatible printers          300x300
  508.            /FM       128K EGA monochrome display ...................... 62x45
  509.                                                                              
  510.  
  511.                                                                            g-11
  512.            /FN     ~ Epson 9 pin compatible printers                   120x72
  513.            /FN+    ~ Epson 9 pin compatible printers (3 pass) ........ 120x216
  514.            /FN*    ~ Epson 9 pin compatible printers (6 pass)          240x216
  515.            /FP     ~ HP PaintJet ..................................... 180x180
  516.            /FQ       HP QuietJet                                       192x192
  517.            /FS       PostScript printers ............................ 1016x1016
  518.            /FT    !~ Epson 24 pin compatible printers                  180x180
  519.            /FT+   !~ Epson 24 pin compatible printers (2 pass) ....... 360x180
  520.            /FT*   !~ Epson 24 pin compatible printers (4 pass)         360x360
  521.            /FV     ~ VGA display ...................................... 62x62
  522.            /FV+    ~ 720x540 VGA display - mode $63                     70x70
  523.            /FV+b   ~ 720x540 VGA display - mode b ..................... 70x70
  524.            /FV*    ~ 800x600 VGA display - mode $64                     78x78
  525.            /FV*b   ~ 800x600 VGA display - mode b ..................... 78x78
  526.            /FX    !  IBM X24 compatibles alternate 2                   180x180
  527.            /FX+   !  IBM X24 compatibles alternate 2 (2 pass) ........ 360x180
  528.            /FZ     ~ ZSoft .PCX                                        100x100
  529.            /FZi,j  ~ ZSoft .PCX ........................................ ixj
  530.                                                                              
  531.  
  532.                                                                            g-12
  533.          /I - SCALING POINT LOCATION OPTION
  534.  
  535.            /IA│R│W[N] - IP point location - default /IA
  536.  
  537.            The I option sets the initial scaling points  (P1, P2 - the  scaling
  538.            points may  be set  in the  HP-GL  file  with  the  IP  command).  A
  539.            (absolute) sets  the  points to the default for the paper  size (see
  540.            below).  R fits P1 and P2 to the print window with at least .25 inch
  541.            margins  and an x/y ratio of 10/7.2 (the  same ratio as  the HP 7475
  542.            with  small paper).  W fits P1 and P2 to the print window with a .25
  543.            inch margin. N makes the margin 0 for R or W and is ignored with A.
  544.  
  545.            The default scaling points depend on the paper size  (/L option) and
  546.            the plot orientation (/O option).
  547.  
  548.            paper  options              default scaling pts  with RO90 command
  549.            A      /O1 /L 7.84,10.20    250,596 10250, 7796  154,244  7354,10244
  550.            A4     /O1 /L 7.60,10.88    603,521 10603, 7721    0,610  7200,10610
  551.            B      /O1 /L10.20,16.38    522,259 15722,10259  283,934 10283,16134
  552.            A3     /O1 /L10.88,15.90    170,602 15370,10602  607,797 10607,15997
  553.            A      /O2 /L10.20, 7.84    250,596 10250, 7796  154,244  7354,10244
  554.            A4     /O2 /L10.88, 7.60    603,521 10603, 7721    0,610  7200,10610
  555.            B      /O2 /L16.38,10.20    522,259 15722,10259  283,934 10283,16134
  556.            A3     /O2 /L15.90,10.88    170,602 15370,10602  607,797 10607,15997
  557.  
  558.            anything else               250,279 10250,7479   279,250  7479,10250
  559.  
  560.            /O3 and /O4 gives the same default scaling points as /O1 and /O2.
  561.  
  562.            The default paper size is 7.54 by 10.14, the HP 7470 standard  paper
  563.            size.  This causes "anything else" values.  This is because a number
  564.            of  printers  can't handle the slightly larger HP 7475 A size plots.
  565.            You must use the /L option to get HP 7475 standard paper sizes.
  566.  
  567.            /IA   uses the default scaling points
  568.            /IWN  sets the scaling points to fit the print window
  569.                                                                              
  570.  
  571.                                                                            g-13
  572.          /L - PAGE LAYOUT OPTION
  573.  
  574.            /L[B][F][R][x,y[,x,y]] - page layout - default depends on printer
  575.  
  576.            The L option defines the page layout.
  577.  
  578.            B boxes the plot at the print window edge using pen 8.
  579.  
  580.            F  causes a form feed after the plot.  This  is ignored for bit maps
  581.            and display output.
  582.  
  583.            R reverses  the colors  on displays and bit  maps  and is  otherwise
  584.            ignored. This gives the equivalent of a photographic negative.
  585.  
  586.            The first optional x and y are the  print window width and height in
  587.            inches  rounded to  .01.  These define the hard  clip limits.  These
  588.            values are not checked against your printer's capabilities.  If  you
  589.            specify  a print window that exceeds the  output  device limits, the
  590.            results are unknown.  You may need  to reset your printer's margins,
  591.            maximum  line  length, or page length to get large  plots.  The size
  592.            needed  for a given width  and height exceeds x and  y  by 8 pels to
  593.            allow for line widths.
  594.  
  595.            The  second optional x and y are the left and top  margins, measured
  596.            from the  printer's left margin and current vertical position to the
  597.            print window.  The  top  margin is modified  to match  the printer's
  598.            native indexing, but is accurate to .02 inch.  The margins for HP-GL
  599.            and PostScript  are  measured from  the device's 0,0  (left, bottom)
  600.            since that  is the starting point for  these  devices.  Margins  are
  601.            ignored for display output and bit maps.
  602.  
  603.            Each printer has a default page layout.  The default print window is
  604.            7.54x10.14  for printers  and  bit maps and 10.14x7.54 for HP-GL and
  605.            displays. (150 dpi page printer formats default to a height of 10.11
  606.            to keep the picture on one page.) These correspond to HP 7470 A size
  607.            paper. This is the done because some printers can't handle the extra
  608.            .06  inch  length of the HP 7475  A  size.  The margins are  printer
  609.            specific to compensate for different default margins.  In evaluating
  610.            user  options,  PrintGL  processes  each  option and  when  finished
  611.            reprocesses the default page layout for the last chosen  printer and
  612.            then reprocesses the last user /L option.  This procedure gives good
  613.            default values so that your /L option can  change the letter or size
  614.            suboptions and still have good margins.
  615.  
  616.            /LB7.5,3,.5,0   makes the  print window 7.5 inches wide and 3 inches
  617.                            high,  with a .5 inch left margin and no top margin,
  618.                            boxes the window, and does not do a form feed
  619.            /LF7.54,10.14   sets HP 7470 A size paper
  620.            /LF7.54,10.74   sets HP 7470 A4 size paper
  621.            /LF7.84,10.20   sets HP 7475 A size paper
  622.            /LF7.60,10.88   sets HP 7475 A4 size paper
  623.            /LF10.20,16.38  sets HP 7475 B size paper
  624.            /LF10.88,15.90  sets HP 7475 A3 size paper
  625.                                                                              
  626.  
  627.                                                                            g-14
  628.          /M - MAGNIFICATION OPTION
  629.  
  630.            /M[F]x - magnification - default /MF.9
  631.  
  632.            The M option  specifies  the magnification.  F fits the plot  to the
  633.            printer  window size.  The default is /MF.9 which makes the plot 90%
  634.            of the largest  size that will fit in the printer window.  /M1 gives
  635.            the same size plot as an HP 7475 plotter.
  636.  
  637.            /MF.9  fits the plot to the print window and shrinks it 10%
  638.            /M1    plots at the same size as an HP 7475
  639.            /M.5   plots at half the size of an HP 7475
  640.  
  641.          /N - PAGE NUMBER OPTION
  642.  
  643.            /N[i] - page number - default /N
  644.  
  645.            Ni says to print only page i of the plotfile.  If you do not specify
  646.            i then all pages in the plot will be printed (this is the default).
  647.  
  648.            /N   prints all pages in the plot file
  649.            /N3  prints only page 3
  650.  
  651.          /O - ORIGIN AND ORIENTATION OPTION
  652.  
  653.            /O[1│2│3│4[L]] - origin, orientation - default /O
  654.  
  655.            The O  option sets the printer's origin and orientation.  The origin
  656.            is one  of  four  corners numbered 1..4 for upper  left, lower left,
  657.            lower right, and upper  right.  The  L  suboption  specifies  a left
  658.            handed coordinate system (this should never be needed).
  659.  
  660.            If no origin is specified then printers  use  /O1  and  displays and
  661.            plotters  use /O2.  This  best matches  the  plotter's  width/height
  662.            ratio.
  663.  
  664.            Here are pictures of PrintGL's view of  the output media compared to
  665.            an HP 7475's view, to help with choosing a /O option.
  666.  
  667.            HP 7475                                PrintGL
  668.                                                                  display or
  669.            A size           B size                printer        plotter
  670.  
  671.              y┌────────┐    0,0┌────────┐y        ul┌──────┐ur   ul┌────────┐ur
  672.               │        │       │        │          1│      │4     1│        │4
  673.               │        │       │        │           │      │       │        │
  674.            0,0└────────┘x      │        │           │      │     ll└────────┘lr
  675.                                │        │           │      │      2          3
  676.                                │        │         ll└──────┘lr
  677.                                │        │          2        3
  678.                               x└────────┘
  679.  
  680.            /O1  puts the print window's origin in the upper left corner
  681.            /O2  puts the print window's origin in the lower left corner
  682.                                                                              
  683.  
  684.                                                                            g-15
  685.          /P - PLOTFILE OPTION
  686.  
  687.            /Pf - plotfile - no default
  688.  
  689.            The plotfile may be specified as the first parameter with no prefix,
  690.            or  it may be specified anywhere in the option list with /P.  If you
  691.            use a  file name  mask with "*"  and/or  "?",  each matching file is
  692.            processed, but the first failure or user break stops all processing.
  693.  
  694.          /R - INTERNAL RESOLUTION OPTION
  695.  
  696.            /Ri - internal resolution - default /R1016
  697.  
  698.            /R sets the internal grid resolution  in dots/inch.  It is  normally
  699.            1016 and rarely needs  to be changed.  To fit very large plots  into
  700.            the   -32768..32767  coordinate  limit,  use   /R508.   Setting  the
  701.            resolution to a multiple  of the output device  resolution times the
  702.            magnification may yield a small improvement in print quality.
  703.  
  704.          /S - PEN SHADING OPTION
  705.  
  706.            /Sc.. - pen shading patterns - default /S0
  707.  
  708.            /S  assigns a shading pattern to each pen.  Unspecified pens use the
  709.            last specified shade.  The shade values are 0..8.  0  is the default
  710.            solid line.  1..4 are 1 dot patterns (75%, 50%, 25%, 12.5%) and need
  711.            line widths of at least three to give good looking  lines.  5..8 are
  712.            2x2 dot patterns  (75%, 50%, 25%,  12.5%) and need line widths of at
  713.            least  five to give good looking  lines.  Some printers may wash out
  714.            shading because they have  a dot size  that is large relative to the
  715.            dot spacing.  This is often the  case  with  dot  matrix printers in
  716.            multipass modes.
  717.  
  718.            1 █▀█▀█▀█▀         2 ▀▄▀▄▀▄▀▄          3 ▀ ▀ ▀ ▀          4 ▀   ▀
  719.              █▀█▀█▀█▀           ▀▄▀▄▀▄▀▄            ▀ ▀ ▀ ▀              ▀   ▀
  720.              █▀█▀█▀█▀           ▀▄▀▄▀▄▀▄            ▀ ▀ ▀ ▀            ▀   ▀
  721.              █▀█▀█▀█▀           ▀▄▀▄▀▄▀▄            ▀ ▀ ▀ ▀              ▀   ▀
  722.  
  723.            5 ████████         6 ██  ██            7 ██  ██           8 ██
  724.              ██  ██               ██  ██
  725.              ████████           ██  ██              ██  ██                 ██
  726.              ██  ██               ██  ██
  727.  
  728.            /S023  sets pen 1    to solid
  729.                        pen 2    to 1 pel checkerboard
  730.                        pen 3..8 to 1 pel dots
  731.  
  732.          /T - TEMPORARY FILE OPTION
  733.  
  734.            /T[+]f - temporary file - default /TPRINTGL.TMP
  735.  
  736.            PrintGL uses a temporary file when it does not have enough memory to
  737.            handle a plotfile.  You can use /T to put it on a RAM disk for extra
  738.            speed.  If  you  have 256K of free memory, it is likely that PrintGL
  739.            will  never  use  a  temporary file.  You  can  force  the use of  a
  740.            temporary file, if  the plot has  over 1024 data points, with +.  If
  741.            you use a RAM disk this may speed printing.
  742.                                                                              
  743.  
  744.                                                                            g-16
  745.          /W - PEN WIDTH OPTION
  746.  
  747.            /Wc.. - pen widths - default /WA
  748.  
  749.            The W option assigns a line width to each pen (1..8). Each width may
  750.            be 1..8 pels or A..H for the default width of the output format plus
  751.            0..7 (maximum 8). Unassigned pens use the last assigned width.
  752.  
  753.            The default line width is 1 for all output formats except non-impact
  754.            printers of a least than 240 dpi, which default to 2.
  755.  
  756.            /WA       sets pen 1..8 to the default width for the chosen printer
  757.            /WABC123  sets pen 1    to the default width for the chosen printer
  758.                           pen 2    to the default width + 1 pel
  759.                           pen 3    to the default width + 2 pel
  760.                           pen 4    to 1 pel
  761.                           pen 5    to 2 pels
  762.                           pen 6..8 to 3 pels
  763.  
  764.          /X - SUPPRESS MESSAGES OPTION
  765.  
  766.            /X[S[F]][U] - suppress messages - default /X
  767.  
  768.            The  X option  lets  you  suppress  some  PrintGL  messages.  The  S
  769.            suboption suppresses location and size messages. With S you can also
  770.            specify   F,   which  suppresses  file  names   and  page   numbers,
  771.            substituting "Plot  1", "Plot  2", etc.  The  U suboption suppresses
  772.            unsupported command messages.
  773.  
  774.            /X   gives all the normal messages
  775.            /XS  gives only the most important messages
  776.  
  777.          /Y - Y/D SWITCH SETTING OPTION
  778.  
  779.            /YD│Y - Y/D switch setting - default /YD
  780.  
  781.            The Y option sets the plotter's rear panel Y/D switch to D  or Y.  Y
  782.            starts with the plotter off and responds to esc.(, esc.Y, esc.), and
  783.            esc.Z  commands.  D  starts with  the plotter  on and  ignores these
  784.            commands.
  785.  
  786.            /YD  puts the YD switch in the usual D position
  787.  
  788.          /Z - CHORD ANGLE OPTION
  789.  
  790.            /Zi,j - default and minimum chord angle - default /Z10,5
  791.  
  792.            The HP 7475 defaults  to a  chord  angle of  5  and has  no minimum.
  793.            Because  PrintGL stores each  chord  in a  circle  in  its  internal
  794.            database, this can be  very  time consuming.  And because of the low
  795.            resolution   of  printers  it  does   not  produce  a  corresponding
  796.            improvement in print quality. The Z option specifies the default and
  797.            minimum  chord angles.  The default is /Z10,5.  For better emulation
  798.            use /Z5,2.
  799.  
  800.            /Z5,2  sets the default chord angle to 5 degrees, and the minimum to
  801.                   2 degrees
  802.                                                                              
  803.  
  804.                                                                            g-17
  805.          MESSAGES
  806.  
  807.            PrintGL  displays a number of messages to  keep you informed of what
  808.            it is doing. The output looks like this.
  809.  
  810.              Reading SAMPLE.PLT
  811.              Plotfile has 1 page(s)    Processing page 1    2283 data records
  812.              Overall magnification    0.9964
  813.              Print window   Horizontal   0.00   7.54    Vertical   0.00  10.14
  814.              Plot area      Horizontal   0.42   7.13    Vertical   0.61   9.54
  815.              Output format /FN    120x72 dots/inch (HxV)
  816.              Writing to device LPT3
  817.  
  818.            The first line  is the plotfile  that is  currently being processed.
  819.            The second line tells how many pages are in the plotfile, which page
  820.            is being processed, and the number of data points in that page.  The
  821.            number  of data points is the number of pen moves in the page and is
  822.            shown to give you an indication of the plot's complexity.
  823.  
  824.            The  overall magnification  is either  the  magnification  that  you
  825.            specified  with the  /M option or  the effective magnification after
  826.            fitting to  the  page  with  /MF.  The  print window line  gives the
  827.            horizontal  and vertical  coordinates of  the  print window,  always
  828.            starting at 0,0 and in inches.  The  plot area gives  the horizontal
  829.            and vertical coordinates of a box that just covers the plotted data.
  830.            This uses the same coordinate system as the print window, so you can
  831.            tell where the plot is relative to the print window.
  832.  
  833.            The  output format  and resolution  are  given and  then the  output
  834.            device is  noted (except for screen plots).  If three plane color is
  835.            being used, the word "color" is displayed.  If you have a black only
  836.            printer, but the output format allows  color (this is  common with 9
  837.            and 24 pin  printers), using color  will triple the PrintGL run time
  838.            with no improvement in print quality.
  839.  
  840.            During  processing, PrintGL informs  you when  it is  processing and
  841.            writing data,  and you can watch the progress from 0% to 100%, along
  842.            with the elapsed time.
  843.  
  844.          SERIAL PRINTER INTERFACE
  845.  
  846.            If your  printer  is  attached  to  a  serial port, specify  /DCOM1,
  847.            /DCOM2, etc. PrintGL cannot set up the port. This is usually done in
  848.            the AUTOEXEC.BAT with MODE (probably MODE COM1:9600,N,8,1,P).
  849.  
  850.            At 9600 baud, the normal printer interface speed, a serial interface
  851.            is  far  slower  than a parallel port.  A full page of  180x180  dpi
  852.            graphics takes about 5  minutes.  And  if you are using color, which
  853.            requires sending three independent color  planes, this  jumps to  15
  854.            minutes. Beginning with version 1.15, PrintGL's PaintJet driver uses
  855.            data compression mode 1  to improve throughput and  should take less
  856.            than  half  the  time  of previous  versions.  The  compression mode
  857.            drivers  (!  suboption  of  the /F option)  may dramatically improve
  858.            print times on serial interface printers.
  859.                                                                              
  860.  
  861.                                                                            g-18
  862.          DISPLAY OUTPUT
  863.  
  864.            The  CGA  driver (/FC)  does not give  color.  The  CGA card has  no
  865.            graphics mode that supports the eight colors used by PrintGL.
  866.  
  867.            The EGA drivers (/FE, /FM) require a 128K or 256K EGA. If you have a
  868.            64K EGA, the CGA (/FC) driver will work.
  869.  
  870.            /FM is for an EGA card with  a digital monochrome  monitor attached.
  871.            If  your display  adaptor supports  Hercules  modes, /FH  will  give
  872.            better resolution.
  873.  
  874.            /FH supports the  Hercules  monochrome graphics card.  There  is  no
  875.            support for the Hercules InColor card.
  876.  
  877.            For MCGAs, use the VGA driver without color - /FV/CK.  The MCGA does
  878.            not support high resolution color.
  879.  
  880.            /FV works with any VGA card.  The /FV+ output format  requires a VGA
  881.            card  that  supports  720x540  mode.  /FV*  requires a VGA card  and
  882.            multisync  monitor that support 800x600 mode.  PrintGL  sets  up the
  883.            screen by setting BIOS display modes $63 and $64 ($ means hex).
  884.  
  885.            If  your  VGA  card  uses other  mode numbers to select  720x540  or
  886.            800x600 mode, you can specify this number in the /F option.  Here is
  887.            a list of /FV options for common  VGA cards.  You may need to  run a
  888.            special driver that is supplied with the card to get these modes.
  889.  
  890.              ATI                     /FV*$54
  891.              Genoa                   /FV*$29
  892.              Paradise                /FV*$58
  893.              Renaissance   /FV+$63   /FV*$64
  894.              Trident                 /FV*$5B
  895.              Video Seven             /FV*$62
  896.  
  897.            Display  output cannot  be redirected to a file - the /D  option  is
  898.            ignored when a display output format is chosen.
  899.  
  900.          CANON BJ PRINTERS
  901.  
  902.            /FJ should  work with any Canon BJ  printer.  If  you are  using cut
  903.            sheet  paper  then  the  full  10.14 inch  vertical  window  is  not
  904.            available.
  905.  
  906.            On Canon BJ130s,  you  should set switch  1-9 to on.  Otherwise, the
  907.            printer eliminates every second pel.
  908.  
  909.          CANON LBP PRINTERS
  910.  
  911.            /FD should work with  any Canon  LBP printer.  At 300  dpi it  takes
  912.            about 1 meg of memory to print  a full page of graphics.  At 150 dpi
  913.            (/FD-) 512K handles a full page.
  914.  
  915.            The alternate driver (/FD!) will probably be preferred.
  916.                                                                              
  917.  
  918.                                                                            g-19
  919.          EPSON 9 PIN PRINTERS
  920.  
  921.            /FN covers a wide range  of  9  pin dot matrix printers.  You need a
  922.            cyan/magenta/yellow ribbon  to  get  color  prints.  /FN+ uses 1/216
  923.            indexing and /FN* uses 1/216 indexing and 1/240 graphics.
  924.  
  925.            The  IBM  9 pin  Proprinters  do not  do  1/216 indexing and  do not
  926.            correctly handle 1/240 graphics. /FP is a special Proprinter driver.
  927.  
  928.            The /FN drivers use the following printer escape codes:
  929.  
  930.              esc J - index
  931.              esc L - graphics command for /FN and /FN+
  932.              esc Z - graphics command for /FN*
  933.              esc r - set ribbon color (only if color is specified)
  934.  
  935.          EPSON, NEC 24 PIN PRINTERS
  936.  
  937.            /FT covers  all  Epson  LQ  printers  and many  compatible  printers
  938.            (Panasonic, etc.).  You  need  a  cyan/magenta/yellow ribbon  to get
  939.            color prints.  /FT+ and /FT* use 1/360 graphics  mode, and /FT* uses
  940.            1/360  indexing  and  resets  the line feed distance to 1/6  inch on
  941.            completion.  A clean  paper path with equal tension on each  side is
  942.            needed for good 360x360 graphics.
  943.  
  944.            /F9 and  /F9+, for NEC  24 pin printers,  are  identical to /FT  and
  945.            /FT+. /FN* is identical to /FT* except for one printer code.
  946.  
  947.            These  drivers will not  work with IBM  Proprinter X24s in alternate
  948.            graphics mode because they use the absolute tab command.
  949.  
  950.            The /FT drivers use the following printer escape codes:
  951.  
  952.              esc $   - absolute tab
  953.              esc * ' - graphics command for /FT
  954.              esc * ( - graphics command for /FT+, /FT*
  955.              esc +   - set n/360 indexing for /FT*
  956.              esc 2   - start esc A indexing for /FT*
  957.              esc A   - set n/72 indexing for /FT*
  958.              esc J   - index
  959.              esc r   - set ribbon color (only if color is specified)
  960.  
  961.          HP-GL OUTPUT
  962.  
  963.            /F8 outputs low level HP-GL, converting all characters,  arcs, fill,
  964.            and clips to vectors.  The output is  HP 7470 compatible, containing
  965.            only IN, SP, IW, LT, PU, and PD commands.  PG is added  if form feed
  966.            is  specified (the  default).  If you decline  the form  feed,  then
  967.            multiple plots may be appended to the same page.
  968.  
  969.            PrintGL uses its width parameter (/W) as a pen selector, so for each
  970.            pen in the original  HP-GL, you may specify  a new pen in the output
  971.            HP-GL.  The default /W  option is /W12345678 for this case.  Shading
  972.            and color parameters are ignored.
  973.                                                                              
  974.  
  975.                                                                            g-20
  976.          HP LASERJET, DESKJET
  977.  
  978.            /FL works with any LaserJet or  DeskJet.  This  driver  assumes that
  979.            your  printer is in  portrait  mode.
  980.  
  981.            At  300 dpi (the default), if you have just 512K  in a LaserJet then
  982.            your  plot can  cover about  half  the area of  the  page.  1.5M  is
  983.            sufficient for  a  full page of graphics.  At  150  dpi (/FL-)  512K
  984.            handles  a full  page.  (All  DeskJets  can  handle a full  page  of
  985.            graphics at 300 dpi.)
  986.  
  987.            The alternate driver (/FL!) will probably be preferred on LaserJets,
  988.            but it does not work on DeskJets.
  989.  
  990.            /FI is  the  same  as  /FL except  it uses  data transfer mode 2 for
  991.            improved speed.  This is  supported on the LaserJet  2P  and  3  and
  992.            DeskJet Plus and 500.
  993.  
  994.          HP PAINTJET
  995.  
  996.            If  your PaintJet has a serial interface, please see SERIAL  PRINTER
  997.            INTERFACE. A parallel interface is available for the PaintJet.
  998.  
  999.          HP QUIETJET
  1000.  
  1001.            /FQ works only  with the printer in PCL  mode.  Epson emulation with
  1002.            the  QuietJet  is not  recommended because  the  resolutions do  not
  1003.            match.
  1004.  
  1005.          IBM EXECJET
  1006.  
  1007.            Switch  1-4  should be  set to off  when  using /F7.  Otherwise, the
  1008.            ExecJet eliminates every second pel.
  1009.  
  1010.          IBM LASERPRINTER
  1011.  
  1012.            /F4  drives  the LaserPrinter in native mode.  /FL will work if  the
  1013.            LaserPrinter is in HP LaserJet mode. At 300 dpi it takes about 1 meg
  1014.            of memory to print a full page of  graphics.  At 150 dpi (/F4-) 512K
  1015.            handles a full page.
  1016.  
  1017.            The alternate driver (/F4!) will probably be preferred.
  1018.  
  1019.          IBM PROPRINTER
  1020.  
  1021.            The /F1 driver  is  for all 9 pin  Proprinters.  The high resolution
  1022.            driver (/F1+) uses  1/144  inch indexing  and it does  not work with
  1023.            Epson 9 pin compatible printers that have 1/216 inch indexing.
  1024.  
  1025.            There  is no  /F1*  resolution,  which  would  be  240x144,  because
  1026.            Proprinters do not handle 1/240 graphics correctly.
  1027.  
  1028.            Use /FN for the IBM Graphics Printer.
  1029.                                                                              
  1030.  
  1031.                                                                            g-21
  1032.          IBM PROPRINTER X24 COMPATIBLE PRINTERS
  1033.  
  1034.            PrintGL  has  three  drivers  that cover  Proprinter  X24 compatible
  1035.            printers.  The  first, /F6,  is for  all IBM Proprinter X24s.  These
  1036.            printers do  1/144  indexing,  and using them at 180 dpi results  in
  1037.            horizontal white streaks every 2/3 inch.  The /F6 drivers compensate
  1038.            for this  indexing  by  defining  the  vertical  resolution  as  182
  1039.            dots/inch and indexing 19/144  inch per line.  To work properly, the
  1040.            printer must be on a 1/144  boundary when the  graphics are printed.
  1041.            If  you keep the  line feed distance a  multiple of 1/72  (1/6, 1/8,
  1042.            1/9) then this will always be the case.
  1043.  
  1044.            The second  X24 compatible driver  is /F5 and is referred to as  X24
  1045.            alternate  1.  This  is for printers that are X24  compatible except
  1046.            that they do 1/180 indexing. This is probably the case with most X24
  1047.            compatible printers, including the IBM Quickwriter.
  1048.  
  1049.            The  third X24  compatible driver is  /FX and is referred to  as X24
  1050.            alternate 2.  This is the same as /F5 except that the vertical units
  1051.            command uses a different format that is not strictly IBM compatible.
  1052.            This driver works with Panasonic 24 pin printers in X24 mode.
  1053.  
  1054.            Proprinter  X24  and XL24 are  very slow with graphics,  making many
  1055.            passes  per line.  This limitation cannot be overcome with software.
  1056.            The X24E and XL24E are significantly faster.
  1057.  
  1058.          IBM QUIETWRITER 2 AND 3
  1059.  
  1060.            Line widths should be at least 2 for these printers. The Quietwriter
  1061.            drivers reset the line feed distance to 1/6 inch upon completion.
  1062.  
  1063.          KODAK DICONIX COLOR 4
  1064.  
  1065.            Although the Kodak DC4 is HP PaintJet compatible,  you will get much
  1066.            better results with /FK, which uses its native resolution.
  1067.  
  1068.          POSTSCRIPT PRINTERS
  1069.  
  1070.            PrintGL outputs  Encapsulated  PostScript,  useful  for  printing or
  1071.            importing into publishing programs.  All characters, arcs, fill, and
  1072.            clips are converted to simple vectors, so PrintGL is  not a  general
  1073.            purpose HP-GL to PostScript converter.
  1074.  
  1075.            PrintGL's pen width parameters are assumed to be in  units of 4/1016
  1076.            inch.  Drawing  is  ordered so that each shade  covers  all  lighter
  1077.            shades and the /S shading parameters are mapped as follows:
  1078.  
  1079.              shade   gray level        shade   gray level
  1080.  
  1081.              1,5     0.2               3,7     0.6
  1082.              2,6     0.4               4,8     0.8
  1083.  
  1084.            If the form feed suboption  of  the /L option is declined then there
  1085.            is no  showpage command  in  the  file, and more  PostScript may  be
  1086.            appended to the same page.
  1087.                                                                              
  1088.  
  1089.                                                                            g-22
  1090.          GEM .IMG BIT MAP OUTPUT
  1091.  
  1092.            Here is the .IMG format used by PrintGL. The header is composed of 8
  1093.            word values, high byte first:
  1094.  
  1095.              1
  1096.              8
  1097.              number of color planes - 1 or 3
  1098.              1
  1099.              pel width in microns - round(25400 / horizontal dots/inch)
  1100.              pel height in microns - round(25400 / vertical dots/inch)
  1101.              scan line width in pels
  1102.              number of scan lines
  1103.  
  1104.            The scan lines follow, in top to bottom order. For color plots, each
  1105.            each complete scan line consists of a red, green, and then blue scan
  1106.            line. Data for the scan line uses these commands:
  1107.  
  1108.              $01..$7F          - 1 to 127 * 8 pels 0 (only used for background)
  1109.              $81..$8F          - 1 to 127 * 8 pels 1 (only used for background)
  1110.              $80 n b1 b2 .. bn - n bytes of bit mapped data
  1111.  
  1112.            1 is the background and 0 the foreground for b/w files. 1,1,1 is the
  1113.            background for color files, with 0 representing the absence of  red,
  1114.            green, or blue. The bit usage may be reversed with /LR.
  1115.  
  1116.            The bit map is the size specified by the L option plus eight pels in
  1117.            each direction. The width is an even number of bytes.
  1118.  
  1119.          ZSOFT .PCX BIT MAP OUTPUT
  1120.  
  1121.            Here is  the .PCX  format  used  by PrintGL.  The file starts with a
  1122.            header composed of 128 byte values:
  1123.  
  1124.              10,2,1,1,0,0,0,0,
  1125.              max_x,max_y,                            (2 bytes each, in pels   )
  1126.              dpi_x,dpi_y,                            (2 bytes each, dots/inch )
  1127.              0,0,0,   0,0,127,   0,127,0,   0,127,127,    (color palette      )
  1128.              127,0,0, 127,0,127, 127,127,0, 127,127,127,
  1129.              0,0,0,   0,0,255,   0,255,0,   0,255,255,
  1130.              255,0,0, 255,0,255, 255,255,0, 255,255,255,
  1131.              0,
  1132.              color_planes,                           (1 or 3                  )
  1133.              width                                   (2 bytes, in bytes       )
  1134.              1,0,..,0
  1135.  
  1136.            The  scan  lines,  top  to bottom, follow.  For  color  plots,  each
  1137.            complete  scan line  consists of  a red,  green, and blue scan line.
  1138.            Each scan line is composed of these data commands:
  1139.  
  1140.              $00..$BF    - 1 byte of bit mapped data
  1141.              $C1..$CF b1 - 1 byte of bit mapped data
  1142.              $C0 n b1    - n bytes of repeated data (only used for background)
  1143.  
  1144.            1 or 1,1,1 is used for the background (0 or 0,0,0 with /LR). The bit
  1145.            map is the size specified by the  L option  plus eight pels in  each
  1146.            direction, and the width is an even number of bytes.
  1147.                                                                              
  1148.  
  1149.                                                                            g-23
  1150.          PRINTGL MENU INTERFACE (PMI)
  1151.  
  1152.            To  run  PrintGL Menu Interface,  enter PMI  at  the DOS prompt, and
  1153.            press Enter. There are no command line options. The PMI main menu is
  1154.            displayed at the top of the screen, and the bottom of the  screen is
  1155.            used differently for each main menu option.  The  PMI  main  menu is
  1156.            divided into six groups - the top row  and five columns.  Each group
  1157.            is described below.
  1158.  
  1159.            When  the  cursor is on  a main menu item,  the current value of the
  1160.            corresponding  option is displayed below the main  menu.  To  modify
  1161.            that value, press Enter (or the left mouse button).  The options are
  1162.            modified with cursor movement and sometimes entering numeric values.
  1163.            The Enter key  returns you to  the  main  menu  with the  new option
  1164.            values. Esc (or the right mouse button) returns you to the main menu
  1165.            with the option values unchanged.
  1166.  
  1167.            Whenever a cursor bar has a notch, the value within the notch may be
  1168.            edited.
  1169.  
  1170.          PMI SPECIFIC FUNCTIONS
  1171.  
  1172.            The top row of  main  menu  options is  dedicated to PMI  functions.
  1173.            These  include  running PrintGL,  switching  to  alternate settings,
  1174.            exiting  PMI, saving  the  current  PMI  settings, and  setting  PMI
  1175.            options.
  1176.  
  1177.            R  runs  PrintGL from  any main  menu cursor  location, but  PrintGL
  1178.            messages will not be saved unless the cursor is on "run PrintGL".
  1179.  
  1180.            The "alt settings"  item rotates  between three  PMI configurations.
  1181.            The current configuration number is on line 2 column 1.
  1182.  
  1183.            The "save settings" item saves the current PMI  configurations.  All
  1184.            of the current  PrintGL and PMI options  for  each configuration are
  1185.            saved.  The plotfile list is not saved.  PMI saves its configuration
  1186.            by writing to  PMI.EXE.  To  find PMI.EXE  it  looks in  the current
  1187.            directory and  then  searches  the  DOS PATH, saving  to  the  first
  1188.            PMI.EXE that it finds.
  1189.  
  1190.            The  "menu options"  item lets you configure  PMI mouse sensitivity,
  1191.            screen colors, and up to five initial plotfile masks.  Screen colors
  1192.            are specified with the standard IBM BIOS attributes.
  1193.  
  1194.              For color displays, the left hex digit is the background color and
  1195.              the right hex digit is the foreground color. Bright colors are not
  1196.              available in the background.
  1197.  
  1198.                0 black      4 red          8 gray (bright)     C bright red
  1199.                1 blue       5 magenta      9 bright blue       D bright magenta
  1200.                2 green      6 brown        A bright green      E bright yellow
  1201.                3 cyan       7 white        B bright cyan       F bright white
  1202.  
  1203.              For digital monochrome displays, these attributes are useful.
  1204.  
  1205.                $01 underscored     $09 bright underscored     $70 reverse image
  1206.                $07 normal          $0F bright
  1207.                                                                              
  1208.  
  1209.                                                                            g-24
  1210.          PMI INPUT AND OUTPUT CHOICES
  1211.  
  1212.            Column  one of the main menu lets you choose the  plotfiles  to plot
  1213.            (the /P option  in PrintGL), the plot page  number (/N),  the output
  1214.            destination (/D), and the output format (/F).
  1215.  
  1216.            You may enter up to 99 plotfiles in the "plotfile" main menu option.
  1217.            To  choose from a  list of files, enter a  mask name and press Enter
  1218.            (the cursor must  be on the  mask).  PMI will then display a list of
  1219.            corresponding  files.  Select  any number of the files by moving the
  1220.            cursor  to the desired file and pressing Space  (or the middle mouse
  1221.            button). If no files have been selected, then pressing Enter selects
  1222.            the file under the cursor.  The selected files are added to the file
  1223.            list at  or below  the  cursor.  Files that would overflow the  99th
  1224.            position on the plotfile list are dropped.
  1225.  
  1226.            When you run PrintGL, PMI runs PrintGL for each file on the plotfile
  1227.            list.  Masks are ignored.  For any  plotfiles that PrintGL does  not
  1228.            successfully process, PMI inserts an arrow in front of the  plotfile
  1229.            name.  You  can view the results from the "plotfile" main menu item.
  1230.            The arrow is not considered  part of the file name by PMI, so you do
  1231.            not need to remove it to retry PrintGL.
  1232.  
  1233.            A  number of  printers in the  output format list are marked with an
  1234.            "!".  These represent alternate drivers that may run faster than the
  1235.            normal drivers (see the ! suboption of the /F option).
  1236.  
  1237.            Printers that  support  color  have  a color option.  This  lets you
  1238.            specify a black/white printer even though you may have set up colors
  1239.            with the "pen color" menu.  Output formats that do not support color
  1240.            do not have this option and  always convert the  selected  colors to
  1241.            black and white.
  1242.  
  1243.          PMI PLOT OPTIONS
  1244.  
  1245.            The second column  of  main menu options define  how  the  plot will
  1246.            appear  on  the  page.   The  options  include  magnification  (/M),
  1247.            orientation (/O), position (/A), and initial scaling points (/I).
  1248.  
  1249.            Left handed orientations are not available from PMI.
  1250.  
  1251.          PMI PEN OPTIONS
  1252.  
  1253.            The   third   column  of   main  menu   options   covers   the   pen
  1254.            characteristics:  color  (/C), shade (/S), and width (/W).  Each  of
  1255.            these menus use the up and down cursor keys to select a pen, and the
  1256.            left and right cursor keys to choose an attribute.
  1257.  
  1258.            For  color  selection,  the  one  character  colors  (l,b,c,g,m,r,y)
  1259.            represent  pure  colors,  and  the  two  character  colors are shade
  1260.            pattern mixes.  The  shade  pattern  mixed  colors use  the  current
  1261.            shading option for  that  pen,  unless  the  shade pattern  is  100%
  1262.            (solid), in which case a one pel checkerboard is used.
  1263.                                                                              
  1264.  
  1265.                                                                            g-25
  1266.          PMI PAGE LAYOUT OPTIONS
  1267.  
  1268.            The  fourth column of main menu options covers the page layout (/L).
  1269.            These are box, form feed, print window, and left and top margins.
  1270.  
  1271.            Reverse image displays and bit maps are not available from PMI.
  1272.  
  1273.          PMI OTHER OPTIONS
  1274.  
  1275.            Options that are  generally set once  and then never touched are  in
  1276.            column  5.  These include the temporary  file name (/T), default and
  1277.            minimum  chord  angle (/Z),  plotter  D/Y  switch  setting (/Y), and
  1278.            internal resolution (/R).
  1279.                                                                              
  1280.  
  1281.                                                                            g-26
  1282.          HP-GL
  1283.  
  1284.            PrintGL's HP-GL specification is taken  from the programming manuals
  1285.            for  the  HP 7470A,  7475A,  ColorPro (7440/17440), and  7550A.  The
  1286.            closest match to  the  PrintGL command set  is  the  7440/17440,  HP
  1287.            manual 07440-90001.  PrintGL supports the 7470, 7475, and 7440/17440
  1288.            command  sets  except  for  character  set  8  (Katakana),  digitize
  1289.            commands, output commands, the error  mask command, and some  device
  1290.            control commands. Supported commands are listed below. Commands that
  1291.            are not applicable to printing, such as pen velocity, are considered
  1292.            supported  but  are  completely  ignored.   Commands  that  are  not
  1293.            supported are flagged and then ignored.
  1294.  
  1295.            In addition,  form feed  commands (PG, AF) and  proportional  spaced
  1296.            fonts, from the 7550,  are  supported.  To take  advantage  of these
  1297.            extensions, it may be useful  to  use  a 7550 driver  to create your
  1298.            plotfile.
  1299.  
  1300.            And fifteen pens are allowed  instead of  eight.
  1301.  
  1302.            In reading a plotfile, PrintGL ignores carriage returns, line feeds,
  1303.            and nulls  except where  they may be valid characters (LB,  SM,  DT,
  1304.            esc.), and ASCII EOF (026) is interpreted as an end of file mark.
  1305.  
  1306.            AA x_center , y_center , arc_angle [, chord_angle]
  1307.  
  1308.              arc absolute
  1309.  
  1310.              AA draws an arc starting at the current pen position  with the pen
  1311.              in the current up/down state.
  1312.  
  1313.            AF
  1314.  
  1315.              advance full page (extension)
  1316.  
  1317.              AF starts a new plot. PrintGL starts every page with the pen up at
  1318.              0,0.
  1319.  
  1320.            AP
  1321.  
  1322.              automatic pen pickup - IGNORED
  1323.  
  1324.            AR x_center_delta , y_center_delta , arc_angle [, chord_angle]
  1325.  
  1326.              arc relative
  1327.  
  1328.              AR draws an arc starting at the current pen position  with the pen
  1329.              in the current up/down state.
  1330.  
  1331.            CA character_set
  1332.  
  1333.              designate alternate character set
  1334.  
  1335.              See HP-GL CHARACTER SETS for a list of character sets.
  1336.                                                                              
  1337.  
  1338.                                                                            g-27
  1339.            CI radius [, chord_angle]
  1340.  
  1341.              circle
  1342.  
  1343.              CI draws a  circle centered at the current position.  The  current
  1344.              up/down state and position are unchanged by a CI command.
  1345.  
  1346.            CP [spaces , lines]
  1347.  
  1348.              character plot
  1349.  
  1350.              CP  moves  the  pen by character spaces (+ is  along the text) and
  1351.              lines  (+  is  up),  using  the current up/down  state.  Using  no
  1352.              parameters is the same as a carriage return/line feed.
  1353.  
  1354.            CS character_set
  1355.  
  1356.              designate standard character set
  1357.  
  1358.              See HP-GL CHARACTER SETS for a list of character sets.
  1359.  
  1360.            DF
  1361.  
  1362.              default values
  1363.  
  1364.              This sets default values for the following commands:  CA,  CS, DR,
  1365.              DT, FT, IW, LT, PA, PT, SC, SM, SL, SR, SS, TL.
  1366.  
  1367.            DI [run , rise]
  1368.  
  1369.              absolute character direction
  1370.  
  1371.              DI sets the baseline direction for labels.  Using no parameters is
  1372.              the same as DI1,0.
  1373.  
  1374.            DR [run , rise]
  1375.  
  1376.              relative character direction
  1377.  
  1378.              DI  sets the baseline  direction  for labels.  Run  and rise are a
  1379.              percentage of P2X-P1X and P2Y-P1Y. Using no parameters is the same
  1380.              as DR1,0.
  1381.  
  1382.            DTt
  1383.  
  1384.              define label terminator
  1385.  
  1386.              The label terminator marks  the end of an LB command.  The default
  1387.              is ASCII 003.
  1388.  
  1389.            EA x_opposite_corner , y_opposite_corner
  1390.  
  1391.              edge rectangle absolute
  1392.  
  1393.              EA draws a rectangle with corners defined  by the current position
  1394.              and the command  parameters.  The current pen position and up/down
  1395.              state are unchanged.
  1396.                                                                              
  1397.  
  1398.                                                                            g-28
  1399.            EC
  1400.  
  1401.              enable cutter - IGNORED
  1402.  
  1403.            EP
  1404.  
  1405.              edge polygon (extension)
  1406.  
  1407.              EP draws  the  current  polygon  edge.  Any  pen  up/down used  in
  1408.              creating the polygon is respected in drawing the edge.
  1409.  
  1410.            ER x_opposite_corner_delta , y_opposite_corner_delta
  1411.  
  1412.              edge rectangle relative
  1413.  
  1414.              ER draws a rectangle with corners defined  by the current position
  1415.              and the command  parameters.  The current pen position and up/down
  1416.              state are unchanged.
  1417.  
  1418.            EW radius , start_angle , sweep_angle [, chord_angle]
  1419.  
  1420.              edge wedge
  1421.  
  1422.              EW draws a wedge centered at the current position. The current pen
  1423.              position and up/down state are unchanged.
  1424.  
  1425.            FP
  1426.  
  1427.              fill polygon (extension)
  1428.  
  1429.              FP  fills  the  current  polygon.  Pen up/down  commands  used  in
  1430.              creating the polygon are ignored.
  1431.  
  1432.              There is a limit of 2000 fill line segments per polygon.
  1433.  
  1434.            FT [type [, spacing [, angle]]]
  1435.  
  1436.              fill type
  1437.  
  1438.              These are  the  fill types.  Type  2  is identical to  type 1  for
  1439.              PrintGL.
  1440.  
  1441.                1  solid lines spaced at the pen thickness (see PT command)
  1442.                2  unidirectional solid lines spaced at the pen thickness
  1443.                3  lines at the specified spacing
  1444.                4  cross hatched lines at the specified spacing
  1445.                5  type ignored
  1446.  
  1447.              A spacing parameter of 0 sets  the spacing  to  1%  of  the  P1-P2
  1448.              diagonal. Spacing is in x axis units (this is only relevant if the
  1449.              axes have different  scaling).  PrintGL supports any integer angle
  1450.              for  fill  (the HP 7475 requires multiples of 45  degrees).  Cross
  1451.              hatched lines are at angle + 90.
  1452.  
  1453.            IN
  1454.  
  1455.              initialize
  1456.                                                                              
  1457.  
  1458.                                                                            g-29
  1459.            IP [p1x , p1y [, p2x , p2y]]
  1460.  
  1461.              sets scaling points P1 and P2
  1462.  
  1463.              IP sets the scaling points (P1 and P2) in plotter units. P1 and P2
  1464.              are used  by a number  of  commands  to help with size independent
  1465.              plots.
  1466.  
  1467.            IW [x_lower_left , y_lower_left , x_upper_right , y_upper_right]
  1468.  
  1469.              input window
  1470.  
  1471.              IW sets a  clipping window in plotter units.  With  no parameters,
  1472.              the clipping window is turned off.
  1473.  
  1474.            LB..text..terminator
  1475.  
  1476.              label
  1477.  
  1478.              Labels use  the current character set, based on CA, CS, SA, and SS
  1479.              commands. See HP-GL CHARACTER SETS for font specifics.
  1480.  
  1481.            LT [pattern_number [, pattern_length]]
  1482.  
  1483.              line type
  1484.  
  1485.              PrintGL's line type  patterns are close to, but not  identical  to
  1486.              HP's.  Line  type patterns  are dynamically  limited to a  minimum
  1487.              length of 16 pels.
  1488.  
  1489.              no parameter  ────────────────────────────────────────────────
  1490.              0             dots at endpoints only
  1491.              1             ∙               ∙               ∙
  1492.              2             ────────        ────────        ────────
  1493.              3             ────────────    ────────────    ────────────
  1494.              4             ────────────  ∙ ────────────  ∙ ────────────  ∙
  1495.              5             ──────────  ──  ──────────  ──  ──────────  ──
  1496.              6             ──────  ──  ──  ──────  ──  ──  ──────  ──  ──
  1497.  
  1498.              Pattern  length  is a  percentage  of the  P1-P2  diagonal with  a
  1499.              default of 4%.
  1500.  
  1501.              Line  type is  a property  of the line that is being drawn - it is
  1502.              not a property of the pen that is being used to draw the line. You
  1503.              cannot specify that a certain pen should use a specific line type.
  1504.              (Color, shading, and width are pen  properties and can be assigned
  1505.              to pens.)
  1506.  
  1507.            PA [x , y] [, x , y] ...
  1508.  
  1509.              plot absolute
  1510.  
  1511.              PA moves the pen in current up/down state.
  1512.                                                                              
  1513.  
  1514.                                                                            g-30
  1515.            PD [x , y] [, x , y] ...
  1516.  
  1517.              pen down
  1518.  
  1519.              PD sets  the pen  down and optionally  moves  it with  the current
  1520.              absolute/relative mode.
  1521.  
  1522.            PG [i]
  1523.  
  1524.              new page (extension)
  1525.  
  1526.              PG starts  a new  plot.  The parameter is ignored.  PrintGL starts
  1527.              every page with the pen up at 0,0.
  1528.  
  1529.            PM i
  1530.  
  1531.              polygon mode (extension)
  1532.  
  1533.              PM 0 starts polygon mode.  The current position is the first point
  1534.              in the polygon.
  1535.  
  1536.              PM 1 starts  a new  subpolygon.  The  position after the next  pen
  1537.              movement is the first point in the subpolygon.  The first pen move
  1538.              of a subpolygon is done with the pen up, regardless of the current
  1539.              up/down status.
  1540.  
  1541.              PM 2 ends polygon mode.
  1542.  
  1543.              PM 1 and  PM 2 close the current subpolygon  with the pen up if it
  1544.              is open.
  1545.  
  1546.              The following  commands are accepted in polygon  mode: PM, PA, PR,
  1547.              PU, PD,  AA,  AR,  CI  (circles  are  automatically  prefixed  and
  1548.              suffixed by PM 1), and IN (ends polygon mode).
  1549.  
  1550.              The polygon buffer is limited to 500 data points.
  1551.  
  1552.            PR [x_delta , y_delta] [, x_delta , y_delta] ...
  1553.  
  1554.              plot relative
  1555.  
  1556.              PR moves the pen with the current up/down state.
  1557.  
  1558.            PS
  1559.  
  1560.              paper size - IGNORED
  1561.  
  1562.              PrintGL ignores this command. You must set the paper size with the
  1563.              /L option.
  1564.  
  1565.            PT [thickness]
  1566.  
  1567.              pen thickness
  1568.  
  1569.              The pen  thickness is the line spacing, from .1 to 5.0 mm, used in
  1570.              solid fills. (PT does not cause a pen to be a certain width.)
  1571.                                                                              
  1572.  
  1573.                                                                            g-31
  1574.            PU [x,y] [,x,y] ...
  1575.  
  1576.              pen up
  1577.  
  1578.              PU  raises  the  pen  and  optionally  moves it with  the  current
  1579.              absolute/relative mode.
  1580.  
  1581.            RA x_opposite_corner , y_opposite_corner
  1582.  
  1583.              shade rectangle absolute
  1584.  
  1585.              RA  fills a rectangle with corners defined by the current position
  1586.              and the command parameters.  The current pen  position and up/down
  1587.              state are unchanged. The rectangle edge is not drawn.
  1588.  
  1589.            RO [angle]
  1590.  
  1591.              rotated coordinate system
  1592.  
  1593.              RO with 0 or no parameters sets up a normal coordinate system.  RO
  1594.              with  90,  the  only other allowed value, sets up a system that is
  1595.              rotated  90 degrees.  The method of rotation depends on  the paper
  1596.              size.  The RO command does not change the scaling points, so an IP
  1597.              command is useful after an RO.
  1598.  
  1599.              The HP 7475 specifies two different meanings for RO90 depending on
  1600.              the  paper  size (A/A4 or B/A3).  PrintGL  decides  which  type of
  1601.              rotation to do based on the sum of  the  print  window  width  and
  1602.              height.  If this sum  is  greater than 24 inches  then large paper
  1603.              rotation is used. Otherwise, small paper rotation is used.
  1604.  
  1605.              Small paper rotation:              Large paper rotation:
  1606.  
  1607.              RO 0             RO 90             RO 0             RO 90
  1608.  
  1609.                y┌────────┐   0,0┌────────┐y     0,0┌────────┐y    y┌────────┐
  1610.                 │        │      │        │         │        │      │        │
  1611.                 │        │      │        │         │        │      │        │
  1612.              0,0└────────┘x    x└────────┘         │        │      │        │
  1613.                                                    │        │      │        │
  1614.                                                    │        │      │        │
  1615.                                                    │        │      │        │
  1616.                                                   x└────────┘   0,0└────────┘x
  1617.  
  1618.            RR x_opposite_corner_delta , y_opposite_corner_delta
  1619.  
  1620.              shade rectangle relative
  1621.  
  1622.              RR  fills a rectangle with corners defined by the current position
  1623.              and the command parameters.  The current pen  position and up/down
  1624.              state are unchanged. The rectangle edge is not drawn.
  1625.                                                                              
  1626.  
  1627.                                                                            g-32
  1628.            SA
  1629.  
  1630.              select alternate character set
  1631.  
  1632.              SA specifies the alternate character set as current. The alternate
  1633.              character set is chosen with CA.
  1634.  
  1635.            SC [xmin , xmax , ymin , ymax]
  1636.  
  1637.              scaling
  1638.  
  1639.              SC  sets user units for subsequent drawing.  The units are defined
  1640.              by  user values for P1 (xmin,ymin)  and  P2 (xmax,ymax).  Using no
  1641.              parameters  turns  scaling off, and  subsequent drawing is done in
  1642.              plotter units (1/1016 inch).
  1643.  
  1644.            SI [width , height]
  1645.  
  1646.              character size absolute
  1647.  
  1648.              SI sets the capital letter  box  width and height  in centimeters.
  1649.              Letter  spacing  is  1.5  *  width and line spacing is 2 * height.
  1650.              Using no parameters with B or A3 paper is the  same as SI.285,.375
  1651.              and any other paper is the same as SI.187,.269.
  1652.  
  1653.            SL [tan_angle]
  1654.  
  1655.              character slant
  1656.  
  1657.              SL sets the character slant.  The parameter is  interpreted as the
  1658.              tangent  of  the angle from vertical.  Using no parameter sets the
  1659.              slant to 0 degrees.
  1660.  
  1661.            SM[c]
  1662.  
  1663.              symbol mode
  1664.  
  1665.              SM  sets symbol  mode, which centers  the symbol mode character at
  1666.              any plotted point.  Any character from ASCII 033 to 126 except ";"
  1667.              sets symbol mode. Any other character turns symbol mode off.
  1668.  
  1669.            SP pen_number
  1670.  
  1671.              select pen
  1672.  
  1673.              SP selects a pen.  Using 0 or no parameter stores the pen  without
  1674.              selecting a new pen.  This is usually done at the  end of a  plot.
  1675.              PrintGL ignores any drawing with pen 0.
  1676.  
  1677.            SR [width , height]
  1678.  
  1679.              character size relative
  1680.  
  1681.              SR sets the capital letter box width and height as a percentage of
  1682.              P2X-P1X  and P2Y-P1Y.  Letter  spacing is 1.5  *  width  and  line
  1683.              spacing  is  2  *  height.  Using no  parameters  is the  same  as
  1684.              SR.75,1.5.
  1685.                                                                              
  1686.  
  1687.                                                                            g-33
  1688.            SS
  1689.  
  1690.              select standard character set
  1691.  
  1692.              SS specifies the standard character  set as current.  The standard
  1693.              character set is chosen with CS.
  1694.  
  1695.            TL [positive_length [, negative length]]
  1696.  
  1697.              tick length
  1698.  
  1699.              TL sets the tick lengths  used by XT and YT.  The  parameters  are
  1700.              lengths above  and  below the current position as a  percentage of
  1701.              P2Y-P1Y for x-axis ticks and  a percentage of  P2X-P1X  for y-axis
  1702.              ticks.
  1703.  
  1704.            UC [[pen_control ,] x_delta , y_delta] ...
  1705.  
  1706.              user character
  1707.  
  1708.              UC specifies a  user defined character.  Pen control number are 99
  1709.              for pen down, and -99 for pen up. Pen movements are relative, with
  1710.              x_delta in units of 1/4 the character  width  and y_delta in units
  1711.              of 1/8 the character height.
  1712.  
  1713.            VA
  1714.  
  1715.              adaptive velocity - IGNORED
  1716.  
  1717.            VN
  1718.  
  1719.              normal velocity - IGNORED
  1720.  
  1721.            VS
  1722.  
  1723.              pen velocity - IGNORED
  1724.  
  1725.            WG radius , start_angle , sweep_angle [, chord_angle]
  1726.  
  1727.              shade wedge
  1728.  
  1729.              WG fills a wedge centered at the current position. The current pen
  1730.              position and up/down  state are unchanged.  The wedge  edge is not
  1731.              drawn.
  1732.  
  1733.            XT
  1734.  
  1735.              x-axis tick
  1736.  
  1737.              XT draws a vertical line, with length specified by the TL command,
  1738.              at  the current position.  The pen position  and up/down state are
  1739.              unchanged.
  1740.                                                                              
  1741.  
  1742.                                                                            g-34
  1743.            YT
  1744.  
  1745.              y-axis tick
  1746.  
  1747.              YT draws  a  horizontal  line,  with length  specified  by  the TL
  1748.              command, at the  current position.  The  pen position  and up/down
  1749.              state are unchanged.
  1750.  
  1751.            esc.(
  1752.            esc.Y
  1753.  
  1754.              plotter on
  1755.  
  1756.              Esc.(  and esc.Y turn the plotter on.  This is only relevant  with
  1757.              the /YY option. It is not flagged as unsupported if /YD is set.
  1758.  
  1759.            esc.)
  1760.            esc.Z
  1761.  
  1762.              plotter off
  1763.  
  1764.              Esc.) and esc.Z turn the plotter off. They are only effective with
  1765.              the /YY option.  The plotter on  and off commands let you  include
  1766.              comments  or  data  to  pass through  to  another  device  in  the
  1767.              plotfile. These are flagged as unsupported commands if /YD is set,
  1768.              as an indication that you should set /YY.
  1769.  
  1770.            esc.@, esc.H, esc.I, esc.M, esc.N, esc.R
  1771.  
  1772.              RS-232 device control commands - IGNORED with /YY
  1773.                                                                              
  1774.  
  1775.                                                                            g-35
  1776.          HP-GL CHARACTER SETS
  1777.  
  1778.            The HP 7475 includes the following character sets.  PrintGL supports
  1779.            all  of  these except Katakana.  PrintGL's characters are similar to
  1780.            but not identical to HP's.
  1781.  
  1782.               0  ANSI ASCII
  1783.               1  9825 character set
  1784.               2  French/German
  1785.               3  Scandinavian
  1786.               4  Spanish/Latin American
  1787.               6  JIS ASCII
  1788.               7  Roman Extensions
  1789.               8  Katakana - NOT SUPPORTED BY PRINTGL
  1790.               9  ISO International Reference Version
  1791.              30  ISO Swedish
  1792.              31  ISO Swedish For Names
  1793.              32  ISO Norway Version 1
  1794.              33  ISO German
  1795.              34  ISO French
  1796.              35  ISO United Kingdom
  1797.              36  ISO Italian
  1798.              37  ISO Spanish
  1799.              38  ISO Portuguese
  1800.              39  ISO Norway Version 2
  1801.  
  1802.            The character sets specify a font for codes 033..127. Codes 000..032
  1803.            and 128..255 are independent of the character set and are all no ops
  1804.            except these.
  1805.  
  1806.              003  default label terminator
  1807.              008  backspace
  1808.              009  half backspace
  1809.              010  line feed
  1810.              011  reverse line feed
  1811.              013  carriage return
  1812.              014  select alternate character set
  1813.              015  select standard character set
  1814.              032  space
  1815.  
  1816.            Each of the  character  sets is available as  a proportional font by
  1817.            adding  10  to  the  set  number.  Unlike  the  HP  7550,  PrintGL's
  1818.            proportional fonts are identical to  their corresponding fixed pitch
  1819.            fonts in shape, and differ only in positioning.  The character width
  1820.            to user specified width ratio is 1 for all characters except these:
  1821.  
  1822.              I l i            width ratio .75
  1823.              1 ( ) [ ] { } "  width ratio .5
  1824.              . , : ; ` ' | !  width ratio .25
  1825.  
  1826.            The space between  characters is always one half the  user specified
  1827.            character width.
  1828.                                                                              
  1829.  
  1830.                                                                            g-36
  1831.            The HP-GL characters  cannot  be  printed  with  the  standard ASCII
  1832.            character set.  The file CHARSET.PLT is an HP-GL file with two pages
  1833.            that can be used to print  these pages of PrintGL's manual.  Use the
  1834.            command  PRINTGL CHARSET.PLT /M1 /AO0,0 with a /F option specific to
  1835.            your printer to do this.
  1836.                                                                              
  1837.  
  1838.                                                                            g-37
  1839.                                                                              
  1840.  
  1841.                                                                            g-38
  1842.          COMPATIBILITY AND TECHNICAL INFORMATION
  1843.  
  1844.            PrintGL will run on any IBM compatible MS-DOS computer. It will work
  1845.            in a region  as  small  as 96K  but  may  need  more memory for high
  1846.            resolution or  wide  prints.  120K should suffice for the worst case
  1847.            black/white prints -  13.5 inches  wide, 360x360  dpi.  Color output
  1848.            requires  an  additional  32K or more  for high  resolution or  wide
  1849.            prints.  200K is needed for the worst case.  A larger region usually
  1850.            makes things go faster by  allowing larger  buffers and averting the
  1851.            use of a spill file.
  1852.  
  1853.            By default, PrintGL  uses the BIOS printer interrupt to send data to
  1854.            a printer.  If a file or device is specified for output then DOS 2.0
  1855.            file handling  is used  instead.  Messages are written to the screen
  1856.            with  standard  DOS  CON  output.   Graphics  screen  modes  (except
  1857.            Hercules) are set up with BIOS, and graphics screen updates are done
  1858.            by writing directly to the display buffer.
  1859.  
  1860.            PMI will run on any IBM compatible MS-DOS computer.  It will work in
  1861.            a  region as small as 160K.  When running  PrintGL,  all but 40K  is
  1862.            given to PrintGL. More memory may allow PrintGL to run more quickly.
  1863.  
  1864.            PMI runs PrintGL via a DOS shell.  It searches the current directory
  1865.            and then the DOS PATH, calling the first copy of PRINTGL.EXE that it
  1866.            finds.  When saving the current settings, PMI makes the  same search
  1867.            for PMI.EXE.
  1868.  
  1869.            PMI  can use any text or graphics display  mode that allows at least
  1870.            80 columns and 20 lines of text.  In text modes, PMI writes directly
  1871.            to  the  display  buffer, and  in  graphics modes, BIOS  is  used to
  1872.            display text.  When under DESQview, PMI should be started in a  text
  1873.            mode, and it writes directly to the DV selected screen buffer.
  1874.  
  1875.            The Microsoft mouse interface (interrupt  hex 33) is  used for mouse
  1876.            handling.
  1877.  
  1878.            PrintGL and PMI  were  written  by  Cary Ravitz  and  compiled  with
  1879.            Borland's Turbo Pascal 5.5 and Turbo Assembler 1.01.
  1880.                                                                              
  1881.  
  1882.                                                                            g-39
  1883.          USER SUPPORT
  1884.  
  1885.            The  quickest  way to  resolve  problems with PrintGL  is to use the
  1886.            support bulletin board.  The Ravitz Software support  bulletin board
  1887.            is at:
  1888.  
  1889.              606-268-0577  1200/2400,N,8,1  24 hours/day.
  1890.  
  1891.            To ask a question (or make a comment or suggestion), first prepare a
  1892.            file with the details of your question. Please be very specific, and
  1893.            include  any related information  on  your  hardware,  software, and
  1894.            operating environment.  Then call the bulletin board  and choose the
  1895.            upload question  option.  XMODEM file  transfer protocol is required
  1896.            for this.  Your question will be assigned  a number (such as 1015) -
  1897.            remember this number. An answer file (with the assigned number) will
  1898.            be posted, usually within 24 hours.
  1899.  
  1900.            To get an answer, call up  the bulletin board,  choose  the download
  1901.            option, then the answer option, and then  enter  the  answer number.
  1902.            XMODEM is also required for downloading answers.
  1903.  
  1904.            All question and answer files are public.
  1905.  
  1906.            The latest versions of PrintGL and Ravitz Editor are available  from
  1907.            the  bulletin board.  These  are  packed in  .ZIP format and  may be
  1908.            downloaded with XMODEM or YMODEM (1K XMODEM).
  1909.  
  1910.            Anyone  may use the bulletin board, however priority may be given to
  1911.            registered users of PrintGL and RE.
  1912.  
  1913.            You may send questions by mail to:
  1914.  
  1915.              Ravitz Software Inc.
  1916.              P. O. Box 25068
  1917.              Lexington, KY  40524-5068
  1918.  
  1919.            It is  best to  send questions  on diskette  (360K, 1.2M,  720K,  or
  1920.            1.44M, 720K  is  best) in a standard ASCII file.  The answer will be
  1921.            put on your diskette and  it will be mailed back  to you.  This will
  1922.            make  it  easy  to include  example files  or a  new version  of the
  1923.            software with the answer.
  1924.  
  1925.            Return postage is appreciated.
  1926.