![]() |
Result Codes |
Header: PMDefinitions.h |
Defines possible result codes for Carbon Printing Manager functions.
enum { kPMNoError = 0, kPMGeneralError = -30870, kPMOutOfScope = -30871, kPMInvalidParameter = -50, kPMNoDefaultPrinter = -30872, kPMNotImplemented = -30873, kPMNoSuchEntry = -30874, kPMInvalidPrintSettings = -30875, kPMInvalidPageFormat = -30876, kPMValueOutOfRange = -30877, kPMLockIgnored = -30878 };
No error.
A non-specific error condition.
Your application called this function out of sequence with respect to other Carbon Printing Manager functions.
A required parameter is missing or invalid.
This function is not implemented.
The requested print setting is unavailable or not supported.
Your application passed an invalid PMPrintSettings object.
Your application passed an invalid PMPageFormat object.
Your application passed an out-of-range value.
The printer driver does not support locking of the requested field (for example, page range or number of copies).
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)