Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting print mode (Landscape vs. Normal) programmatical
Message
 
To
03/10/2008 15:06:30
Peter Wagner
Point Informática Ltda.
Limeira, Brazil
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01352664
Message ID:
01352667
Views:
22
>Hi,
>does someone knows how to Set print mode (Landscape vs. Normal) programmaticaly?
>
>User don't want any kind of Dialog mode form to set it, want it to be automatic depending on the size of some text.
>
>Report is being printed using @SAY with font
>
>SET PRINTER FONT "Courier New", nTamFonte
>SET COLOR TO RGB(0,0,0,255,255,255), RGB(0,0,0,255,255,255)]
>@SAY....
>
>
>Or has a VB code that I can change to VFP that does it.
>
>TIA
> [ ]'s
>Peter

This works for me:
* Landscape
??? CHR(27)+'E' + CHR(27)+'&l1O'
*portrait
??? CHR(27)+'E' + CHR(27)+'&l0O'
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform