home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / printer / prtmacro.lha / PxS_Print < prev    next >
Text File  |  1990-07-13  |  2KB  |  52 lines

  1. /* Print a ProWrite document using PixelScript */
  2.  
  3. /*
  4.   This macro will automatically print a ProWrite document using
  5.   PostScript through the PixelScript program.
  6.  
  7.   To use this macro, you must:
  8.  
  9.   (1) Have the PIPE: device mounted on your system
  10.       (You do this by typing the command "Mount PIPE:" from the CLI,
  11.       or simply have this command in your Startup-Sequence file.)
  12.  
  13.   (2) Have the ProScript program in the same drawer as ProWrite
  14.       (ProScript is the PostScript driver for ProWrite, available
  15.       from New Horizons.)
  16.  
  17.   (3) Have the PixelScript program installed on your system
  18.       (PixelScript is a program from Pixelations that prints
  19.       PostScript files on dot-matrix printers.)
  20.  
  21.   (4) Set ProScript up to send its output to PIPE:PxS.ps
  22.       (To do this, run ProScript, click on "Gen Setup", click on
  23.       "Custom" for the Printer Port, and type "PIPE:PxS.ps" in the
  24.       text box.  Then click on "OK", and then "Yes" when ProScript
  25.       asks if you want to save these settings.  Then quit ProScript.)
  26.  
  27.   After starting the macro the "Print" requester will appear.  Click
  28.   on "PostScript" and then on "OK" to begin printing.  There may be
  29.   some delay before the print actually starts, since PixelScript can
  30.   be slow.
  31. */
  32.  
  33. If ~Show(files, STDOUT) Then Call Open 'STDOUT','NIL:'
  34.  
  35. /*
  36.   If you are using version 3.1 or later of ProWrite, you can
  37.   bypass the "Print" requester by replacing the next line
  38.   with these two lines:
  39.  
  40. SetPrint PostScript
  41. PrintOne
  42. */
  43. Address 'ProWrite' Print
  44.  
  45. /*
  46.   Change the following assignment to where your PixelScript program
  47.   is located
  48. */
  49. Address command 'Assign <NIL: >NIL: PxS: SYS:Applications/PixelScript'
  50.  
  51. Address command 'Run <NIL: >NIL: PxS:PxS PIPE:PxS.ps'
  52.