home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 19 Printer / 19-Printer.zip / PRPCX2.ZIP / PCX2PS.TXT < prev    next >
Text File  |  1992-06-05  |  2KB  |  37 lines

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