john9210 Posted March 4, 2008 Share Posted March 4, 2008 FM 8.5. Is there a way to detect if the layout is in portrait or landscape mode. If so, I would like to use it in a script step for printing. Quote Link to comment Share on other sites More sharing options...
Maarten Witberg Posted March 4, 2008 Share Posted March 4, 2008 i think you need to predefine what you want the layout to look like printed. it works the other way round. what are you trying to achieve? Quote Link to comment Share on other sites More sharing options...
Ender Posted March 4, 2008 Share Posted March 4, 2008 I don't think there's a way to detect the page setup. But it's pretty simple to include a Page Setup step with every print script. Quote Link to comment Share on other sites More sharing options...
john9210 Posted March 4, 2008 Author Share Posted March 4, 2008 I have many layouts to print, some in portrait and some in landscape. In a printing script, I would like to use an if statement to select the appropriate Print step depending on the layout orientation. I need a way to determine the page orientation for the if statement. Quote Link to comment Share on other sites More sharing options...
Maarten Witberg Posted March 4, 2008 Share Posted March 4, 2008 I'm afraid you have to keep track of that yourself like ender suggested. so after each go to layout [ layoutname ] script step, add a page setup [ settings ] script step. As developer, you should know the orientation of the layouts. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.