Can you post a screen shot/copy of the script?
Thank you for your posts.
The script will work as expected in FileMaker Pro 14, but you will not see the resulting page until the script completes. This was purely done for performance reasons. If you need to see the layout before printing, then insert as your second script step:
Pause/Resume Script [ Duration (seconds): .1 ]
This will pause/delay one-tenth second as the screen is updated prior to executing the Print Setup and Print steps.