Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help about print with dot matrix printer
Message
From
09/08/2004 12:38:55
 
 
To
09/08/2004 08:45:29
Reza Meamar
Homa Programming Group
Shiraz, Iran
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00931735
Message ID:
00931809
Views:
14
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   && these are our printer codes to set the font size, etc
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  && these set the printer back to its default setting
>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"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform