Creates and initializes a printing session object and creates a context for printing operations.
- macOS 10.0+
A result code. See Result Codes.
This function allocates memory for a new printing session object in your application’s memory space and sets its reference count to 1. The new printing session object is initialized with information that the printing system uses for a print job.