Sunday, June 20, 2004

TextReportListener for fast printing

I am in the work to find out the possiblity to generate plain text report from VFP report for dot matrix printer (fast print). It should able to "embedded" printer code based on report item setting (if possible).

From the VFP9 documentation and debug info, the report's item objects are eveluated with following order : nLeft,nTop,nWidth,nHeight. Everything from left in same band will be eveluated first. Therefore, ?/??/@... SAY cannot be used to output result to file because it can't go back to previous line. I am thinking, are there any way to do this without place the result in memory and recalcute the position everytime. Anybody has any suggestions?

0 Comments:

Post a Comment

<< Home