From: Garth Kay-Hards <garth@axxess.co.za>
To: linux-msdos@vger.kernel.org
Subject: DOSEMU not printing to USB printer
Date: Sat, 17 Nov 2007 19:54:06 +0200 [thread overview]
Message-ID: <1195322046.9238.5.camel@garthlinux.NCFPMB> (raw)
I have loaded DOSEMU 1.4.0 and am trying to get a old DBL program
running which does Accounting. My Linux system is Open SUSE 10.2.
The DBL package is running nicely but I am unable to print from the
program or from the DOS prompt (eg COPY NAME.BAT LPT1: )
As I understand from the notes I've found that dosemu spools the print
to the default Linux printer, which in my case is a USB printer. I can
find no discussions on using a USB printer but I assume as it's the
Linux default it will just work. A standard "lpr filename" from the
Linux command prompt works fine.
I have tried altering the dosemu.conf file to enable LPT1 as follows:
## Printer and parallel port settings
# Print commands to use for LPT1, LPT2 and LPT3.
# Default: "lpr -l", "lpr -l -P lpt2", and "" (disabled)
# Which means: use the default print queue for LPT1, "lpt2" queue for
LPT2.
# "-l" means raw printing mode (no preprocessing).
$_lpt1 = "lpr -l"
# $_lpt2 = "lpr -l -P lpt2"
# $_lpt3 = ""
# idle time in seconds before spooling out. Default: (20)
$_printer_timeout = (20)
This dosemu.conf installed automatically into /etc/dosemu
I have tried the configuration in the /etc directory but I still can't
print.
Any help would be greatly appreciated.
Garth
next reply other threads:[~2007-11-17 17:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-17 17:54 Garth Kay-Hards [this message]
2007-11-17 18:06 ` DOSEMU not printing to USB printer Frank Cox
2007-11-18 18:23 ` Jan Kandziora
2007-11-19 18:05 ` Jan Willem Stumpel
-- strict thread matches above, loose matches on Subject: below --
2007-11-18 12:08 Garth Kay-Hards
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1195322046.9238.5.camel@garthlinux.NCFPMB \
--to=garth@axxess.co.za \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox