NetTalk Central

Author Topic: Insight Graphing 2 & NetTalk & PDF's  (Read 2187 times)

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Insight Graphing 2 & NetTalk & PDF's
« 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
« Last Edit: November 16, 2011, 07:29:10 PM by DonRidley »
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11183
    • View Profile
Re: Insight Graphing 2 & NetTalk & PDF's
« Reply #1 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

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Insight Graphing 2 & NetTalk & PDF's
« Reply #2 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
« Last Edit: November 17, 2011, 06:10:35 AM by DonRidley »
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Insight Graphing 2 & NetTalk & PDF's
« Reply #3 on: November 17, 2011, 06:53:17 AM »
PTSS:  38967
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11183
    • View Profile
Re: Insight Graphing 2 & NetTalk & PDF's
« Reply #4 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

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Insight Graphing 2 & NetTalk & PDF's
« Reply #5 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
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11