Edward,
> Any ideas on what could be changed to make it work
> correctly under XP?
This is a solution I found on the net.
Please note I HAVEN'T TESTED IT.
In particular way, take care using RegEdit: it could be rather dangerous.
1) in REGEDIT ( START->RUN-> REGEDIT )
click : Hkey_local_machine
then click : System
then click : CurrentControlSet
then click : Control
somewhere at the bottom of the control list Click: WOW
in LPT_timeout property change it to 3
2) Go to SYSTEM.INI file
in [386enh] section search [Network] if it does not exist enter the
following :
[Network]
PrintBufTime=10
[IFSMGR]
PrintBufTime=10
This should set the timeout to 10 seconds. Do not set too low the value or
the printer could start printing before the end of the DOS print job.
Anyway, if your DOS app. can print to a file, I suggest you use Printfil to
send it to the Windows printer. (Even if it cannot, you could capture the
LPT output)
Regards,
Davide
---------------------------------------------------
Printfil - Windows Printing System for Applications
http://www.guolo.com/printfil
---------------------------------------------------