After updating from Clarion 9.1 to Clarion 11.1, saving to a PDF is extremely slow. A 50-page report (without images) takes about 4 minutes.
Does anyone have an idea what might be causing this?
Regards, Henk
After updating from Clarion 9.1 to Clarion 11.1, saving to a PDF is extremely slow. A 50-page report (without images) takes about 4 minutes.
Does anyone have an idea what might be causing this?
Regards, Henk
Henk,
Have you checked and cleaned your temp folder?
Temp folder almost empty and I don’t think it has anything to do with deleting the WMF files. What I do is the following: I generate the report in a preview. Then I save it as a PDF (takes a long time). The preview is still on the screen. Then I close the preview. And that goes quickly.
Another thing I notice is the file size. 30 pages (text only) makes a 4292kB PDF. Printing the same report (30 pages) to the Microsoft PDF printer it takes only 455kB.
It’s not 10 times faster, it’s 10 times bigger ![]()
I thought I had read somewhere that there’s a different (better) PDF engine that someone from the community contributed to SV. I wonder if there’s a place that you have to specify it. If I am steering you to look in the wrong place, I pre-pologize to you. But I don’t see any other suggestions yet. If this is the thing that is making it worse, then never mind ![]()
The PDFs generated by the built-in report target class are bloated and very large.
You can programmatically print to PDF on disk with Microsoft Print to PDF printer driver.
Use PRINTER{PROPPRINT:printtoname} to assign the file name.
It is faster and generates smaller PDF files.
You do need to wait until the PDF is generated before using it.