Christian / Nancy:
I just figured this one out a couple of weeks ago:
>is there any way you can change from portrait to landscape in your program
>without using "set printer on prompt" and than click, click in the printer >configuration?
What i did was simply stuff the keyboard with the right characters to run the printer dialog and do what i wanted. Here is a little snippet of my code:
IF cPageOrient="Landscape"
KEYBOARD "{TAB}{ENTER}{TAB}{TAB}{TAB}{TAB}L{ENTER}{ENTER}" && landscape
ELSE
KEYBOARD "{TAB}{ENTER}{TAB}{TAB}{TAB}{TAB}P{ENTER}{ENTER}" && portrait
ENDIF
SET DEVICE TO PRINTER PROMPT
i hope this helps,
scott
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only