Printing broken on Windows in 2016r4?

A client called me, because printing isn’t working well in 2016r4.

Code like this:

[code] dim g as Graphics = OpenPrinterDialog

	if g <> nil then
			g.ForeColor = &c000000
			g.DrawLine 0, 0, 200, 200
			
			g.DrawString "Hello World", 200, 100
	end if[/code]

and print looks ugly in 2016r4, but fine in 2016r3.

Feedback: <https://xojo.com/issue/46311>

I have the same problem, is there a solution for this?
I can’t use r4.1 as long as this “ugly printing thing” exists…

Seems like Bob also run into problems:
http://www.bkeeneybriefs.com/2016/12/windows-printing-broken-in-xojo-r4/

Honestly, I can’t recommend that people migrate to R4 with printing this messed up for Windows apps.

you could route the output to gPDF :slight_smile:
should just be one or two lines of additional code,

just an idea

I found printing directly is crap, but printing to pdf then printing the pdf was fine. This was from a Xojo report. As my client is printing to pdf to email this hasn’t been a problem for them.

Did anyone experience problems with direct printing to Dymo labelprinter ?