Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change Font and Font size
Message
 
À
23/12/2004 23:58:16
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00971982
Message ID:
00971983
Vues:
16
Try:

SET PRINTER FONT lcFontName, lnFontSize, lcFontStyle

ie:
SET PRINTER FONT "Courier New", 10, "B"

>Hi,
>I want to print a report using the ? command directly to the dot matrix printer,
>not use the report form.
>How to change the font and the font size when directly to the printer ?
>
>For example
>
>
>set print on
>? "Item No.   Description"
>? "--------   ------------"
>do while !eof()
>   ? item->itmno+" "+item->desc
>   skip 1
>enddo
>eject
>set print off
>
>
>Please advise
>
>Derek
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform