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.

Printer Selection Failure

Featured Replies

It seems that FileMaker 10 has broken scripted printer selection.

You can even use the FileMaker command, get( PrinterName). But it doesn't mean anything.

I'm addressing MacOS here but I think this might also occur in Windows.

In previous versions, I could use an applescript to cause Print Setup Utility to select a specific printer as default; and FileMaker would print to it; and then I could reset the default printer.

This does not work anymore.

But you don't need applescript prove this or to experience this problem.

In FileMaker, choose Print from the File menu, note what printer is selected, then cancel the print.

Go to System Preferences, Print & Fax

Set as default printer a different printer than what FileMaker is currently using.

Go back to FileMaker. Run a show-message script in FileMaker with the message get( printerName)

It will display your newly-selected default printer; such as a label printer in my case.

Now choose Print from the File menu.

Note that the selected printer is NOT the one you just chose.

The value displayed by get(PrinterName) has absoutely no connection to where your print job will take place.

  • Author

OK, figured it out. Ugh.

To allow scripted printer selection to work, you must save print settings but point them to a bogus printer name. To do this, temporarily rename your printer. Modify the print script to point to that printer name and save the script. Set the printer name back to the original printer name.

Unfortunately if you print the script to PDF the name of the printer is never shown; you can only see this in the XML version of the DDR

Create an account or sign in to comment

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.