From: Mark Knecht <mknecht@controlnet.com>
To: linux-msdos@vger.kernel.org
Subject: Printing from dosemu
Date: Thu, 19 Aug 2004 14:49:06 -0700 [thread overview]
Message-ID: <41252052.5080700@controlnet.com> (raw)
Hi,
I hope I'm in the right place to try a few questions. I'm running a
Gentoo box with dosemu installed. dosemu itself seems fine for running
the old text-based program I need to run, but I'm perplexed at how to
get dosemu to print to my Linux printer.
1) In /etc/dosemu.conf I've enabled the line:
$_printer_command = "lpr"
2) From Linux I can print (through CUPS) to the network printer:
Gentoo2 root # lpr /etc/dosemu.conf
Gentoo2 root # lpq
HP is ready and printing
Rank Owner Job File(s) Total Size
active root 221 dosemu.conf 16384 bytes
Gentoo2 root # lpq
HP is ready
no entries
Gentoo2 root #
3) From within dosemu I cannot seem to find the right command to get to lpr:
C:\>copy autoexec.bat prn:
autoexec.bat => prn
C:\>lpr: unable to print file: client-error-not-found
C:\>copy autoexec.bat lpr:
Invalid parameter. - 'lpr:'
I've seen others that had this error on the web but I cannot find an
answer to any of their queries. Hopefully I will do better here.
thanks in advance,
Mark
next reply other threads:[~2004-08-19 21:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-19 21:49 Mark Knecht [this message]
[not found] ` <412605C0.70404@nf.sympatico.ca>
2004-08-25 20:20 ` Printing from dosemu Mark Knecht
2004-08-26 12:28 ` Anderson Pereira Ataides
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=41252052.5080700@controlnet.com \
--to=mknecht@controlnet.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.