ADC Home > Reference Library > Technical Q&As > Legacy Documents > Printing >
Legacy Document
Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.
Current information on this Reference Library topic can be found here:
Q: I know where the PPDs are located (System Folder:Extensions:Printer
Descriptions), but how can I know what file reflects the current printer?
A: To find the PPD associated with the current printer, you should use the PrGeneral
call with the PSPrimaryPPDOp opcode as documented in the LaserWriter 8 API. Full documentation
can be found on the Toolchest CD in the Developer CD series.
The relevant portions of the header file follow:
enum { /* new PrGeneral selectors */
getPSInfoOp = 10,
PSIntentionsOp = 11,
PSAdobeOp = 14,
PSPrimaryPPDOp = 15
};
struct TPSPrimaryPPD{
short iOpCode;
short iError;
long lReserved;
short ppdIsRealFile;
FFSpec ppdFile;
};
typedef struct TPSPrimaryPPD TPSPrimaryPPD;
|
|
[May 01 1995]
We’re sorry, an error has occurred.
Please try submitting your feedback later.
Thank you for providing feedback!
Your input helps improve our developer documentation.