Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing Directly to LPT1
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00121902
Message ID:
00122065
Views:
22
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 .
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform