DOSemu experts,
Sorry to disturb you with a potentially silly question. I hope that you can
help me out. I'm getting a bit desperate here because I can't complete my
parents' new PC installation. Being a Linux fanatic, I'd hate to give them a
Windows machine of course and this is the last problem I'm facing.
In short, they're using a Fortran 77 program (don't ask!) that opens PRN and
writes text to it.
I'm running DOSemu 1.0.2.1 and FreeDOS 1.1.28 on Red Hat 7.3 and am unable
to access /dev/lp0 directly. I checked various internet sites, submitted this
question to SourceForge.net and tried the suggestions in the Howto, but no
luck. My dosemu.conf says:
#$_printer = "lexmark" # list of (/etc/printcap) printer names to appear as
# LPT1, LPT2, LPT3 (not all are needed, empty for none)
#$_printer_timeout = (20)# idle time in seconds before spooling out
#$_ports = ""
$_ports = " device /dev/lp0 fast range 0x378 0x37a "
The hex values are derived from /proc/ioports, but I get no response at all
from the printer. When I uncomment the $_printer* and use just $_ports = "", a
command like "type autoexec.bat > prn" works. But the Fortran program still
does not work. Then the line below from the HOWTO:
$_ports { device /dev/lp1 fast range 0x378 0x37f }
actually hangs DOSemu!
Any ideas greatly appreciated, thanx!
Michel.
--
M.J.L. van der Kleij
Senior Unix/Linux Consultant
Tukcedo Services
http://www.tukcedo.nl
[EMAIL PROTECTED]
Linux kernel 2.4.18-3 - Red Hat 7.3
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html