DOS Based printing through USB001 in a Windows Environment
Posted on 2007-08-02
Here is my problem. I have a customer who runs a business, using Windows XP Home SP2 printing to a new HP Laserjet 1018. Everything here works fine except for one small problem. I can not print from their main DOS BASED application. The DOS based application is basically a bunch of batch files working together under a BASIC menu system. I read some information on this particular laserjet printer and what I found out was it does not support DOS based printing, besides the fact that it is only USB (the printer). Now, my question is this. I have looked through all the batch files I can find yet nowhere do I see a referance to anything dealing with printing. I have two theories on this problem, one is that the DOS based application will only print through LPT, or it's simply that the printer will not accept this DOS based application to print to it for some other reason (I did read where this printer uses the Windows environment only to print, but I assumed that most DOS based applications would use Windows to print through). Now, do DOS applications use the Windows environment to print through? Or, perhaps this application only prints through the LPT port. The printer I removed that was bad was an old Brother laserjet that would only connect through parallel. I know it will be hard to determine if this application only prints through LPT, but I am trying to figure out if this is a standard for DOS based applications because if it is, then I can either try and modify the code to print to USB001, or I can try a cable that goes from 25pin to USB hope that works, but I really don't want to spend time spinning my wheels here.
So, do normal DOS based applications print striclty through LPT or do they use the Windows environment to feed the data to the printer (now remember, this is a very BASIC DOS based app, made with, I believe, QBasic. I don't have an editor for QBasic so I can't browse through that code, but if this is a possibility, then I won't waste time pursuing this line of troubleshooting).
Or, is it possible to get a print server that hooks up to the PC through parallel then allows for a USB hookup?
Any help on this would be greatly appreciated.