You'll need to add
ORIENTATION=1
to the EXPR field in record #1 of the FRX. If there is already
ORIENTATION=0
(Portrait mode) then just change the '0' to a '1'
HTH
Barbara
>Does anyone know if you can set the printer orientation to landscape or portrait mode in Visual Foxpro under program control without having to use the Page setup dialog box. Is there a windows API function that can be accessed to do this? If so what is the code to make it happen?
>
>I want to be able to switch the orientation without user intervention under program control.
>
>Thanks