Page 1 of 1

Export card as PDF ?[solved]

Posted: Tue Jun 11, 2024 9:16 am
by Jean-Paul
Hi to all,

Is it possible in LC to export several cards in a PDF file ?

Regards, J-P.

Re: Export card as PDF ?

Posted: Tue Jun 11, 2024 9:53 am
by Klaus
Bonjour Jean-Paul,

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

Code: Select all

...
## 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 tOutputfile
open printing to pdf tOutputfile
print 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

Re: Export card as PDF ?

Posted: Tue Jun 11, 2024 10:26 am
by Jean-Paul
Wahou, thank you very much Klaus, I'll check the dictionary ;-)

Re: Export card as PDF ?

Posted: Tue Jun 11, 2024 11:32 am
by bn
Hi Jean-Paul,

It is also worth to have a look at the User Guide, accessible from the Help Menu.
Search for printing.
At around page 385 there is a section for card printing. (LC version 10.0.0 dp 8)
Printing has so many options it may give you an idea how to tweak your printer job.

Kind regards
Bernd

Re: Export card as PDF ?

Posted: Tue Jun 11, 2024 12:13 pm
by richmond62
"open pringint fo PDF ..."
Klaus?

Re: Export card as PDF ?

Posted: Tue Jun 11, 2024 12:52 pm
by Klaus
WHAT?
Do you want your money back? 8)

Re: Export card as PDF ?

Posted: Tue Jun 11, 2024 2:38 pm
by richmond62
kno I dont wun my munny bak. 8)

Re: Export card as PDF ?

Posted: Tue Jun 11, 2024 2:39 pm
by richmond62
Most operating systems can now convert anything to PDF via the print dialogue.