Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I use smaller font in DOS print
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
How can I use smaller font in DOS print
Divers
Thread ID:
00740720
Message ID:
00740720
Vues:
84
I want to print adress label to DOS printer by useing smaller font than default one.
For this reason, I haved used following code block. But I havent got my desired output

What is wrong in this code block. Can you help me

Thanks
*** DOS PRINT CODE BLOCK

SET PRINTER FONT Arial, 15

cWhereDosPrinter = alltrim("LPT1:")

nFhandle = fcreate(cWhereDosPrinter)


SELECT Customer
SCAN
    cAdressLabel = Customer.name+CHR(10)+CHR(13)+Customer.adress
    =FPUTS(nFHandle, cAdressLabel)
ENDSCAN
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform