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

Slow Print Preview

77 views
Skip to first unread message

Matthew

unread,
Jul 25, 2002, 4:04:44 AM7/25/02
to
I'm experimenting with the print preview dialog in VB.Net which runs
fine if I am using a local printer. If I use a network printer,
however, it takes over a minute to preview 20 BLANK pages. How can I
speed up previewing for a network printer?

TIA

Matthew

Ron Allen

unread,
Jul 25, 2002, 2:00:10 PM7/25/02
to
Matthew,
Are you calling something in OnPrintPage that reads from the printer or
makes a call to the printer? I have several installed applications and I
haven't noticed any problems with speed differences between local and
network printers. All of this is on Win2K or WinXP though.

Ron Allen
"Matthew" <szoll...@hotmail.com> wrote in message
news:303fc853.02072...@posting.google.com...

Matthew

unread,
Jul 26, 2002, 4:36:57 AM7/26/02
to
Ron,
I may be in the real code (it checks the margins), but A) I timed the
sum time spent in the OnPagePrint Events as 3.5 seconds out of the
60+, and B) I removed all the work code and just put in a counter to
count t0 20 which made little difference.

The network indicator in the tasktray does show constant network
traffic while the preview is being generated. This is on a W2k
workstation, the printer is a HP 5Si.

Matthew

"Ron Allen" <ral...@src-us.com> wrote in message news:<ObUlwVANCHA.2480@tkmsftngp12>...

Ron Allen

unread,
Jul 26, 2002, 10:08:16 AM7/26/02
to
Matthew,
I'm at a loss then but I do think it is something to do with the printer
network response. I just did a print preview of a 6 page document to my
networked HPCLJ5M and it took about 2.5 seconds to do the whole preview
which includes a lot of font generation and gets the margin settings for
each page. I'm not running the fastest computer in the world either (Dual
PIII 800). My users in the Ohio and Mass offices aren't having any problems
with this either they are using networked printers as well. OH has a custom
color laser whose brand I don't remember and MA has networked Lexmark
printers. A typical MA office document is about 20 pages and takes about 5
seconds to preview.

I'd try this without getting the printer margins and see if it makes a
difference. It sounds to me like your program is making a TCP call to the
printer and is being blocked until a timeout occurs.

0 new messages