Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you set CREATE REPORT to print landscape?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00698976
Message ID:
00775657
Views:
22
>You can always send the appropriate ESC sequences (printer command codes) to the printer directly from FoxPro with ??? command (without using any API). See for example: http://www.piclist.com/techref/language/pcl/pcl5over.htm
>As far as I remember, the Esc-sequence for HP printer to switch to Landscape will be
>
>??? CHR(027) + CHR(038) + CHR(108) + CHR(049) + CHR(079)
>
>(just grabbed it from some old program)

Thanks, Nick. The problem with this approach is that it's going to be printer specific. I was hoping for more general solution. Check out other threads on this topic, I initiated yesterday.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform