Print to pdf commands
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Print to pdf commands
It's not documented, but I have seen that "the result" of "close printing" and the "print" commands appears to be empty on success, and "printing failed" when I send too much at it. Can I depend on the result from these, as in checking for empty to be a good result? How about "open printing..."? Thanks!
-
- VIP Livecode Opensource Backer
- Posts: 9663
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Print to pdf commands
The "result" is always your friend. I berate myself for not checking it far more often than I do; it would have saved a lot of time.
This function (like the "sysError") is explicitly designed to validate commands. If the result is empty, the, er, result of your command or whatever contained no egregious errors. That the dictionary does not always spell out the contents of a failed command, like you mentioned, is just a slight deficiency.
Craig Newman
This function (like the "sysError") is explicitly designed to validate commands. If the result is empty, the, er, result of your command or whatever contained no egregious errors. That the dictionary does not always spell out the contents of a failed command, like you mentioned, is just a slight deficiency.
Craig Newman