Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing on Dot Matrix
Message
From
23/10/2004 14:08:59
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
23/10/2004 13:29:29
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Novell 4.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00954010
Message ID:
00954017
Views:
19
>Hello Everybody,
>
>I developed a system on FoxproDos Ver 2.6a. The thing is I have generated the reports through coding by using "@ say" command.
>
>Now, I am developing the whole system into Visual Foxpro Version 7.0 again. But I don't know how to print a text file on to a Dot Matrix Printer (Epson LQ-300+). I need this, because our Invoices and Delivery Challans contains 1+2 pages. I would be very much grateful if somebody help me to patch up this matter.
>
>Thanks
>
>Saif

There are probably several options here.

One is to load the file to a memory variable. This is done quickly with FileToStr() (VFP 6 or later).

Then, send it to the printer with the "???" command.

Ed Rauh has also published some API stuff, I think that was it, that will send information directly to the printer (bypassing the printer driver). This is supposed to solve certain problems. (Check his controbution summary.)

You can use a FoxPro 2.6 / DOS report directly in Visual FoxPro. But to do any modifications, you must use FoxPro / DOS.

You can use my class, download #9991, to help you generate text reports. But in this case, you will have to re-write some of your stuff.
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