June 18, 200619 yr [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.
June 18, 200619 yr 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 !
August 2, 200619 yr 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?
August 2, 200619 yr Author 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"
August 21, 200619 yr 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.
Create an account or sign in to comment