Adding New Property Sheet Pages

If you want to add new pages to the property sheets provided by the printer interface to Unidrv or Pscript5, your UI plug-in must implement the following IPrintOemUI methods:

  • IPrintOemUI::DevicePropertySheets

    Used to add to the printer property sheet, which is displayed when a user selects the Properties menu item from the printer folder or a printer window, or when an application calls the PrinterProperties function (described in the Windows SDK documentation).

  • IPrintOemUI::DocumentPropertySheets

    Used to add pages to the document property sheet, which is displayed when a user selects the Printer Preferences menu item from the printer folder or a printer window, or when an application calls the DocumentProperties or AdvancedDocumentProperties functions (described in the Windows SDK documentation).

If you implement one of these methods, you will typically also supply a _CPSUICALLBACK-typed callback function to handle user modifications. This callback function must call IPrintOemDriverUI::DrvUpdateUISetting to inform the driver when the value associated with a user interface setting has been modified, if the setting's value is stored in the driver's DEVMODEW structure or registry keys.

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft