Hi Alan,
Just a SWAG. Maybe one of following combination coul help?
??? CHR(13) + CHR(10) + CHR(12)
??? CHR(13) + CHR(12)
??? CHR(10) + CHR(12)
>My latest problem in trying to get an old hand-coded report written in FPD to run properly on an Epson LQ300 dot-matrix printer...
>
>The pseudo-code is as follows...
>SET DEVICE TO PRINTER
>SET PRINT TO
>??? CHR(27)+'@'
>??? CHR(27)+'x'+CHR(0)
>??? CHR(27)+CHR(2)
>??? CHR(27)+'C'+CHR(0)+CHR(11)
>
>SELECT MyTable
>
>SCAN
> @ line,col1 SAY col1
> @ line,col2 SAY col2
> @ line,col3 SAY col3
>ENDSCAN
>
>??? CHR(12)
>
>output stuff on next page...
>
>The report prints fine, except for col3 on the final record does not print until AFTER the eject (ie. at the top of page 2)!
>
>To get around this, I have inserted a @ nextline,0 SAY " " after ENDSCAN to 'nudge' col3 onto paper at the correct position. The downside of this is that page2 starts 1-line lower than it should (ie. as if the pagelength was 67 lines).
>
>It appears as though text is being stuck in the print-buffer. How can I empty the buffer without causing the line-advance on page2?
>
>Any help would be appreciated.
>
>Alan
--sb--