Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 777

Getting Started with LiveCode - Complete Beginners • Re: Export card as PDF ?

$
0
0
Bonjour Jean-Paul,

yes, we can "open pringint fo PDF ..."
Example to "export" card 1 of your stack to a PDF file:

CODE:

...## Here you can let the user select a filename for the PDF...## answer file "Select a filename for the PDF file:"...## I will use a static filename on the desktop for this example:put specialfolderpath("desktop") & "/card1_of_my_stack.pdf" into tOutputfileopen printing to pdf tOutputfileprint cd 1## Or use a repeat loop to print more than one card to a PDF file...## Done:close printing...
Check "open printing to PDF" in the dictionary to see more options for this command.

Best

Klaus

Statistics: Posted by Klaus — Tue Jun 11, 2024 9:53 am



Viewing all articles
Browse latest Browse all 777

Trending Articles