Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Script won't print records being browsed


This topic is 7511 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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.

  • 7 months later...
Posted

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

Posted

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.

Posted

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?

Posted

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

Posted

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

Posted

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

This topic is 7511 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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