Unwanted Data Constants
Values your application can use to indicate it does not need certain types of data returned by the Carbon Printing Manager.
#define kPMNoData NULL
#define kPMDontWantSize NULL
#define kPMDontWantData NULL
#define kPMDontWantBoolean NULL
#define kPMNoPrintSettings NULL
#define kPMNoPageFormat NULL
#define kPMNoReference NULL
Constant descriptions
-
kPMNoData
-
Specifies that your application does not need data returned for a particular parameter. For future compatibility, you are encouraged to use one of the following constants in cases where a specific type of data is not required.
-
kPMDontWantSize
-
Specifies that your application does not need the size information returned by the Carbon Printing Manager.
-
kPMDontWantData
-
Specifies that your application does not need the data returned by the Carbon Printing Manager.
-
kPMDontWantBoolean
-
Specifies that your application does not need a Boolean value returned by the Carbon Printing Manager.
-
kPMNoPrintSettings
-
Specifies that your application does not need a
PMPrintSettings
object returned by the Carbon Printing Manager.
-
kPMNoPageFormat
-
Specifies that your application does not need a
PMPageFormat
object returned by the Carbon Printing Manager.
-
kPMNoReference
-
Specifies that your application does not need an address pointer returned by the Carbon Printing Manager.
Special Considerations
These constants are not included in the Pascal header files provided by Apple. You should instead pass the Pascal constant
nil
to indicate that your application does not require a particular return value.
© 2000 Apple Computer, Inc. (Last Updated 13 July 00)