Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print to dot-matrix printer
Message
De
02/11/2009 15:46:43
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
02/11/2009 14:39:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01432759
Message ID:
01432779
Vues:
91
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform