Integration problems of Quartam PDF library in Livecode

If you have any questions regarding Quartam PDF Library for LiveCode, this is the place to get answers from your fellow users - experts and newbies alike.
Post Reply
rombautsdidier
Posts: 1
Joined: Thu Apr 10, 2014 6:48 am

Integration problems of Quartam PDF library in Livecode

Post by rombautsdidier » Thu Apr 10, 2014 3:05 pm

Hi,

I'm just starting to develop with Livecode and I'm still in a learning phase.
I was looking for generating PDF file without using a card.
I'm familiar with this kind of library because I'm also using FPDF for PHP.

I followed the procedure to include the library but it doesn't work.
I have Livecode 5.5.4.

I tried to link the qrtpdflib.livecode thru the Stack inspector and add the code to load the library in the stack script.
If I execute the script "Hello World", I still receive an error message informing me that the functions doesn't exist.

I tried to copy the complete stack code of qrtpdflib into my application stack but I receive another error message: The following user thrown error was generated and not handled, so it was intercepted by Revolution: qrtPDFErr: pageFormat must be one of '" & tPageFormats & "' or of the form '<width>,<height>'

Do you have an idea why I cannot use this library?

Thank you in advance for your help.

JanSchenkel
Site Admin
Posts: 110
Joined: Sun Jul 18, 2010 5:21 pm
Location: Aalst, Belgium
Contact:

Re: Integration problems of Quartam PDF library in Livecode

Post by JanSchenkel » Sun Apr 13, 2014 9:26 pm

Hi Didier,

Welcome to the LiveCode community.
It will take some learning, but once you get the hang of it, you'll appreciate the power of the platform.

First things first: do the examples included with the library work correctly?
If that's the case, it's a matter of getting the initialisation code right.

Can you send me an example stack to explain what you tried?

Thanks in advance,

Jan Schenkel
Quartam Developer Tools for LiveCode
http://www.quartam.com

Post Reply