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)