balooka Posted February 24, 2003 Posted February 24, 2003 hi I've made a solution that works on Macs but has a problem on XP's. The pagesetup routine is working on Macs but not on the windows boxes - it ignores it and weird enough won't even show up in the scriptlist. I've set the values of the setup on a pdf-printer and it should margin the page with 1cm on all sides. However, on XP it will print off-center since that script is completely ignored... Anyone have an idea what this is or how to solve it?? TIA JP
LiveOak Posted February 24, 2003 Posted February 24, 2003 Unfortunately Page Setup can be somewhat printer specific. You might try using two different page setup scripts (a script with the single statement "Page Setup[restore]"), one for Mac and one for PC. You would select the use one or the other based upon a test of Status(CurrentPlatform). -bd
balooka Posted February 25, 2003 Author Posted February 25, 2003 thanks liveoak the pagesetup is currently one step in a script (used as a sub in the masterscript). Should I create a setup on a PC then and save it there? How do I specify wether it is for mac or pc?? TIA JP
jasonwood Posted February 26, 2003 Posted February 26, 2003 the "restore" option stores a different setup for different operating systems... so you probably just have to set the page setup manually on your XP box, then open and close the script, saving the new settings (they will be added to the old). If you wanted to use a separate script step for each operating system, you'd put them in their own one-line scripts, then use the Status(currentOperatingSystem) function to check which one to run.
Recommended Posts
This topic is 7933 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 accountSign in
Already have an account? Sign in here.
Sign In Now