Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
Developer Support
QNX Documentation Library
QNX Developer Support

QNX Developer Support

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

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

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


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