I just try to print to PDF multiples cards.
After the 3th card, the print ever fail.
I'm on LC7.06
Code: Select all
on printCards
## Path to the pdf file we want to create
put specialFolderPath("documents") & "/UserGuide.pdf" into tPDFPath
open printing to pdf tPDFPath
wait 0 millisecs with messages
if the result is "Cancel" then
## The user has cancelled printing
exit printCards
else
## Print the card into the printable area
put the number of cards of this stack into iNumCards
repeat with x=1 to the number of cards of this stack
put the number of card x into Card_Numb
print card Card_Numb of this stack into 0,0,595,842
answer the result
wait 0 millisecs with messages
print break
wait 0 millisecs with messages
end repeat
end if
close printing
answer the result
wait 0 millisecs with messages
end printCards
Salut,
Josep M