I'm developing my first application in LiveCode. I tried with .csv file, but I want group some common data, .csv file can't do, for example:
Column 1: Product
LiveCode 4.6.1
Column 2: Users
Linh
Trevor
Lee
David
In this example, .csv file will create 4 rows with the same data in first column. Could I export my data in .pdf file with border (and so far, complex structure report)?
Regards,
Linh
How do I export a .pdf report?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: How do I export a .pdf report?
Hi Linh,
create your card(s) as needed and then use
...
open printing to PDF "filename/goes/here.pdf"
print cd "xyz"
...
to print your card(s) into a PDF file, check the dictionary for more info.
Best
Klaus
create your card(s) as needed and then use
...
open printing to PDF "filename/goes/here.pdf"
print cd "xyz"
...
to print your card(s) into a PDF file, check the dictionary for more info.
Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
Re: How do I export a .pdf report?
LiveCode's built-in 'print to pdf file' feature, added in version 4.5, is great if you already have the data displayed on-screen, in the format that you want it printed. It gets a little more complicated to script if your data is spread over multiple pages, but it is certainly convenient.
<tooting my own horn>
You could take a look at Quartam PDF Library: it offers a command to 'print' data in a tabular format.
It is a free / open source software project, available under the trms of the Affero GNU Public License (AGPL).
For more information, visit the Quartam Software website: www.quartam.com.
As an aside, it also works on LiveCode Server; here's a demo page which shows off its features.
</tooting my own horn>
HTH,
Jan Schenkel.
<tooting my own horn>
You could take a look at Quartam PDF Library: it offers a command to 'print' data in a tabular format.
It is a free / open source software project, available under the trms of the Affero GNU Public License (AGPL).
For more information, visit the Quartam Software website: www.quartam.com.
As an aside, it also works on LiveCode Server; here's a demo page which shows off its features.
</tooting my own horn>
HTH,
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com