A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Printing and Faxing with Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Stops in 30 seconds



 
 
Thread Tools Display Modes
  #1  
Old March 16th 04, 10:43 AM
DOS program prints & stop in 30 sec.
external usenet poster
 
Posts: n/a
Default Stops in 30 seconds

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 cha
nge the RAW to EMF but still not works.
Ads
  #2  
Old March 16th 04, 09:13 PM
Alan Morris\(MSFT\)
external usenet poster
 
Posts: n/a
Default Stops in 30 seconds

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...b;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...;en-us;Q101850
MS-DOS Application Prints Incomplete Pages

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



--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base he
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." wrote in
message ...
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.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 03:26 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.