Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Printing on Dot Matrix printer.

37 views
Skip to first unread message

S. Bokhari

unread,
Jun 20, 2002, 3:56:09 PM6/20/02
to
Hi group,

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

Alex Wieder

unread,
Jun 20, 2002, 9:13:27 PM6/20/02
to
Hi,

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...

DP

unread,
Jun 21, 2002, 1:20:38 PM6/21/02
to
When you convert or create reports in VFP it usually converts everything
using the font "Courier New" This Is a True Type Font. This will print as
graphics on the Dot matrix.

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...

0 new messages