How to close the LTP-port

  • Thread starter Thread starter Jens R. Rasmussen
  • Start date Start date
J

Jens R. Rasmussen

Several advises on how to speed up printing from a DOS
application under winxp suggest to make sure to close the
LTP1 port.

How do I do this? Is there an appropriate DOS-command or
is it a control code which should be sent to the printer?

best regard
Jens
 
I think this is what they mean.

http://support.microsoft.com/default.aspx?scid=kb;en-us;102059
Registry Entries for NT Virtual DOS Machine (VDM):


- LPT_Timeout: This is used by MS-DOS-based applications. There is no
specific call to tell MS-DOS that the print job has
completed. Under Windows NT (which spools print jobs),
it is important to close the print job for printing to
start. NT VDMs uses this timeout value to detect no
printing activity before closing the print job handle.
The default value is 15 seconds.

--
Alan Morris
Microsoft Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top