[Previous] [Contents] [Index] [Next]

PpPrintCreatePC()

Create a print context

Synopsis:

PpPrintContext_t *PpPrintCreatePC( void );

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 the new print context, or NULL if there isn't enough memory to allocate one.

Examples:

See PpPrintStart().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PpPrintClose(), PpPrintGetPC(), PpPrintNewPage(), PpPrintOpen(), PpPrintReleasePC(), PpPrintSetPC(), PpPrintStart(), PpPrintStop(), PpPrintWidget(), PtPrintSelection()

Printing chapter of the Programmer's Guide


[Previous] [Contents] [Index] [Next]