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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|