March 20, 200619 yr Description: What does this FileMaker demo file show ? Switching printers in OSX (I use 10.44 -10.3 should be ok) using AppleScript commands What can You use this for ? Always if You want Your FileMaker program to print on a specific printer or when You have more then one printer e.g. a Label printer in use. Using two printers to speedup printing or color and monochrome printing.... What is the problem in the first place ? OS X always marks the last used printer as the default printer. (: true?) FileMaker gives You the possibility to select a printer when You use the FileMaker Script step Print[], but when the Script is run it takes the default printer instead! Working Under: 8 Solution Status: sorry still Beta Pre-requisites: FileMaker 7 or 8 & OSX 10.4 (10.3) Author(s) Ohgo_Ohgo Date: 03/20/06 Credits: Instructions / Other Info: Easy to implement it is dynamic even with Your own Solution Name. Disclaimer: FM Forums does not endorse or warrantee these files are fit for any particular purpose. Do not post or distribute files without written approval from the copyright owner. All files are deemed public domain unless otherwise indictated. Please backup every file that you intend to modify. PrinterManager.22.3.06.fp7.zip Edited March 21, 200619 yr by Guest New File. SetPrinterNames AS was missing
March 20, 200619 yr Author Huu now I had stress ! In the last minute ...that great idea ... just make a small change and nothing worked any more ! Now I have a revised File uploaded which to my testing should work now. But (having no last backup before) reinventing it, showed that there where some timing problems with Apple Script. Seams to be the only “control language” with no feedback or handshake ? I used the quit command sparsely and inserted two small 0.3 seconds delays. hope that fixes it. Sorry again and thank You
Create an account or sign in to comment