I was printing to pdf using code that used to work when I received an unexpected error: execution error at line n/a (printing: Unknown destination). The script editor indicated the "open printing to pdf" line of code as the problem. Is that like Final Destination with Death and LC conspiring to do me in or at least forcing me to go with LC8? Terry
Code: Select all
on mouseUp
open printing to pdf "Test.pdf" --execution error: (printing: unknown destination)
print this card
close printing
if there is a file "Test.pdf" then answer "Test was successful." with "OK"
end mouseUp