DOS printing in Win XP ?
DOS printing in Win XP ?
(OP)
My dad is using an older DOS program for acounting.
Until recently it worked fine under Win ME.
On his new PC he is running XP prof. and the software as such works fine.
The problem comes, when he wants to print something. At times it works fine and at other times the Windows spooler crashes, leaving some spool files behind.
The printer used is a Brother HL-5040, but inside the DOS app. it is set up as a HP Laserjet 4.
Under ME it might have worked, because it allows direct hardware access to tle LPT1 port, which XP has sealed off.
But why does it work on and off now?
And how can I make a stable system that works in both accounting and normal Windows?
I have quite some Delphi programming experience so work-arounds like setting the acounting app. to export spool files instead, capturing them in a Delphi app, sending it to the printer, and finally deleting the file, could be a solution.
But are ther better ones?
Until recently it worked fine under Win ME.
On his new PC he is running XP prof. and the software as such works fine.
The problem comes, when he wants to print something. At times it works fine and at other times the Windows spooler crashes, leaving some spool files behind.
The printer used is a Brother HL-5040, but inside the DOS app. it is set up as a HP Laserjet 4.
Under ME it might have worked, because it allows direct hardware access to tle LPT1 port, which XP has sealed off.
But why does it work on and off now?
And how can I make a stable system that works in both accounting and normal Windows?
I have quite some Delphi programming experience so work-arounds like setting the acounting app. to export spool files instead, capturing them in a Delphi app, sending it to the printer, and finally deleting the file, could be a solution.
But are ther better ones?





RE: DOS printing in Win XP ?
http://www.tek-tips.com/threadminder.cfm?pid=779
Keith Cress
Flamin Systems, Inc.- http://www.flaminsystems.com
RE: DOS printing in Win XP ?
I think Win 2000 may have been an all-time low point for pseudo-DOS emulation, but DOS 6.22 certainly works great on a 2.8GHz P4 laptop. A further benefit is that you get to decide, or at least have some influence over, what the O/S is doing which is a pleasant change from later versions of Windows.
----------------------------------
Sometimes I only open my mouth to swap feet...
RE: DOS printing in Win XP ?
2) Will the program output in postscript or PDF or PCL? Those formats are recognized by all versions of windows but printing will still be through an intermediate file.
What DOS does in printing is to set up a TSR (terminate and stay resident) program for printing. You can't do this in XP.
Another thing you could try is to switch on the win9x compatibility flag for the program. It might work properly then.
You could try tek-tips XP Pro forum (as mentioned by itsmoked) or
h
http://
The dos forum is quite active and there are quite a few there who still use DOS6.22 and Windows 3.x.