Windows printing with the use of Device Context

Antoine FINET <[email protected]> Mon, 7 Nov 2022 11:20:14 -1000
Newsgroups gmane.comp.python.windows
Message-ID <CAP07dhxxx=c+b2PEmEzVSmH1Y+Fe0V2Npmi6tFNyo9EdX=OscQ@mail.gmail.com>
Hello,

I would like to print information at the correct coordinates on a pre
printed form.

If I understood correctly my readings, the coordinates given to a "TextOut"
Printer Device Context depend on the resolution of the printer. Am I right?
If it depends on resolution, how can I query the printer to know the
resolution and calculate the correct coordinates?

I don't have another printer to test but my underlying question is : does
the coordinates depend on the printer?

Kind regards,

Antoine

_______________________________________________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32