CouponPages
Programmer
I still have a handful of clients who 2.6 Dos applications, so I decided to test them under Vista in order to be prepared for compatibility questions.
What I found was that in my particular setup, which is a USB printer redirected to LPT1 via a NET USE does not work. I get a printer not ready error whenever I print.
I even tried sending text files to the port using "COPY FILE MYFILE.TXT to LPT1", which gives me a "Write fault error writing device LPT1". Even trying to pass a file back to the operating system with commands like "run copy (filename) prn" generates errors, which means the system blocks the devices. This happens even if I run my command prompt as Administrator.
The main reason some of my clients still use the DOS version is that they print multi-part forms on dot-matrix printers and the DOS version cranks them out at blazing speeds.
FoxPro 2.6 for Windows does not have this problem. I can print directly, and I can use COPY FILE MYFILE.TXT to LPT1 without errors. For what it's worth, simply having them run the legacy code in the Windows version is a decent workaround, but I was wondering if this could be the final nail in the DOS coffin.
Has anyone else tried printing in the DOS version?
What I found was that in my particular setup, which is a USB printer redirected to LPT1 via a NET USE does not work. I get a printer not ready error whenever I print.
I even tried sending text files to the port using "COPY FILE MYFILE.TXT to LPT1", which gives me a "Write fault error writing device LPT1". Even trying to pass a file back to the operating system with commands like "run copy (filename) prn" generates errors, which means the system blocks the devices. This happens even if I run my command prompt as Administrator.
The main reason some of my clients still use the DOS version is that they print multi-part forms on dot-matrix printers and the DOS version cranks them out at blazing speeds.
FoxPro 2.6 for Windows does not have this problem. I can print directly, and I can use COPY FILE MYFILE.TXT to LPT1 without errors. For what it's worth, simply having them run the legacy code in the Windows version is a decent workaround, but I was wondering if this could be the final nail in the DOS coffin.
Has anyone else tried printing in the DOS version?