SetPlatformPrintJob
TheSetPlatformPrintJobmethod assigns the print job for the specified graphics system to this canvas.
void SetPlatformPrintJob (in ODGraphicsSystem g, in ODPlatformPrintJob j);
g- A 16-bit value specifying the graphics system whose print job you are setting. Valid graphics systems are platform dependent.
j- A 32-bit value identifying the graphics-system-specific print job to assign to this canvas, or
kODNULLto clear the print job. Valid values forjare graphics-system-dependent.DISCUSSION
You need to call this method only when you are creating a static canvas to use as a print job.On the Mac OS platform, the graphics system may be either QuickDraw (
kODQuickDraw) or QuickDraw GX (kODQuickDrawGX). For QuickDraw, the platform print job should be a QuickDraw print job (typeTHPrint); for QuickDraw GX, it should be a QuickDraw GX print job (typegxJob).SEE ALSO
TheODGraphicsSystemtype (page 883).
TheODCanvas::GetPlatformPrintJobmethod (page 71).
TheODCanvas::HasPlatformPrintJobmethod (page 75).
"Printing the Document" on page 174 in OpenDoc Programmer's Guide.