The Carbon Printing Manager enforces a sequence of steps in the printing loop, and defines a valid scope for each printing function. This means that your application must call certain functions before calling others. Functions used out of sequence will return an error result of
kPMOutOfScope
.
The rules for calling sequence and scope are different for session and non-session printing functions. The following sections describe these requirements in detail.