Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dos printing
Message
De
28/12/2003 08:42:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
28/12/2003 05:58:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00862326
Message ID:
00862338
Vues:
16
Sure, we have the same problem in Bolivia.

I create a text file (1), load it into RAM (2), and send it directly to the printer, bypassing the Windows printing system (3).

(1) Here, I use the "?" and "??" commands. There are several other alternatives; see my article on text manipulation, http://www.utmag.com/August2003/Page20.asp.

(2) FileToStr() will work here, if you have VFP 6 or later.

(3) The "???" command will send printer codes and your text directly to the printer. There is also a download, by Ed Rauh, which sends a file directly to the printer; supposedly it solves certain problems (which I, personally, never encountered).

You can use my text-reporting class, download #9991, to help you create the text files. It has most of the features of the VFP report writer, but you have to re-write the report (it doesn't use the FRX reports).

HTH,

Hilmar.


>Dear All,
>
>I am struggling to have all the documents and reports in my application (Development tool: front end VFP 7,Back end SQL2000, OS WIN2K) printed in dot matrix printer with high speed draft printing( same font of DOS printing). I did lot of RnD , but nothing seems to be working to 100% satisfaction. I did the followings
>
>1. I Installed epson lx 300 printer to get draft font . I modified the report with draft mode. But the problem what I am facing is 1. the alignment is not proper, ie.,preview is correct but while printing it is deferent. printing speed is good. But when I print to other printer , printing is very slow.
>
>2. I tried with many fonts which gives fast printing(printer depended) but all of them have some or other problems.
>
>Please advice me how can I print like dos printing , please help, it is very urgent , my customers are very much disappointed with me.
>I am sure lot of people must be having similar problem. I am looking for a permanent solution which should not be printer specific.
>
>
>
>Thanks & Regards
>
>
>Jijo N. David
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
Répondre
Fil
Voir

Click here to load this message in the networking platform