DOS prog slow in printing

Forum Windows 2000/NT : Windows 2000/NT General Discussion - DOS prog slow in printing

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.win2000.setup (More info?)

 

Hi!
I have an old program in DOS which I'm using on Win2K.
Everything is OK except when giving a print command it takes exactly 30
sec in order to start.
I didn't have this problem with W95 or W98.
I changed all possible settings in spooler and changed printer but I
still got the same problem.
Then I increased the priority of ntvdm.exe(I don't see the DOS prog in
the Task Manager) but nothing changed.
Anybody can give me some hint?
Thanks
Horst

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.win2000.setup (More info?)

 

You might try reducing the Reg_Sz value of;
LPT_timeout
found at
HKLM\SYSTEM\CurrentControlSet\Control\WOW

Defines how many seconds after the LPT port has been used that Windows NT
waits before grabbing the port, closing it, and flushing the output. This
value should only be needed for MS-DOS-based applications that use BIOS and
do not close the port.

Beware of setting it too low. All MS-DOS application printing is done
through the Windows NT spooler system. In order to know when to send a job
to the spooler, there is a time-out on the printer port. Once something has
been printed to the port, if this time-out passes with no more data
presented to the port, the print job is sent to the spooler. On a slow
computer running a complex calculation to produce the print job, it is
possible that the time-out can expire during this calculation. This will
cause the printout to appear over multiple pages instead of a complete page.
To solve this problem, increase the time-out.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"horst engl" wrote:
| Hi!
| I have an old program in DOS which I'm using on Win2K.
| Everything is OK except when giving a print command it takes exactly 30
| sec in order to start.
| I didn't have this problem with W95 or W98.
| I changed all possible settings in spooler and changed printer but I
| still got the same problem.
| Then I increased the priority of ntvdm.exe(I don't see the DOS prog in
| the Task Manager) but nothing changed.
| Anybody can give me some hint?
| Thanks
| Horst

Reply to Anonymous

Archived from groups: microsoft.public.win2000.setup (More info?)

 

On 18.09.2004 15:47, Dave Patrick wrote:

> You might try reducing the Reg_Sz value of;
> LPT_timeout
> found at
> HKLM\SYSTEM\CurrentControlSet\Control\WOW
>
> Defines how many seconds after the LPT port has been used that Windows NT
> waits before grabbing the port, closing it, and flushing the output. This
> value should only be needed for MS-DOS-based applications that use BIOS and
> do not close the port.
>
> Beware of setting it too low. All MS-DOS application printing is done
> through the Windows NT spooler system. In order to know when to send a job
> to the spooler, there is a time-out on the printer port. Once something has
> been printed to the port, if this time-out passes with no more data
> presented to the port, the print job is sent to the spooler. On a slow
> computer running a complex calculation to produce the print job, it is
> possible that the time-out can expire during this calculation. This will
> cause the printout to appear over multiple pages instead of a complete page.
> To solve this problem, increase the time-out.
>
Thank you very much.
There I find:
LPT_timeout=15
SharedWowTimeout=3600
It doesn't seem to me that anyone of the two is set to 30 sec.
I wanted to set them to 10 sec: which one should I modify?
Horst

Reply to Anonymous

Archived from groups: microsoft.public.win2000.setup (More info?)

 

LPT_timeout

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"horst engl" wrote:
| Thank you very much.
| There I find:
| LPT_timeout=15
| SharedWowTimeout=3600
| It doesn't seem to me that anyone of the two is set to 30 sec.
| I wanted to set them to 10 sec: which one should I modify?
| Horst
|
|

Reply to Anonymous

Archived from groups: microsoft.public.win2000.setup (More info?)

 

Thank you very much: it worked!
Horst

On 18.09.2004 16:28, Dave Patrick wrote:

> LPT_timeout
>

Reply to Anonymous

Archived from groups: microsoft.public.win2000.setup (More info?)

 

Glad to hear it. Thanks for the feedback.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"horst engl" wrote:
| Thank you very much: it worked!
| Horst

Reply to Anonymous
Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > DOS prog slow in printing
Go to:

There are 1197 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them