Print Driver Constraints Sample
ValidatePrintTicket takes a given IPrintSchemaTicket object and validates it for the current printer. The function may determine that the Print Ticket was already valid, modify the Print Ticket to make it valid, or determine that the Print Ticket is invalid and could not be made valid.
CompletePrintCapabilities takes a given IPrintSchemaTicket object and the IPrintSchemaCapabilities object that was produced by the configuration module and augments it as needed. This can be used to establish positive constraint situations.
This sample does not demonstrate ConvertPrintTicketToDevMode or ConvertDevModeToPrintTicket, which utilize a property bag to store data in the private section of the DEVMODE structure.
This sample is for the v4 print driver model.