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.

Script won't print records being browsed

Featured Replies

I have three reports that are set to print in sequence. The first script does a find and a sort followed by a page setup and a print command - it then calls the second script, which resorts the data, does another print and calls the third script, which resorts the data, does a final print.

All three reports are perfect on the screen, but when I inserted the print steps something strange happened. The first script will not print the records being browsed, and instead prints only the current record (what I actually get is a page with only the last line of the report, showing the grand summary of records in the report). The other two scripts print all the pages just fine.

I have tried repeatedly, and with two different printers, to reset the print option to records being browsed but every time I run the script it defaults back to current record status. I could just leave it that way, and tell my customer to change it every time she runs the script, but I would much rather have it be automatic.

Can anyone shed some light on this?

TIA

Each script needs a Page Setup to store the info for each Print. If you don't have a Page Setup in your second and third scripts, then you're just lucky it's printing the way you want.

Print some records being browsed and then open your first script, close it, 'Replace' the Print Setup. This should fix the first script's setup.

  • Author

Thanks - it's the obvious that I always overlook!

  • 7 months later...

Do you need FMP6 or higher to see the Print Setup script step, or the Keep/Replace dialog for print setup when exiting the script? My "Print" script step only has the Perform without Dialog option, not Restore, and uses the latest Print settings no matter what. I need it to print "Current Record" for the script but it's usually set for "Records Being Browsed."

FileMaker Version: 5

Platform: Mac OS X Panther

The Restore/Replace options are only visible when you open (Edit) and close (OK) a script with already created Sort, Print Setup, Import, Export, or Find steps.

That's just the deal, though--there is no Print Setup step that I can see in 5.5. There's Print, which doesn't save any settings except Perform Without Dialog, and Page Setup, which only controls paper size, orientation, etc. Am I missing it somewhere?

It's right above the Print step, if you have the steps sorted by category.

On the Mac, in version 6 and below, the Print Setup settings are incoporated in the Page Setup settings.

Ah, okay, Page Setup then. I didn't know that differed from Mac to Win. Thanks!

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.