Printing issues

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
raananb
Super wx Problem Solver
Super wx Problem Solver
Posts: 488
Joined: Fri Oct 27, 2006 4:35 pm
Location: Paris, France
Contact:

Printing issues

Post by raananb »

Using my application, (based on the Trunk) I printed a document on Windows 10 and on OSX Mojave, using the same code and the same printer (Canon Pixma MG5750). The pdf renditions correspond pretty well to the paper printouts.

On Windows, the document is exactly as I expected it to be: http://www.pixname.com/Printing/Rapport-Windows.pdf

On OSX, only a quarter of of the document fits within a page: http://www.pixname.com/Printing/Rapport-OSX.pdf

To try to understand what was happening, I ran the printing sample. The two links below point to scanned images of the printed pages.

http://www.pixname.com/Printing/Sample-Windows.pdf

http://www.pixname.com/Printing/Sample-OSX.pdf

needless to say, these result do not help in understanding the issue.

I am at a loss as to what needs to be done within my application to achieve a correct printout in OSX. Any suggestions?
Nunki
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 235
Joined: Fri Sep 14, 2012 8:26 am
Location: Kontich, Belgium
Contact:

Re: Printing issues

Post by Nunki »

Hi raananb,

I would think that the issue lies in a different default setting. Unless you make your own settings, defaults are used and they may differ between these two OS'es. Are you using a PDF printerdriver ? Are you using a PDF creation tool ? Maybe the printing example sets such settings and therefor give a correct output. However you say only a fourth of the document is displayed, or the document is regarded as being 4 times bigger. Could be a case of 300dpi vs 1200dpi setting.

anyway, I'm curious to find out what the issue was.

Regards,
Nunki
raananb
Super wx Problem Solver
Super wx Problem Solver
Posts: 488
Joined: Fri Oct 27, 2006 4:35 pm
Location: Paris, France
Contact:

Re: Printing issues

Post by raananb »

Nice idea to check, but printer resolution is the same in both cases.

The problem ie present with both the real printer and the PDF printer.

If a system parameter must be adjusted, I have no idea what to look for and where.

The problem goes away if pixel width & pixel height of the page are divided by 2 for the Mac. This looks like a kludge, but at least it works.
Post Reply