V4 Printer Driver - How to modify page sizes (remove few paper size) which will reflect on my desktop printer preferences window
I have developed a V4 XPS Virtual Printer Driver with a rendering filter using IPrintPipelineFilter. This filter enables saving XPS with advanced features such as stapling, duplex printing, etc.
Question:
Can I dynamically remove or modify printer features (e.g., page sizes, color, duplex, staple, orientation) at runtime without recompiling the driver? Specifically, I want applications that use my printer (MS Word, Chrome, Edge, Notepad, etc.) to reflect these changes in the Print Preview and Windows Print Dialog without requiring a driver reinstallation.
Requirement:
Is there a way to modify printer features dynamically (without recompiling the driver) so that applications using my printer do not display the removed entries in Print Preview and Windows Print Dialog? If yes, what changes do I need to implement in my driver to achieve this?
Thanks & Regards