If the remote client is DOS based, local printing can be done by inserting
an escape sequence to the text displayed.(ie) If you need it on the
printer at the client side.
The exact escape sequence depends on the type of 'term' you emulate.
krishna kumar wrote:
We`re running Dosemu 1.0.1-2, and I`m having trouble with printing
with a specific tailor-made application that we have here. I`m
trying to get it so that I can have a remote office connect to the
system and print to their local printer. Printing from that
application doesn`t work unless a printer is directly attached to the
computer. Is there any way around this, or any options or
something that I could use.. I`ve been looking for information, and I
hope that someone can help me here. Thanks, kk.
The dosemu-HOWTO (included in the dosemu package describes) how to do
Instead of redirecting LPT? to a device file like /dev/lp0, you can
redirect LPT? to an external program such as lpr/lp. The unix printing
system can then be setup for remote printing.
First, ensure that you can print to the remote printer using the unix
Once this is done, you need to change the relevent sections of your
dosemu.conf so that it looks something like this -
$_printer = "lp" # list of (/etc/printcap) printer names to appear as
# LPT1, LPT2, LPT3 (not all are needed, empty for
$_printer_timeout = (20)# idle time in seconds before spooling out
$_ports = "" # list of portnumbers such as "0x1ce 0x1cf 0x238"
# or "0x1ce range 0x280,0x29f 310"
# or "range 0x1a0,(0x1a0+15)"
In this example, the printer named "lp" is mapped to LPT1. You can also
assign different printers to the LPT1, LPT2 and LPT3 ports at the same
PS: Please post to this list in plain text (don't use html).
To unsubscribe, email ilugc-request@xxxxxxxxxxxxxxxxxx with
"unsubscribe <password> address"
in the subject or body of the message.