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.

Newb: Printing question

Featured Replies

Hello all,

Before i used to browse through my database full of invoices, and click on the button print to print a specific record I wanted. But now, for some reason I have to input the page range I want to print, otherwise it will print the one i input the previous record. I cannot figure it out, any help would be greatly appreciated... Many thanks :)

What does your Print script look like and what are the settings for your Print Setup/Print steps?

  • Author

I just use the script used on the script

given on "sort/find/print"-on the scriptmaker. I think is something like-

print[]

Print Setup set to:

Print-records being browsed

Pages: from:__(eg32) to:__(eg32)

Number of copies: 1

I am also using a networked printer

.... hope this help smile.gif

Have you tried setting it to print Current Record instead of Records Being Browsed? You shouldn't need to worry about the page range.

  • Author

Yes i did... but the same thing happens...

new-2.jpg

Once you change the settings, open the script, close it, and select Replace next to the Print Setup option.

  • Author

Once you change the settings, open the script, close it, and select Replace next to the Print Setup option.

I don't quite get that frown.gif... i don't see any "replace"....

confused.gifconfused.gifconfused.gif

When you close a script after it's already been created (by clicking OK not Cancel), if you have any import, export, sort, print, or find steps in your script, you will be prompted to Keep the saved options or Replace them with the most recently performed options.

  • Author

I don't have steps on the print script... All i did was specify the button to print from the script menu. (Plain and simple script- didn't create any scripting smile.gif)

Oh, then each time you call it, it will use the most recently performed Print settings for that file. I would never print this way on Windows, since Print settings are only saved with Print Setup. I would print the way you want it to, then create a script with Print Setup [Restore, No dialog] and Print [ ], and attach it to the button.

  • Author

I created the setup, but i still have to input the page I want instead of just clicking ok on the print window... see the attatched jpg image... hope this is a better explanation smile.gif

new-3.jpg

Well, if you have it set to print Current Record, then the Print Range will be ignored anyway. If you want to print more than one record, you will have to use Records Being Browsed and then enter the Print Range. And if the range changes each time, then you will have to manually enter it each time. And just in case you weren't aware, the Current Record is the record selected in Browse Mode, not the page that you might be on in Preview Mode. If you are on the fifth record, and you enter Preview Mode, it will show the first record as the first page, but the fifth record is the one that will actually be printed.

  • Author

You are right, so you are saying there is nothing I could do, but to input range manually? frown.gif:(:

Not unless you want to save the found set's ids in a global, put the ids for the records you want to print in another global, create relationships from both globals to the id field and use Go to Related Record [show only related, "second_global_relationship"] to find only those you want to print, Print [ ], and Go to Related Record [show only related, "first_global_relationship"] to restore your original found set.

This requires a layout that contains only the id field, and a layout to contain the the first global, using a script to Set Field [secondglobal; secondglobal & id & "

  • Author

Thank you so much... very complex but I will give it a shot, gotta learn somehow smile.gif.

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.