Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to change form to Legal and Letter programmatically
Message
 
 
To
17/03/2004 16:51:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00887285
Message ID:
00887329
Views:
11
Alex,

Open report as a table and in the first reocrd blank out TAG and TAG2 fields and change in Expr field
ORIENTATION=0    
to Landscape
ORIENTATION=1
>Hi,
>
>PRTINFO(2) is great because you can easily find a printer's current form type (Letter, Legal, etc). Is there a direct way to programmatically set the current form to Letter or Legal without resorting to the Win API?
>
>This is required so REPORT FORM PREVIEW shows completetely some very wide reports that normally are printed in landscape on legal paper.
>
>If there is no direct way, what would be the simplest way to do it with Win API? Please note that customers may have versions of Windows in different languages, so form names may be different.
>
>TIA,
>
>Alex
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform