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

Changing Printers in a Script!

Featured Replies

Is there a way to change printers in a script.

Ex: I want to create a button that will print the current view in PDF, And another button to print to the local printer.

We have atleast 5-7 printers (not including Adobe) and it'a a pain to sift through these printers.

can anyone help?

~Addam~

Sure, no problem. All you have to do is setup a printer, create a script that does a print setup step with restore setup options on. Repeat these steps for each printer you have (7 printers is not that much, believe me, we have about 30 to 40 printers in the building) and your done.

I don't think the print setup function remembers what printer it uses. I can't get it to work like that.

Correct. Filemaker (and most applications in general) don't have control over which printer is selected. They can only change attributes related to page layout, size orientation, etc. It's an operating system issue. So, to switch printers, you will need an external utility or plug-in such as the ones mentioned above . You can also check out Winbatch which provides Applescript-like scripting ability on Windows machines.

Bob is correct. It is a windows issue. I used to use Winbatch to solve this problem, but you had to pause the script long enough to allow Winbatch to modify the Windows Registry. I now have been using Productive Computing's plug-in for a couple of years now. Works flawlessly! Very Simply! Can't Say Enough!!!

  • 1 year later...
  • Newbies

If you don

it's based on changing the registry. elegantly made, because it is set up for different versions of FileMaker.

Another tip here:

When you are using StandardUS-Letter Portrait, you can set custom page margins of about 1 cm, that shoud fit most printers. Only the landscape and scaled printouts have to be cusomized ,,,,

Ugo, I wasn't trying to be modest. My ego is just as big as anybody's. grin.gif

I had somehow assumed that the system in question was Windows, so I didn't bother mentioning the Applescript method.

Create an account or sign in to comment

Important Information

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

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.