PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Export to PDF - spacing/font problem?
Export to PDF - spacing/font problem?
Débuté par Gautam, 23 juin 2010 18:40 - 2 réponses
Posté le 23 juin 2010 - 18:40
Hello everyone

I am experiencing a strange problem when exporting to PDF from a Print Preview Window in Windev 14.

In the Preview window my report looks nice and properly aligned but when I export to PDF or Print it to a printer the report is no longer aligned properly. Content is fine in the exported document but spacing is completely messed up!

I tried to export the report to PDF using the igenericPDF option but this did not make a difference.
I also tried changing my default printers and updated my print drivers.

I suspect the font I am using (Courier) is not being exported properly to PDF or to the Printer. The report is using Courier font but when I view the PDF document fonts I notice that the Courier font has been substituted by Helvetica font (I formatted my report to use Courier as the source of the report is a text file that is spaced using monospaced font)

How do I get Windev to export exactly what i see in the Print Preview window?

Has anyone experienced similar problem? Any solutions out there for this?

thanks and regards

Gautam
Posté le 10 août 2022 - 14:38
Hello Gautam,

It seems that this is an old story...but I currently experiencing the same issue.

Do you remember if/how this has been solved ?

Thanks !!

Jérôme
Membre enregistré
13 messages
Posté le 11 août 2022 - 16:55
Hi Jerome,
Depending on your WINDEV version and type of project (ansi or unicode) this type of code usually fixes the problem: iParameterPDF("","",iPDFUnicode+iMaximumQuality)

Regards
Steven Sitas