Developer --> Technical Publications

     


Understanding Calling Sequence and Scope

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.

Sequence and Scope: Session Functions

Sequence and Scope: Non-Session Functions

Sequence and Scope: Unrestricted Functions


© 2000 Apple Computer, Inc. (Last Updated 03 July 2000)