question

GoraLukasz-2572 avatar image
0 Votes"
GoraLukasz-2572 asked

Distinguish between user devmode and global devmode (V3 printer driver).

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!

windows-hardware
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers