JSI Tip 3797. How do I free a printer port that is locked by an MS-DOS application?

In Windows 2000, if a MS-DOS application uses BIOS functions to print and does not close the printer port, the port will be released in 15 seconds.

You can alter the timing of the release by setting the LPT_timeout value name, a string variable at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WOW, to a number of seconds.

See tip 1580 ยป DOS print job incomplete or in multiple pieces?



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish