[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Quartam Software Forums •Integration problems of Quartam PDF library in Livecode
Page 1 of 1

Integration problems of Quartam PDF library in Livecode

Posted: Thu Apr 10, 2014 3:05 pm
by rombautsdidier
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.

Re: Integration problems of Quartam PDF library in Livecode

Posted: Sun Apr 13, 2014 9:26 pm
by JanSchenkel
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