Using WinXP, VFP 7.1, Oracle 8i
I have an application that gnerates a lot of lengthy reports. For saving
time and money I want to print that reports on dot matrix printer. But
prints very slow.
I have been using Foxpro for DOS and Windows (FPD & FPW) it prints fine. It
also sends the printer ESC codes.
How can I accompish this task in VFP.
Thanks in advance.
S Bokhari
It appears that xp is using the dot matrix in graphics mode. That's why it's
so slow.
If possible, try to set the printer to text/generic (I'm not familiar with
xp). That way the printer will receive raw data (your report's contents).
alex
"S. Bokhari" <sarfraz...@yahoo.com> wrote in message
news:uo0xGwIGCHA.2272@tkmsftngp09...
To improve dot matrix printing change all the fonts in all reports to a
printer font (you recognize them by having the printer Icon next to them.
To further improve speed build if possible just one expression by line. as
it prevents the head to fly back and forth. Windows send the absolute
position command for each field which on most printers makes the had go back
to the reset position and then move out again
So instead of having maybe 3 fields like
Qty Item Price
make one expression like
STR(qty, 12, 3) + " " + PADR(item, 30) + " " + STR(price, 12, 2)
etc
HTH
"S. Bokhari" <sarfraz...@yahoo.com> wrote in message
news:uo0xGwIGCHA.2272@tkmsftngp09...