We do this using @...say. If you do not need condensed printing, bold, special lines per inch setting, landscape, etc then there are no escape codes that need to be sent to the printer (unless the printer may be left in a condensed print mode or a different lines per inch setting, etc from a previous print job in which case you need to reset the printer first by sending the appropriate escape codes first). Something along the lines of:
??? opt
lnrows = 1
SCAN
@lnrows,1 SAY pfile.cname
@lnrows,20 SAY pfile.caddr1
@lnrows,40 SAY pfile.cacctno
lnrows = lnrows + 1
IF lnrows = 60
lnrows = 1
ENDIF
ENDSCAN
??? resetopt
>Hi dear Sergey
>I sure you know who am i ?!
>A person with bad question!
>Excuse me
>
>I want print my report with dot matrix printer. number of record are variable . i dont want my paper exit from printer ( as FORM FEED ). i want printer stop when it print last record.
>can i build my report with report bulider to do this?
>thanks for your help
>REZA
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"