NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: DonRidley on November 16, 2011, 06:47:47 PM

Title: Insight Graphing 2 & NetTalk & PDF's
Post by: DonRidley on November 16, 2011, 06:47:47 PM
Can I generate a PDF report which has a Insight 2 graph on it?

If so, is there anything different as far as the graph is concerned?

I'm trying to do this and I keep getting an Error 404.

PDF is generated using SV's template.

Don

NetTalk 5.42
Clarion 8.8778
Insight 2  2.04
Draw 3.21
Title: Re: Insight Graphing 2 & NetTalk & PDF's
Post by: Bruce on November 16, 2011, 09:00:39 PM
>> Can I generate a PDF report which has a Insight 2 graph on it?

yes. (but make sure you copy zlib.dll and LibPng.Dll to your application folder as per both the NetTalk and Insight docs.)

Cheers
Bruce
Title: Re: Insight Graphing 2 & NetTalk & PDF's
Post by: DonRidley on November 17, 2011, 06:08:41 AM
Yes sir.  I'm familiar with the DLL's.

The report works in a Win32 app.  But, even in Win32 app, saving it as a PDF takes a LONG time!  Specifically, it took 29 seconds to generate a 1 page PDF report!

So, I think something is amiss with SV's PDF generator.  

My report is only one page.  It should generate as PDF very quick.  

Since the graph is a PNG file, maybe the SV PDF generator does not PNG's as well as JPG's?

I'll put together an example app and send to SV via PTSS.

Don
Title: Re: Insight Graphing 2 & NetTalk & PDF's
Post by: DonRidley on November 17, 2011, 06:53:17 AM
PTSS:  38967
Title: Re: Insight Graphing 2 & NetTalk & PDF's
Post by: Bruce on November 17, 2011, 08:07:33 AM
are you putting a PNG into the report? Or are you putting an Insight control onto a report DETAIL?

If the latter, then it's not a PNG at any stage. It is however likely to be a large BMP file - which in turn will bloat the PDF (if it doesn't compress the BMP). Mentioning PNG in this context will be a red-herring.

I'll take a look at the PTSS report - probably next week <g>...

cheers
Bruce
Title: Re: Insight Graphing 2 & NetTalk & PDF's
Post by: DonRidley on November 17, 2011, 11:14:12 AM
Okay, it's an Insight control on a detail band per the docs.  I thought Insight generated a PNG.  My apologies if that's not the case. 

Don