Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Save Selected Printer within Script

Featured Replies

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!

  • Author

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

But then the user never gets to select a printer . . .

  • Author

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

Create an account or sign in to comment

Similar Content

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.