PpCreatePC()

Create a print context

Synopsis:

PpPrintContext_t *PpCreatePC( void );

Library:

ph

Description:

This function creates a print context. You must create a print context before calling any other Photon Print (Pp) functions.

The print context describes all aspects of a print job required by the printing functions and the print drivers: Pp.pcl, Pp.ps, Pp.epc2, and so on.

Returns:

A pointer to thePpPrintContext_t structure that describes the new print context, or NULL if there isn't enough memory to allocate one.

Examples:

See PpContinueJob().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PpContinueJob(), PpEndJob(), PpGetCanvas(), PpGetPC(), PpPrintContext_t, PpPrintNewPage(), PpPrintWidget(), PpReleasePC(), PpSetCanvas(), PpSetPC(), PpStartJob(), PpSuspendJob(), PtPrintSelection()

Printing chapter of the Programmer's Guide