Jump to content

One script to two different printers not working.


HALBURN
 Share

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

Recommended Posts

[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.

Link to comment
Share on other sites

  • 1 month later...
  • Newbies

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?

Link to comment
Share on other sites

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"

Link to comment
Share on other sites

  • 3 weeks later...

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.

Link to comment
Share on other sites

This topic is 5586 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
 Share

×
×
  • Create New...

Important Information

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