printing from Dos-Box - timeout

  • Thread starter Thread starter Gottfried Pauler
  • Start date Start date
G

Gottfried Pauler

Hi!

When a Dos-Application opens Lpt1 for print and does not send data for
about 20 seconds, then the data beeing sent so far are sent to the
printer (timeout is reached).
How to increase that timeout value?

Thanks for your help,
Gottfried
 
Gottfried,
When a Dos-Application opens Lpt1 for print and does not send data for
about 20 seconds, then the data beeing sent so far are sent to the
printer (timeout is reached).
How to increase that timeout value?

Maybe could be easier to print to a file, then to send it to the lpt port
all in one.
However I found the following info on the net.
Please note that I HAVEN'T TESTED IT.
In particular way, take care using RegEdit: it could be rather dangerous.

1) in REGEDIT ( START->RUN-> REGEDIT )
click : Hkey_local_machine
then click : System
then click : CurrentControlSet
then click : Control
somewhere at the bottom of the control list Click: WOW
Here you should find the LPT_timeout property

2) Go to SYSTEM.INI file
in [386enh] section search [Network] if it does not exist enter the
following :

[Network]
PrintBufTime=40
[IFSMGR]
PrintBufTime=40

This should set the timeout to 40 seconds.

Regards,
Davide
 
Back
Top