home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / m / m066 / 1.img / 2DMISC.ZIP / HPTOPOST.DOC < prev    next >
Encoding:
Text File  |  1989-03-20  |  5.1 KB  |  113 lines

  1.                 HP-GL to POSTSCRIPT TRANSLATOR
  2.                 ______________________________
  3.  
  4. QUME Laser Printer Setting
  5. __________________________
  6.  
  7.  Before use of the Qume Laser printer ensure that the 
  8. switch on the back of the Laser printer is set on 7, 
  9. which is serial connection at 9600 baud.
  10.  
  11. About the Program
  12. _________________
  13.  
  14.  The HP-GL to postscript translator translates any HP-GL command file which has
  15. the supported commands into POSTRSCRIPT. The supported commands currently are
  16. PD, PU, PA, PR, AR and AA, and commands such as VS, IP, and SP are recognised
  17. but are not used by POSTSCRIPT as yet.
  18.  
  19. Options on PROGRAM
  20. __________________
  21.  
  22.  The program hptopost has various options that will allow certain parameters
  23. to be set before a plotfile is read in. These options MUST follow the file name
  24. of the HP-GL plot file name otherwise an 'Illegal Option' error will be shown
  25. by the program. The options current available are as follows:
  26.    -q         This indicates that a QikDraw generated plotfile is to be
  27.               read in. No further options are required, if using this option.
  28.  
  29.    -c  n      This indicates the number of copies required to be printed.
  30.               The n indicates the number of copies required to be printed.
  31.               NOTE : this can be changed at a later date by the user by editing
  32.                the postscript output file using a GOOD word processor or editor
  33.                and by replacing the line /#copies 1 def by the /#copies n def
  34.                where n is the number of copies.
  35.  
  36.    -s  sc     The scale factor to scale UP or scale DOWN the drawing on the
  37.               page. Scaling UP will mean only a part of the drawing will appear
  38.               on the page, while scaling down will reduce the size of the
  39.               drawing. DEFAULT value is one (1). The variable sc can have 
  40.               a value greater then one.
  41.  
  42.    -l         Rotates the plot file by 90 Degrees to display the drawing in 
  43.               landscape mode.
  44.  
  45.    -o paper   The output paper size that the drawing is being printed on.
  46.               For most users this is A4 which is the default value and does
  47.               not need to be changed, however for users having the ability  
  48.               to print on various paper sizes, then the following options 
  49.               are allowed.
  50.               A3 A4 A5 B4 B5 LETTER LEGAL STATEMENT 11X17
  51.  
  52.    -p n       The Paper size that the plot file was scaled to. Only paper
  53.               sizes from A0 (n=0) to A4 (n=4) are supported. This is used 
  54.               to scale the drawing from the paper size written in the plot
  55.               file to an A4 sheet on the laser printer.
  56.  
  57.    -xoff x    The drawing is offset by a specified amount in the X direction.
  58.               The parameter x is in mm and based on the offset that a user
  59.               requires on the paper that is currently being printed on.
  60.  
  61.    -yoff y    The drawing is offset by a specified amount in the Y direction.
  62.               The parameter x is in mm and based on the offset that a user
  63.               requires on the paper that is currently being printed on.
  64.  
  65. Creating a POSTSCRIPT FILE from QikDraw
  66. _______________________________________
  67.  
  68.  To generate a POSTSCRIPT file from QikDraw a PLOT File needs to be created by
  69. the user. This plot cannot have any offset commands in it otherwise the plot
  70. will be also offset on the laser printer output. The sequence of events to
  71. generate the POSTSCRIPT file to send to the laser printer is as follows:
  72.  
  73.       1)   With a DRAWING on the screen, SELECT
  74.              SET *PLOTR
  75.  
  76.       2)   Select the HP747x type plotter.
  77.  
  78.       3)   Type in 'f' to generate a HP-GL plot file.
  79.  
  80.       4)   Type in the plot file name.
  81.  
  82.       5)   Answer all the other plot parameters with the default
  83.            parameters, ensuring that the x offset and y offset are
  84.            both zero (0).
  85.  
  86.       5)   SELECT either
  87.               DRAW PLOT DRAWG   for a displayed drawing or
  88.               DRAW PLOT ALL     for a displayed sub-drawing
  89.  
  90.            NOTE: With a sub-drawing the plot file will only contain what
  91.                  is displayed on the screen and also the scaling will be
  92.                  incorrect on the output page. It is recommended that
  93.                  drawings be used to display drawings 'nicely'
  94.  
  95.       6)   QUIT QikDraw and return to the MS-DOS operating system.
  96.  
  97.       7)   To generate the POSTSCRIPT file the program hptopost needs to be
  98.            run, with the -q option indicating that the plot file is a QikDraw
  99.            generated plot file. Output from this program needs to be redirected
  100.            to a file to allow print of it. This can be done by using the
  101.            standard redirecting command in MS-DOS to a file as shown below.
  102.            The form of the command is as follows:
  103.  
  104.              hptopost plotfilename -q >postscriptfilename
  105.  
  106.       8)   When the program has finished the MS-DOS PRINT command can be used
  107.            to print the postscript file to the print ensuring that it is sent
  108.            to the correct output device (COM1 or COM2 if serial, LPT1 if
  109.            parallel).
  110.  
  111.  
  112.                             --o00o--
  113.