I have this third party DOS app that I needed to update.
With no source code, I used PowerBasic to write a TSR that
pops-up as needed and adds functions.
Now I need to add one more function. I need to STOP the DOS app
from Printing and at the same time, let it print.
That is, I need a way that my TSR (PBDOS app) can grab the main DOS
app from printing. IF the main DOS app senses that there is no
printer, it will send an error.
A good solution would be to let the main DOS app print to a file.
That function in not in the main DOS app.
Is there a way to use PBDos to redirect DOS printing from LPT1 to a file.
Any other solutions I would love to hear about.
Again the main DOS app need to THINK that it is printing to LPT1 or
MODE can be used if the printer is set to COMx, so I think that the DOS app
uses DOS services where a MODE command can redirect the printer.
That is, the main DOS app does NOT check to see if a real printer is there.
------------------
Thanks for reading my jabbering.
Miss Roma Vik
With no source code, I used PowerBasic to write a TSR that
pops-up as needed and adds functions.
Now I need to add one more function. I need to STOP the DOS app
from Printing and at the same time, let it print.
That is, I need a way that my TSR (PBDOS app) can grab the main DOS
app from printing. IF the main DOS app senses that there is no
printer, it will send an error.
A good solution would be to let the main DOS app print to a file.
That function in not in the main DOS app.
Is there a way to use PBDos to redirect DOS printing from LPT1 to a file.
Any other solutions I would love to hear about.
Again the main DOS app need to THINK that it is printing to LPT1 or
MODE can be used if the printer is set to COMx, so I think that the DOS app
uses DOS services where a MODE command can redirect the printer.
That is, the main DOS app does NOT check to see if a real printer is there.
------------------
Thanks for reading my jabbering.
Miss Roma Vik
Comment