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.

store settings from 'print' dialog...

Featured Replies

OK...

In scriptmaker there's a 'print setup' script step, which lets you specify certain settings for the print setup dialog box, and then save them with the script to let you perform that script step without showing that dialog.

However, how do you store the settings from the 'print' dialog?

Everytime I flash up the print dialog it can give users the opportunity to print the script and field definitions.

In my particular case here, when I set the 'print' script step to perform without dialog, it always seems to default to the print script definitions options, and print to file.

No matter what combinations of replacing the current print setup etc I go through - which work with print setup, export order, sort order and find requests! - the print box still defaults to printing the script definitions.

How do I change this default to 'records currently being browsed' or 'current record'

Without requiring a user to have to check this option is selected every time they print?

I'm using FMP5.5 on mac osx and win2000.

Any ideas?

Thanks

From my experience it seems that the Print settings are saved with the Print Setup step. So if your Print step is in a different script, it will probably behave like you have mentioned. What you want is both steps in the same script. If you do that and still have problems, manually perform a print with the settings you desire, open the script, click OK, and select Replace for the Print Setup settings.

Only one configuration for Print can be saved with each script, so what I often do is create scripts containing only Print Setup and Print, named with a specific config like "Portrait - Records being browsed", and then set a global from other scripts to determine which step to perform. Something like:

If [gNum = 0]

Print Setup [No dialog]

Else

Print [No dialog]

End If

From other scripts, I would call it like:

Set Field [gNum, 0]

Perform Script [Portrait - Records being browsed] <-- calls Print Setup

Set Field [gNum, 1]

Enter Preview Mode [Pause]

Perform Script [Portrait - Records being browsed] <-- calls Print

  • Author

Yeah good idea, have specific scripts for different formats.

I thought it might be stored along with the print setup, but you are correct, the print setup and print script steps are performed in different scripts in succession.

Thanks for your fast response!!

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.