>Fred,
>
>I use ??? to create calendar based reports in an app that was ported from dBase DOS. It's tons faster than using a .frx based report because a .frx winds up sending the whole page to the printer as a bitmap so it sends almost 1 meg of print data instead of the 40k the PCL commands take.
>
>When you say it hangs what happens? Does anything print? You sure your code isn't going into an infinite loop?
>
>>can anybody help me regarding printing directly to LPT1 using win32API. In Fox 2.6 I used openComm WriteComm in Foxtools.fll but they are missing in the new version of foxtools.fll. Does anybody have a copy of the win32api help file or some samples .
>>I used the ??? command it is very slow. And after printing about 100 lines the program hangs .
HERE'S INFO FROM PRINT DIRECT'S README FILE
Print Direct is a Windows'95/Windows'NT utility that allows bypassing printer drivers.
You want to print on a printer that has no driver, so you want to send formatting characters to it.
You might ask why I can not do the aboves with the Generic/Text only
printer driver? Well, this driver will still send some formatting
characters.
The package you downloaded includes Print Direct OLE Server. You
can use it from your VB, C++, Delphi, Visual FoxPro, MSAccess,
MSWord, Excel, etc. program through the Object Browser once you
added the server as a Reference to the project.
It includes three functions:
1. PrintDirect
It does from your program what the utility does.
2. LPrint & LPrintEnd
Allows LPrint like it was in the old Basic language in DOS.
MAYBE THIS IS WHAT YOU ARE LOOKING FOR.
Contacting Redei Enterprises:
WEB:
http://ourworld.compuserve.com/homepages/p_redei2 email: 71744.3633@compuserve.com
Zipserver@aol.com
phone/fax: (310)832-6984