Stops in 30 seconds

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

First of all my in house dos program can print directly to the LPT printer theres no problems in Windows 98se. In Winsdows XP it can print but when in the last line to print it stop. I wait 30 seconds then the printer will containue. It take time I try change the RAW to EMF but still not works.
 
You need to change the DOS LPT_timeout value in the DOS translation layer of
Windows XP. In Win98 there is not a translation layer.

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.

http://support.microsoft.com/default.aspx?id=kb;en-us;Q101850
MS-DOS Application Prints Incomplete Pages

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WOW\LPT_timeout
The default value is 15 seconds.



--
Alan Morris
Windows 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.

DOS program prints & stop in 30 sec. said:
First of all my in house dos program can print directly to the LPT printer
theres no problems in Windows 98se. In Winsdows XP it can print but when in
the last line to print it stop. I wait 30 seconds then the printer will
containue. It take time I try change the RAW to EMF but still not works.
 
Back
Top