Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printer slowing down........
Message
From
08/11/2000 13:37:54
 
 
To
08/11/2000 10:48:29
John Vlahos
V I Software Solutions Design
Mississauga, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00439255
Message ID:
00439316
Views:
12
>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!
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform