Carbon


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
};

Constant descriptions

kPMNoError

No error.

kPMGeneralError

A non-specific error condition.

kPMOutOfScope

Your application called this function out of sequence with respect to other Carbon Printing Manager functions.

kPMInvalidParameter

A required parameter is missing or invalid.

kPMNoDefaultPrinter
kPMNotImplemented

This function is not implemented.

kPMNoSuchEntry

The requested print setting is unavailable or not supported.

kPMInvalidPrintSettings

Your application passed an invalid PMPrintSettings object.

kPMInvalidPageFormat

Your application passed an invalid PMPageFormat object.

kPMValueOutOfRange

Your application passed an out-of-range value.

kPMLockIgnored

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)