Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I use smaller font in DOS print
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
How can I use smaller font in DOS print
Miscellaneous
Thread ID:
00740720
Message ID:
00740720
Views:
83
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
Next
Reply
Map
View

Click here to load this message in the networking platform