Jump to content
Server Maintenance This Week. ×

Cross Platform Print Script


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

Recommended Posts

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?

Link to comment
Share on other sites

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

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 8585 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.