home *** CD-ROM | disk | FTP | other *** search
- PCX2PS.TXT 11/12/89 Larry Brennan
-
- Programs from DDJ Aug89 by Kent Quirk.
-
- To compile with MSC:
- cl/c pcx.c
- cl/c prpcx.c
-
- To Link
- link prpcx+pcx;
-
- PRPCX.PS remains a text file which will be read into the output file
- by prpcx.exe. See Usage() Subroutine in PRPCX.C, or just enter PRPCX
- to read Usage. Output file should be a PostScript useable file. May
- need the .EPS extension added, I forgot to look. MOONLT.PCX is a file
- created by Bill Hinkle's GIFPCX from MOONLT.GIF file and can be used
- as a trial case. PRPCX.PS is the user rewritable instructions to
- a PostScript device to be used to print the output file. Good Luck in
- testing and don't forget to report your findings. Larry.
-
- Additional Notes by Bill Hinkle 5 June 1992
-
- Modified to only use ANSI-C header files and to append a Ctrl-D to the end
- of the PostScript stream to indicated end-of-job to PS printers. Further
- modified to add the -a option, to auto-scale PCX resolution to printer
- resolution. Note that older PCX files may have pixel spans in the
- resolution fields, rather than the dots-per-inch necessary to make this
- work properly. Hence the option, defaulting "off".
-
- Compiled under Lattice C V6 and bound so as to operate as either a native
- OS/2 app or DOS app. If you are setting this up as an OS/2 2.0 program
- object, then make the object's Parameters include "-oLPT1" to print
- directly to the default LPT1 printer, and Working Directory to the
- directory containing PRPCX.PS (the PS header file). You can also add
- scaling Parameters; type PRPCX to see the syntax. Use [ ] in the Parameters
- to prompt for a PCX name, otherwise drag-and-drop will work automatically.
- Start Minimized is also a good setting for use with drag-and-drop.