It is difficult to set items that are not present in the DEVMODE structure. https://learn.microsoft.com/en-us/windows-hardware/drivers/display/the-devmodew-structure
Ask your printer manufacturer.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I want to cancel the "print preview" option in the printer preferences by coding, maybe can use c++ windows api or C#.
Then how to do it ?
Thank you !
It is difficult to set items that are not present in the DEVMODE structure. https://learn.microsoft.com/en-us/windows-hardware/drivers/display/the-devmodew-structure
Ask your printer manufacturer.
I don't have this option on my printer, but normally with DocumentProperties,
like the test I had done in this thread : https://learn.microsoft.com/en-us/answers/questions/748446/controle-printer-setting-using-vb-net
Hello @szmm,
This UI is owned by System so you cannot custom it.
Thank you.