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.

Cross Platform Print Script

Featured Replies

Our school district is a mixture of Macs and Windows machines so any db we design has to consider cross platform issues. One particular print script is giving us fits. It's a simple Go To Layout "xx", Page SetUp Restore, Print, Go To Layout "xy", Page SetUp, Restore, Print. Since they are 2 parts of one large 11 X 17" sheet and always printed together, it's less time consuming to do it this way. Works like a charm on the Mac. Running FM 4 on Windows 98 and printing (via USB) to a HP DeskJet 932C, it prints the first page only. Any idea if this is a platform issue or something unique to my machine or my script design?

quote:

Originally posted by tmac:

Our school district is a mixture of Macs and Windows machines so any db we design has to consider cross platform issues. One particular print script is giving us fits. It's a simple Go To Layout "xx", Page SetUp Restore, Print, Go To Layout "xy", Page SetUp, Restore, Print. Since they are 2 parts of one large 11 X 17" sheet and always printed together, it's less time consuming to do it this way. Works like a charm on the Mac. Running FM 4 on Windows 98 and printing (via USB) to a HP DeskJet 932C, it prints the first page only. Any idea if this is a platform issue or something unique to my machine or my script design?

Mac and Windows deal with printing differently. You will need a total of 3 scripts.

Script 1 is attached to the button and basically determines which platform the user is running then run the appropriate script.

Script 2 is the mac printing script.

Script 3 is the windows printing script.

Obviously, you will develope the Mac script on the mac and the windows script on a windows machine.

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Consultant

Database Resources

mailto:[email protected]

http://www.database-resources.com

=-=-=-=-=-=-=-=-=-=-=-=-=

On the databasepros web site this issue was discussed some time ago with FMP4... the conclusion was that the Page Setup step actually stores separate settings for Mac and Windows. But, in order to set them the script must be editied on both. That is, if you develop on a Mac then only the Mac settings get saved. You have to edit the script on a PC to make the other settings. They are independent.

So in your case, the script is set up for Mac because it was made on a Mac, but on the PC the script step is actually still the default (whatever that could be). Edit the script on the PC to save those settings. It won't affect the Macintosh settings.

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.