Print No Dialog

J. Landman Gay jacque at hyperactivesw.com
Fri Feb 25 13:02:45 EST 2011


On 2/25/11 8:41 AM, Rick Harrison wrote:
> Hi there,
>
> I want to print a card, file, image, or PDF without
> bringing up the print dialog for the user.
> (I want to be sure the number of copies is just 1
> because I only want one ticket to print.)
>
> What's the best way to accomplish this
> cross platform task in Livecode?

Just don't include the "with dialog" parameter when you open printing. 
In fact, if you're happy with a generic printout, you don't even need to 
open printing at all. Just use "print this card" without any other print 
statements. That will print one copy of the current card.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the Use-livecode mailing list