Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing text files in landscape/portrait mode
Message
From
30/09/1998 01:57:41
Teo Kock Hin
Singapore Press Holdings
Singapore, Singapore
 
 
To
30/09/1998 01:38:25
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00141791
Message ID:
00142243
Views:
18
I'm not using any report form, so this will not work.
Personally, I find report forms and the designer very
limited and diffcult to extend with objects. :-)

If I've a printer object. I could do this.
o.SetPrinter(cPrinter) && like set printer to
o.LoadFile(cFileName) && load text or rtf file for printing
o.SetOrientation(nMode) && nMode, see prtinfo()
o.SetPaperSize(nValue) && ditto
o.Print()

I'm able to handle more of the function except for orientation
and paper size. Foxpro can return these info thru the prtinfo()
function but I'm still can't figure how to set them.

Any ideas are welcome. PS. I'm now looking at the registry settings
to see how to set them. If anyone have done this before, your inputs
is much appreciated.

regards,
kockhin
Previous
Reply
Map
View

Click here to load this message in the networking platform