Enumeration Case

kPMOutOfScope

Your application called this function out of sequence with other printing functions.

Declaration

kPMOutOfScope = -30871

See Also

Result Codes

kPMGeneralError

An unspecified error occurred.

kPMNoDefaultPrinter

The user has not specified a default printer.

kPMNotImplemented

The function is not implemented.

kPMNoSuchEntry

There is no entry to match your application’s request.

kPMInvalidPrintSettings

Your application passed an invalid print settings object.

kPMInvalidPageFormat

Your application passed an invalid page format object.

kPMValueOutOfRange

Your application passed an out-of-range value.

kPMInvalidPrintSession

Your application passed an invalid printing session object.

kPMInvalidPrinter

Your application passed an invalid printer object.

kPMObjectInUse

The specified object is in use.

kPMInvalidIndex

An array index is invalid.

kPMStringConversionFailure

An internal error occurred while converting a string.

kPMXMLParseError

An error occurred while parsing XML data.

kPMInvalidJobTemplate

An internal error occurred while creating a job template.

kPMInvalidPrinterInfo

The printer information is invalid.

kPMInvalidConnection

The printer connection type is invalid.

kPMInvalidKey

The key in a ticket, job template, or dictionary is invalid.

kPMInvalidValue

The value in a ticket, job template, or dictionary is missing.

kPMInvalidAllocator

The specified memory allocator is invalid.

kPMInvalidTicket

The job ticket is invalid.

kPMInvalidItem

The item being added to a ticket is invalid.

kPMInvalidType

The data type in a ticket, job template, or dictionary is not the expected type.

kPMInvalidReply

A remote server or client sent an invalid reply.

kPMInvalidFileType

The file type is invalid.

kPMInvalidObject

The object is invalid.

kPMInvalidPaper

Your application passed an invalid paper object.

kPMInvalidCalibrationTarget

The dictionary specifying a printer calibration target is invalid.

kPMInvalidPreset

Your application passed an invalid preset object.