Article ID: 264036 - Last Review: January 27, 2007 - Revision: 1.5 How To Determine Whether a Printer Is a PostScript PrinterThis article was previously published under Q264036 SUMMARY
It is necessary sometimes to determine whether or not a printer is a PostScript printer, so that an application can determine whether or not it can safely send raw PostScript data to the printer. The code in this article demonstrates one way to make this determination.
MORE INFORMATION
The code first tests for support of the POSTSCRIPT_PASSTHROUGH printer escape function, assuming that if the escape function is supported then the printer must be a PostScript printer. If the printer does not support the escape function, the second half of the code uses the GETTECHNOLOGY escape function to determine whether the technology string contains the text "postscript". If the driver doesn't support the escape, it is assumed that it is not a PostScript printer.
| Article Translations
|

Back to the top
