Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing text files in landscape/portrait mode
Message
De
30/09/1998 01:57:41
Teo Kock Hin
Singapore Press Holdings
Singapore, Singapour
 
 
À
30/09/1998 01:38:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00141791
Message ID:
00142243
Vues:
19
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform