Important: The information in this document is obsolete and should not be used for new development.
PrJobMerge
You can use thePrJobMerge
procedure to apply the same information previously specified by the user through the job dialog box to severalTPrint
records. This is useful when the user prints from the Finder. ThePrJobMerge
procedure allows you to solicit information from the user just once and then use this information to print several documents.
PROCEDURE PrJobMerge (hPrintSrc: THPrint; hPrintDst: THPrint);
hPrintSrc
- A handle to a
TPrint
record (described on page 9-41) as previously returned by thePrJobDialog
function (described on page 9-59).hPrintDst
- A handle to a
TPrint
record for another document.DESCRIPTION
ThePrJobMerge
procedure first calls thePrValidate
function (described on page 9-57) for bothTPrint
records referenced by thehPrintSrc
andhPrintDst
parameters. It then copies all of the information previously set as a result of a job dialog box from theTPrint
record in thehPrintSrc
parameter to theTPrint
record in thehPrintDst
parameter while preserving the values set by the style dialog box for thatTPrint
record (for instance, landscape orientation). Finally, thePrJobMerge
procedure makes sure that all the fields of theTPrint
record named by thehPrintDst
parameter are internally self-consistent. You must callPrJobMerge
for each document the user wants to print.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for thePrJobMerge
procedure are
Trap macro Selector _PrGlue $5804089C