Switching printers using Applescript uses the printer name to switch it, something like:
tell application "Printer Setup Utility"
set the current printer to printer "Lexmark 1"
Could you use 2 different names for the printers to make the switching work better?
There are also several printer switch plugins, maybe they give you a better result.
Hope that helps,
Ruben van den Boogaard
Hello Ruben, thank you for your advice
I use some thing like that to change the default printer and I've given two different names for each printer, one is "Caisse" for the upper one, the other is "Cuisine" for the one in the underground kitchen.
It seems as if Mac OS X switch the printers, some times when opening Mac, this one creates new printer named "Star TSP143 (STR_T-001....) and "Caisse" or "Cuisine" are inactive.
Not very easy to manage and I think that the problem is a Mac OS X one.