Initialize a print context with information for the default printer
int PpLoadDefaultPrinter( PpPrintContext_t *pc );
ph
This function initializes the provided print context with the information found in $HOME/.ph/printers/default for the default printer.
PpPrintContext_t *pc = PpCreatePC(); PpLoadDefaultPrinter( pc ); 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(), PpFreePrinterList(), PpGetPC(), PpLoadPrinter(), PpLoadPrinterList(), PpPrintContext_t, PpPrintNewPage(), PpPrintWidget(), PpReleasePC(), PpSetPC(), PpStartJob(), PpSuspendJob(), PtPrintSelection()
Printing chapter of the Programmer's Guide