Direct printing from DOSEMU
Greetings,
We have an old DOS application that sends PCL4 directly to our LaserJet. Thus we need to print directly, and not go through filters. We're trying to set up DOSEMU so that it will pass the raw PCL4 code directly from the DOS application to the LaserJet attached to our SuSE 9.2 Professional system on LPT1. At the same time, I would like to be able to print directly from DOS (non-PCL4 applications) to the same printer, perhaps on LPT2. This because we need to go through the filters (CUPS?) in order to process the print job directly from non-PCL4 applications in DOS.
I've tried the following approach with no success with the config-files:
I want both LPT1 and LPT2 to point to a printer named ljet4.
However, LPT1 should print with this command: $printer_command = "lpr -l"
and LPT2 should print with this command: $_printer_command = "lp -o raw"
The problem is that it appears to be one place where one can define all the printers, and another place where one specifies the command to do the printing... I'm sure I'm missing something, but the HOWTOs and FAQs don't address this issue in a way that I understand how to solve the problem.
Any input would once again be greatly appreciated!
Thanks in advance,
|