Re: [python-win32] Windows printing with the use of Device Context

2022-11-07 Thread Tim Roberts
On 11/7/22 5:25 PM, Neil Kenig wrote: You may want to try https://pypi.org/project/PyMuPDF/. It's relatively easy to create a blank PDF and then insert text of a given font and size at precise locations on the page. PDF files use points (1/72nd of an inch) for both font sizes and location

Re: [python-win32] Windows printing with the use of Device Context

2022-11-07 Thread Neil Kenig
al Message- From: python-win32 On Behalf Of Tim Roberts Sent: Monday, November 7, 2022 3:50 PM To: python-win32@python.org Subject: Re: [python-win32] Windows printing with the use of Device Context EXTERNAL MESSAGE - TREAT LINKS/FILES WITH CARE Antoine FINET wrote: > > I would like to prin

Re: [python-win32] Windows printing with the use of Device Context

2022-11-07 Thread Tim Roberts
Antoine FINET wrote: 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? Yes, but the exact same thing is

[python-win32] Windows printing with the use of Device Context

2022-11-07 Thread Antoine FINET
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 print