>I have been using a small dos clipper code to print invoices from the vfp for last ten years. Is there a way to print straight from vfp using
>@ PROW( )+1,10 SAY or ?? field name and be able to setup the page length, font size and font type ??? The printer we are uisng is OKI Microline 590. Any help will be appreciated.
I created download #
9991, precisely to help in printing to dot-matrix printers, in text mode. If your printer doesn't use the Epson commands, you may have to adjust the printer codes (read the printer manual).
You can also prepare the entire text file, then send it to the printer. If you create the file report.txt, the command is basically like this:
??? lcPrinterCodes + FileToStr("report.txt")
However, the download I mentioned gives you lots of additional options, for example, print headers and footers at different levels (i.e., when different break expressions change).
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)