Is it possible to program the page setup?


#1

The pagesetup statement opens the page setup dialog where the setup can be amended manually. It would be great if it was possible to change the orientation and scale programmatically but it seems that this is not the case.


#2

Those are both options in the printtopdf statement.

The printtopdf statement also has the option of printing, rather than making a pdf, so it should do exactly what you want to do.


#3

Thanks Dave. The way that some of these options are hidden where you’d least expect them keeps life interesting :slight_smile: