TD7.1 - PDF generation slow

Discussion forum about all things Team Developer 7.x
chrisylt
Canada
Posts: 6
Joined: 29 Aug 2018, 22:12
Location: Vancouver, Canada

TD7.1 - PDF generation slow

Post by chrisylt » 30 Aug 2018, 21:31

Hi,

We are testing TD 7.1 and we notice the PDF generation is significantly slower. Our current production version is 6.0. For a report that prints > 600 pages, with TD 6.0, it takes about 40 seconds to generate the PDF file. with TD 7.1, it takes close to 2.5 mins. For a report that prints > 6000 pages, it takes about 50 seconds in TD 6.0. In TD 7.1, it takes close to 6 mins. Is this a known issue in TD 7.1? Is there a fix?

chrisylt
Canada
Posts: 6
Joined: 29 Aug 2018, 22:12
Location: Vancouver, Canada

TD7.1 - PDF generation slow

Post by chrisylt » 12 Sep 2018, 23:31

I just noticed in TD7.1, when calling SalReportPrintToFileEx with the format PDF, it is actually using the Microsoft XPS Document Writer for the printing. To make the matter worse, I believe it first generates a XPS file and then convert it to PDF. Is there a reason for this? To test this,

1. Open up Printer Properties for Microsoft XPS Document Writer in control panel > Devices and Printers
2. Go to the Advanced tab
3. Change the driver to anything other than Microsoft XPS Document Writer

When you do a print that use the SalReportPrintToFileEx method, you will receive an 'Not a valid XPS file' error.

a_sivababu
India
Posts: 62
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

TD7.1 - PDF generation slow

Post by a_sivababu » 13 Sep 2018, 01:03

This is really strange. Have you raised the ticket for the same?

EwaldP
Austria
Posts: 117
Joined: 07 Mar 2017, 08:00
Location: Austria

TD7.1 - PDF generation slow

Post by EwaldP » 13 Sep 2018, 08:10

You are right, if you save a report as pdf with SalReportPrintToFile(ex), the Microsoft XPS Printer must be installed on your system otherwise you will get an error. Same behaviour here with TD 7.1. Generating PDF is in our tetscase a little slowlier than in 6.3.

Ewald
Ewald P. Palmetshofer
EDV-Hausleitner GmbH
4020 Linz
www.edv-hausleitner.at

chrisylt
Canada
Posts: 6
Joined: 29 Aug 2018, 22:12
Location: Vancouver, Canada

TD7.1 - PDF generation slow

Post by chrisylt » 13 Sep 2018, 16:17

In our test case, the performance impact is significant. We have a report that generates around 680 pages. It used to take a min, it is now taking over 2 mins with 7.1. We have another report that generates over 6000 pages. It used to take close to 2 mins, it is not taking close to 7 mins.

Return to “General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 0 guests