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.

Printing from multiple files

Featured Replies

I'm using FM6 now and my users are having issues with printing. There is a report that is spread across 3 files. I have one script that prints part, goes to the next file and prints that, and so on. He's a short example of the script

Goto layout [report print]

Print []

External script [Print records from file xxx, no dialog]

External script [Print records from file yyy, no dialog]

Goto layout [report footer]

Print [no dialog]

The problem is with the printing steps that have no dialog. If a user other than me (my computer) runs the script it will not print anything but the very first print step that had the print dialog enabled. I imagine that in the script it's saving my personal printer in the preferences, and since no one else has the printer it just skips it.

Is there a way I can make it specify printing to the default printer and still not have the print dialog come up? It's going to be a drag if the user gets prompted 4 times for the print settings.

-----------

Update:

I just tried the following with my script and it seems to work Dandy.

Goto layout [report print]

Print setup [restore]

Print [no dialog]

External script [Print records from file xxx, no dialog]

External script [Print records from file yyy, no dialog]

Goto layout [report footer]

Print [no dialog]

It's a bit counter-intuitive for me, but many things in FM6 have been. I think it's going to work, it just seems a little bit backwards to me.

On a completely unrelated note, I'm going to be upgrading to FM 8.5 soon, is there some nifty special way I can keep text from getting chopped off on complex print layouts with lot's of sliding going on? It's been the biggest end-user gripe I've had and I'm completely baffled. That was one nice thing about access, it would auto-grow field as necessary and not chop lines in half from page to page.

  • Author

The problem I've found with this is now the user can 'Cancel' the Page Setup script step, but it will still print. I've tried the status(currentmessagechoice) function, but apparently that doesn't work unless it's a popup you script. Any ideas other than popping up a message "Are you sure you want to print?"

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.