| I am trying to print to a HP Deskjet 1200c/ps postscript printer,
| that hangs off a Sparc10 workstation (solaris2.3), from a PC running
| pcnfspro1.1. The output is raw postscript when using the latest and
| greatest printer driver that HP recommended (Adobe 3.0.1). Printing
| from the workstation works fine as well as printing with a direct
| connection from a pc.
MS-Windows faithfully obeys MS-Lossage tradition and *begins* print jobs with
an EOJ (formfeed for ASCII, control-D for PostScript) instead of *ending*
them properly like everyone else in the universe.
lp determines whether a PS printer needs ASCII-to-PS conversion by looking at
the beginning of a print job. It must start with "%!" or it will be fed to
an ASCII-to-PostScript converter. But an MS-Windows print job starts with
I use a custom printer interface to cope with this, and define the printer
to take either "both PS and ASCII" or "any".