home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
printer
/
prtmacro.lha
/
PxS_Print
< prev
next >
Wrap
Text File
|
1990-07-13
|
2KB
|
52 lines
/* Print a ProWrite document using PixelScript */
/*
This macro will automatically print a ProWrite document using
PostScript through the PixelScript program.
To use this macro, you must:
(1) Have the PIPE: device mounted on your system
(You do this by typing the command "Mount PIPE:" from the CLI,
or simply have this command in your Startup-Sequence file.)
(2) Have the ProScript program in the same drawer as ProWrite
(ProScript is the PostScript driver for ProWrite, available
from New Horizons.)
(3) Have the PixelScript program installed on your system
(PixelScript is a program from Pixelations that prints
PostScript files on dot-matrix printers.)
(4) Set ProScript up to send its output to PIPE:PxS.ps
(To do this, run ProScript, click on "Gen Setup", click on
"Custom" for the Printer Port, and type "PIPE:PxS.ps" in the
text box. Then click on "OK", and then "Yes" when ProScript
asks if you want to save these settings. Then quit ProScript.)
After starting the macro the "Print" requester will appear. Click
on "PostScript" and then on "OK" to begin printing. There may be
some delay before the print actually starts, since PixelScript can
be slow.
*/
If ~Show(files, STDOUT) Then Call Open 'STDOUT','NIL:'
/*
If you are using version 3.1 or later of ProWrite, you can
bypass the "Print" requester by replacing the next line
with these two lines:
SetPrint PostScript
PrintOne
*/
Address 'ProWrite' Print
/*
Change the following assignment to where your PixelScript program
is located
*/
Address command 'Assign <NIL: >NIL: PxS: SYS:Applications/PixelScript'
Address command 'Run <NIL: >NIL: PxS:PxS PIPE:PxS.ps'