Important: The information in this document is obsolete and should not be used for new development.
PrJobMerge
You can use thePrJobMergeprocedure to apply the same information previously specified by the user through the job dialog box to severalTPrintrecords. This is useful when the user prints from the Finder. ThePrJobMergeprocedure 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
TPrintrecord (described on page 9-41) as previously returned by thePrJobDialogfunction (described on page 9-59).hPrintDst- A handle to a
TPrintrecord for another document.DESCRIPTION
ThePrJobMergeprocedure first calls thePrValidatefunction (described on page 9-57) for bothTPrintrecords referenced by thehPrintSrcandhPrintDstparameters. It then copies all of the information previously set as a result of a job dialog box from theTPrintrecord in thehPrintSrcparameter to theTPrintrecord in thehPrintDstparameter while preserving the values set by the style dialog box for thatTPrintrecord (for instance, landscape orientation). Finally, thePrJobMergeprocedure makes sure that all the fields of theTPrintrecord named by thehPrintDstparameter are internally self-consistent. You must callPrJobMergefor each document the user wants to print.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for thePrJobMergeprocedure are
Trap macro Selector _PrGlue $5804089C