Print No Dialog

Rick Harrison harrison at all-auctions.com
Fri Feb 25 17:22:55 EST 2011


Hi Bob,

Well that was very odd.  I retrieved the name of the printer.
It told me it was "Brother..."  So, I tried to print again.  This
time it worked flawlessly without any dialogs whatsoever.
Go figure.  The problem has somehow solved itself.  I guess
Livecode just needed a reminder kick in the pants in order
to know what to do!

Thank you for your help!

Rick

On Feb 25, 2011, at 4:49 PM, Bob Sneidar wrote:

> Hi Rick. 
> 
> Since this worked for me and it isn't for you, a bit of troubleshooting is called for. In the help stack, there is a Properties subset in the left pane. Click that then search for Print. You will get all the properties that printing uses. I believe there is a property for the current printer in there somewhere. Try getting that property and see what it tells you. 
> 
> It is possible that Livecode "remembers" the last printer used. Some applications do, others always assume the default printer unless you change it for that print job. In LiveCode under the Page Setup dialog, you can change the printer you want to print to, select the Format For to use that printer (ALWAYS a good practice because it's possible to crash the print process or the printer itself if you don't), and then in the Page Attributes popup select Save as Default. What are those values there? 
> 
> This brings up a very good point thought. The Page Setup is not reverting to any defaults when you change the properties by code. (And why would they?) So it seems to me that before setting printer properties, it would be a good practice to GET them first so you can restore them after your print job is done. I set my orientation before I did my little print test and the orientation has persisted which might bite me in the buttocks later. I learn something new every day! 
> 
> Bob
> 
> 
> On Feb 25, 2011, at 12:46 PM, Rick Harrison wrote:
> 
>> Eh?  What is that???
>> 
>> This only happens when I try to print from Livecode. 
>> Is this a Preference in Livecode for Mac OS X somewhere?
>> My default printer is set as a "Brother" shared printer over
>> the network.
>> 
>> Thanks,
>> 
>> Rick
> 
> 
> _______________________________________________
> 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

__________________________________
Rick Harrison

You can buy my $10 music album "Funny Time Machine" digital CD on the iTunes Store Now!

To visit the iTunes Store now to listen to samples of my CD please click on the
following link.  (Please note you must have iTunes installed on your computer for this link to work.)  

http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playListId=213668290






More information about the use-livecode mailing list