Re-direct print output from LPT1 to LPT2
Posted on 1998-01-22
Does anyone know of a DOS capture utility that can be run in a batch file, that will re-direct print output sent to LPT1 to LPT2?
Or a Windows Utility.
Here's the situation:
I have a customer that uses Win95, and has 2 printers.
The customer is a Tax Accountant, and is using a DOS based program written by the IRS to handle the electronic processing and submission of tax returns.
This software is extremely limited in it's funcitonality.
The customer needs to print to LPT2 for this program ONLY, but the software will not allow you to select the printer port! It will only print to LPT1.
Thus the need for a capture utility, for DOS or Windows 95.
Swapping printers is not an option, nor a switchbox.
1) Customer is on a Win95 Pier-to-Pier network.
2) Both printers are accessed through the network.
3) LPT1 is Captured to a HP IIp attached to another PC.
4) The printer he needs to print to is an HP LaserJet 5.
5) The HP5 is tied into the network using an HP JetDirect EX print server with the latest Firmware Revision, and Latest JetAdmin Drivers on the Workstations.
6) You cannot capture ports to print to an HP JetDirect Server. You must set the JetDirect card up in windows as a port of it's own.
You can install the JetDirect Port on your computer and give the port any name you want. ie. HP_Printer, Fast_Printer, HP5, even LPT2, (so long as there is no physical port installed on your machine using the port name of LPT2), You CANNOT name it LPT1!
I have named the port LPT2. That way all of his other dos applications can print directly to LPT2 without any problems. And he has SEVERAL dos applications!
The IRS software is the only software that will only print to LPT1. He needs it to print to the HP 5 because of the increased print speed.
I have concluded that the only options left available are to either
A. Remove JetDirect server, and attach the HP5 to a nearby workstation so I can use windows to capture LPT1 to the printer. Then I could Capture the IIp to LPT2, OR:
B. Use a dos re-direct utility for the IRS program ONLY.
Option A would require that I go to Each machine on the network, and change the printer configuration.