Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

One script to two different printers not working.


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

Recommended Posts

Posted

[Files are being hosted on FileMaker Server 8 - both clients are running Mac OSX 10.4 and FM8]

I have a script that triggers two sub-scripts. One sub-script prints 2 copies of "Layout 1" to the clients printer (a receipt printer) and the other subscript prints 1 copy of "Layout 2" to a shared USB printer that is running elsewhere on the network.

I have two separate page setups and print setups within each script but filemaker keeps printing all of the pages to whatever printer is defined in the first script that it executes.

I tried to insert a 5 second pause between the two scripts but it had no affect correcting the problem.

I am really in a jam here, the restaurant opens in seven hours and I need to get this figured tonight. Any suggestions are greatly appreciated.

Posted

Hi have a look at this.

http://fmforums.com/forum/showtopic.php?tid/175183/

I have an improved version if You need, but it explains the problem already.

With Server :) sorry that I do not know !

  • 1 month later...
  • Newbies
Posted

I am having the same problem using two separate scripts. The printer automatically defaults to the last used script, regardless of what is chosen in the print setup. The only solution I've seen is to uncheck to "perform without dialog" box. The file is a custome POS and one of my printers is a reciept printers. I don't really want to slow it down with another dialog window. Has anyone found another solution this?

Posted

This is a simple solution that solved our POS printing problem.

execute an AppleScript like this (with the appropriate printer specified) prior to each print step:

tell app "Printer Setup Utility" to set current printer to printer "LaserJet 4v"

  • 3 weeks later...
Posted

In 7, you had to applescript a "click menu item Print.. click menu item Cancel.." before the Print Setup Utility step. GUI scripting - Universal access - must be enabled also.

This became an even bigger hassle if the current user menus available were anything but "All."

Is this not true in 8?

I was hoping this headache would be gone by 8 or 8.5.

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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