the Otter Posted October 14, 2014 Posted October 14, 2014 I work in a print shop, so there are many, many printers around here. Pretty much everyone with a desk has his or her own printer, not to mention the dozens of other printers around the office and on the shop floor. I have a script that prints multiple forms in rapid succession, generally using other scripts as subroutines. I would like to have FileMaker show the Print dialog when the first form is printed, so the user can select which printer to send the forms to. However, I’d prefer if the user weren’t presented with the same dialog for each of the multiple (potentially many) forms to be printed, since the printer selected in the first dialog will always be the printer selected in the second, the third, the fourth, etc.. I know I’ve somehow accomplished something like this for one of my previous clients, but for the life of me, I can’t figure out how I did it. Does anyone have any ideas? Thanks in advance!
the Otter Posted October 14, 2014 Author Posted October 14, 2014 Never mind… I don’t know why I didn’t come up with this immediately, but I checked “Print without dialog” and unchecked “Specify print options”. Voilà.
Rick Whitelaw Posted October 14, 2014 Posted October 14, 2014 But then the user never gets to select a printer . . .
the Otter Posted October 14, 2014 Author Posted October 14, 2014 Sorry, Rick; I guess I didn’t explain myself well. I created a global variable $$PrintOptionsSet that gets cleared when the script begins, then set to True after the user selects a printer for the first form. Then it’s just a matter of using If/Else so that once the flag is set, it uses Print [No dialog] instead of Print [].
Recommended Posts
This topic is 3956 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 accountSign in
Already have an account? Sign in here.
Sign In Now