>I am using and HP LaserJet 1100A, connected to a 3-port, LinkSys, Printer Server, running on Windows NT 4.0.
>
>I use the VFP 6.0 report designer for all of the reports in this application.
>
>For the past several weeks, right after I recompiled and recreated my VFP 6.0 executable, my printer throws out each paper with a 30-45 second pause.
>
>Prior to that, or if I put back my old executable, (which I saved before recreating the new one), the printer works great. It throws out 6-7 pages per minute, if not faster.
>
>Testing, the printer using, Excel, Word, etc, it functions smoothy.
>
>Is there anything I should account for in my code, which may of caused the printer to slow down?
Yes, the 1100 is a GDI printer, meaning that it has no on-printer rendering engine; the CPU is responsible for the entgire rendering process on a per page basis, and print buffering is done using system RAM. GDI printers are an incredibly bad choice in conjunction with any WinApp that's processor-intensive and apt not to yield the processor to the GDI during execution of atomic, long-executing blocks of code such as a single long-running SQL statement or a tight loop that does not called DODEFAULT or call outside itself or perform screen I/O.
In general, GDI printers are a bad investment, and generally indicate that the person who spec'd the printer didn't understand why the printer was inexpensive. It's the same bad judgement as went into people who bought WinModems - modems that relied on the CPU for performing DSP tasks rather than spend an extra $5 for a modem with an on-modem DSP, or video cards that eat system RAM and rely heavily on the CPU for graphic rendering.
IOW, the buyer got exactly what they bought - less capability for less money.
>
>Thanks in advance!