Lost pdf printing

Peter M. Brigham pmbrig at gmail.com
Fri Dec 13 14:29:40 EST 2013


Try checking "the printeroutput". If the OS has reset it to default, it will come back as "device" -- ie, the current default printer for the system. If your LC settings remain in place, it will return the filepath of the pdf, I think.

-- Peter

Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig

On Dec 12, 2013, at 12:57 PM, Sumner, Walt wrote:

> Hi, folks,
> 
> 
> 
> I have a stack that opens printing to a pdf file, and goes through a bunch of calculations to print 8 cards per page. When the stack is left idle for a while it can "forget" that it is supposed to print to a pdf. Global variables indicating the pdf file name and other print settings remain intact. If I resume using the stack after it forgets that it is printing to a pdf, every print instruction gets sent to the local printer, wasting a fantastic amount of paper while failing to record all of the screen shots in a pdf.
> 
> 
> 
> How can I check to see whether LiveCode remembers that it is printing to a pdf? I can easily close and reopen printing if I can just determine whether print commands are being sent to the printer or a pdf generator.
> 
> 
> 
> Thanks,
> 
> Walt Sumner
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list