I am using dosemu on SuSE Linux Enterprise Desktop 11 SP1. We are working on printing redirection configurations.
I have the following scenario: more than one printer installed on the Linux box. I want to use them on dosemu.
Everything is working as designed, I configured the following paramenters on dosemu.conf file:
$_lpt1 = "lpr -l -P printer1"
$_lpt2 = "lpr -l -P printer2"
where printer1 and printer2 are the my printers queue names, and I can print in each printer using LPT1 and LPT2 ports in dosemu.
But my problem is: I would like to change the printer associated with LPT1 without close the dosemu window.
So I guess I have to enter a command on the running dosemu window. I've already tried the following, in dosemu:
system dosemu -I '$_lpt1 = "lpr -l -P printer2"
to execute this command on the host machine, but it did not work.
Any suggestion would be appreciated.
Thanks in advance,
John.
I think dosemu is not very good at changing the
configuration run-time.
How about instead to re-associate the queue
"printer1" to another printer while dosemu is running?
Doesn't look like the task for dosemu.