*** Please ignore earlier quoted number(it was for few reports in total). As such, I retest it with one report first. So, the below result was taken on one report.
How many rows are in the DataWindow that is being printed when it takes 30 minutes?
[Replied] 60K
How many pages are being generated when this 30-minute long printout/PDF is generated?
[Replied] 4949 pages
How large are the PDF files that are generated using the Distill! and the NativePDF! methods?
[Replied] Distill = 9645KB , Native = 9692MB
What style (grid, tabular, group, rich text, crosstab, composite, etc.) is the DataWindow?
[Replied] Freeform
Does the print times you quoted include data retrieval?
[Replied] Ignored my earlier quoted number. Those are for few reports in totals. I re-test with my test data, with only 1 reports, retrieval is fast. Save as PDF took longer time. Distilled = 1 minutes ++, Native = 5minutes
Are graphics (logos, pictures, etc.) being printed? If so, what graphics format(s) (.bmp, .png, .jpg, etc.)?
[Replied] one logo only, in bmp
What NativePDF settings/options are in effect?
[Replied]
ll_ret=dw_2.retrieve(id_input_date)
IF ll_ret = -1 THEN
gnv_app.inv_error.of_Message(n_enable.translate("ERROR!",''),"dw_2 - Retrieve error")
RETURN -1
END IF
ll_ret=dw_2.SaveAs(ls_filename,PDF!,true)
dw_2.object.datawindow.print.documentname = ls_filename
dw_2.object.datawindow.print.documentname = ''
IF ll_ret < 1 THEN
FileWriteEx(li_FileNum, ls_id+' creation FAILED '+ " Print Time : " + String(Now( ), "ddmmmyyyy hh:mm:ss"))
ELSE
FileWriteEx(li_FileNum, ls_id+' created SUCCESSFULLY '+" Print Time : " + String(Now( ), "ddmmmyyyy hh:mm:ss"))
dw_1.SetItem(n, "report_dw", "N")
END IF
What paper size is being used?
[Replied] dw_2.Modify("DataWindow.Print.Orientation='1'")
dw_2.Modify("DataWindow.Print.Paper.Size='9'")
How long does a modest DW Print operation (say, five pages) take to generate? How big is the PDF file in this case?
[Replied]? Dnt understand
Are custom fonts being imbedded in the PDF?
[Replied] dnt think so? Any specific section I need to check?
What version of Windows is being used?
[Replied] Window 10 Pro. I also test using window 7, time taken was Distill = 2 minutes, Native = 7 minutes.
Are you running on a VM (virtual machine)?
[Replied] Not VM.
Is the app running from within the PB IDE or as a compiled/deployed application?
[Replied] as compiled exe/application
Is the app being run remotely (Citrix or Remote Desktop, for example)?
[Replied] No.