Printing to LPT4-LPT9 from legacy DOS application

A

Alexander Krohn

We have an old DOS application written in FoxPro 2.6. It prints
correctly from Win98 to printers located from LPT2 TO LPT9.
But when running in W2K/XP, we have to do the following extra steps:
-Define in the registry
(HKLM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Ports) ports from
LPT4 TO LPT9
-Define a generic/text printer for each port (LPT2-LPT9)

In the past, in each Win98 we defined in system.ini (MS document
140036)so it starts to print faster:

[Network]
PrintBufTime=3
[IFSMGR]
PrintBufTime=3

But in XP, it doesn`t work. After a long time or when exiting the
application, it starts to print, and sometimes, we receive an error
about Access Denied while printing.
How can the DOS application print like Win98 in XP? Thanks!
 

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