Jump to content
Server Maintenance This Week. ×

Printer Switching in OS X using AppleScript [Beta -8]


This topic is 6612 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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):P 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 by Guest
New File. SetPrinterNames AS was missing
Link to comment
Share on other sites

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

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.