Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I use smaller font in DOS print
Message
From
12/01/2003 07:33:26
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00740720
Message ID:
00740761
Views:
24
As Jaime says, you can use a VFP report.

On the other hand, if you want fast printing on a dot-matrix printer, you may want to print in text mode.

In this case, an easier way to send output directly to the printer is with the "???" command. SET PRINTER FONT won't affect the output; you would have to send printer codes directly to the printer, also with "???" (perhaps in a single "???" command). You will have to check your printer manual, what fonts are available (built-in, into the printer). For fast printing in text mode, you can only use the fonts that the printer supports.

Important limitation: if you do all this, your program will work only on one kind of printer, for instance, "Epson dot-matrix".

>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

What is wrong with your code? A command like SET PRINTER FONT will only affect output of commands like "?" and "??", but not something you send with low-level commands to the printer.

Greetings,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform