Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The GetPrintTicket method gets the print ticket object for the fixed page.
Syntax
HRESULT GetPrintTicket(
[out] IPartPrintTicket **ppPrintTicket
);
Parameters
[out] ppPrintTicket
Pointer to a location into which the method writes a pointer to the IPartPrintTicket interface of a print ticket object. This object contains the print ticket for the fixed page.
Return value
GetPrintTicket returns an HRESULT value. If a print ticket is not in the fixed page, GetPrintTicket might return E_ELEMENT_NOT_FOUND.
Remarks
After calling this method to get the page-level print ticket, a print driver filter can obtain the effective print ticket for the fixed page by merging the page-level print ticket with the document-level print ticket and the job-level print ticket. The filter can get the document-level and job-level print tickets by calling the IFixedDocument::GetPrintTicket and IFixedDocumentSequence::GetPrintTicket methods. For more information about merging print tickets, see Print Ticket Merging.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | filterpipeline.h |
See also
IFixedDocument::GetPrintTicket