![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Initialize a print context with information for a given printer
int PpLoadPrinter( PpPrintContext_t *pc, char const *name );
ph
This function initializes the provided print context with information for the printer section named name.
PpPrintContext_t *pc = PpCreatePC(); PpLoadPrinter( pc, "GenericPostScriptPrinter@localhost"); PpStartJob( pc ); PpContinueJob( pc ); // Draw stuff PpSuspendJob( pc ); PpEndJob( pc ); PpReleasePC( pc );
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PpContinueJob(), PpCreatePC(), PpEndJob(), PpGetPC(), PpLoadDefaultPrinter(), PpPrintContext_t, PpPrintNewPage(), PpPrintWidget(), PpReleasePC(), PpSetPC(), PpStartJob(), PpSuspendJob(), PtPrintSelection()
Printing chapter of the Programmer's Guide
![]() |
![]() |
![]() |
![]() |