>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