Printing from DOS program

A

Alan Morris\(MSFT\)

You need to change the LPT timeout value in the Virtual DOS 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.


--
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.
 
D

Davide Guolo

You need to change the LPT timeout value in the Virtual DOS layer.

Or you can fix your DOS app., which should close the printer port at the end
of the print job.
If you are the original programmer, feel free to write to my private e-mail
address telling me which language is your app. written. Maybe I can give you
some hints.

Kind regards,
Davide Guolo
--------------------------------------------------------------
Printfil - Windows Printing System for Applications
http://www.guolo.com/printfil
Odbc4All - Connection to ODBC Data Sources for any Application
http://www.guolo.com/odbc4all
--------------------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top