Hi Microsoft Support,
Currently, I am working on new functionality in our printer driver. I would like to ask you if there is a way to distinguish on which devmode the driver is working. I have information that I don't want to store in the devmode structure (but maybe I will have to...). This information must be somehow related to the user or global devmode.
In the driver, it would like to know if the user:
- clicks the "Preferences..." button from the printer properties "General" tab (user devmode)
- clicks the "Printing Defaults..." button from the printer properties "Advanced" tab (global devmode)
Is it even possible?
I have searched the web for this, but I cannot find any clue on how to achieve it. Is there any point in the driver API where such information is available?
Also, debugging the code, I didn't notice any differences when running the printer preferences from one or another place.
Any information will be much appreciated!
Regards!