From: Anderson Pereira Ataides <anderson.pa@persogo.com.br>
To: linux-msdos@vger.kernel.org
Subject: Re: Printing from dosemu
Date: Thu, 26 Aug 2004 09:28:59 -0300 [thread overview]
Message-ID: <200408260928.59722.anderson.pa@persogo.com.br> (raw)
In-Reply-To: <412CF472.4050009@controlnet.com>
Mark,
The message you are receiving (lpr: unable to print file:
client-error-not-found) is a cups message, not dosemu.
Probably it is not a dosemu problem, but cups, configuration. Look the
configuration files: /etc/cups/mime.types and uncomment following line:
application/octet-stream
Also in /etc/cups/mime.convs, uncomment the line
application/octet-stream application/vnd.cups-raw 0
I had a similar problem here and uncommenting these lines worked fine for me.
I did not have to change the $_printer_command option.
Hope this can help you.
[]s
Anderson Pereira Ataides
Em Qua 25 Ago 2004 17:20, você escreveu:
> Kevin Noseworthy - Specialty Software wrote:
> > In dosemu.conf set
> > $_printer = "lp1 lp2 ..."
> > where lp1, etc. are the names of your Linux printers
> > $_printer _command = "lpr" As per the notes with CUPS you
> > may have to use "lpr -l"
> > you may also wish to adjust the $_printer_timeout = (5)
> >
> > From within DOS the first printer port is either prn: or lpt1:, the
> > second and third are lpt2: and lpt3:
> > Issuing a dir>lpt2: should produce a print job on the Linux printer lp2.>
>
> > Hope this solves your problem!
>
> Kevin and Claudia,
>
> Thanks for your responses.
>
> I've tried setting things up as suggested above, but it's not
> working for me yet.
>
> 1) Contents of my modified /etc/dosemu.conf
>
> $_printer = "lp1"
>
> (also tried lpt1)
>
> $_printer_command = "lpr -l"
>
> (also tried lpr and just lp)
>
> $_printer_timeout = (5)
>
> 2) From within Linux (as root) I can print as such:
>
> Gentoo2 etc # lp dosemu.conf
> request id is HP-224 (1 file(s))
>
> Gentoo2 etc # lpr dosemu.conf
>
> Both methods produce identical GOOD output.
>
> Gentoo2 etc # lpr -l dosemu.conf
>
> produces BAD output.
>
> 3) Most attempts in dosemu however produce no response and no printed
> file, or the following error message:
>
> C:\>dir>lpt1:
>
> C:\>lpr: unable to print file: client-error-not-found
>
> I've tried a bunch of modifications to the suggested 3 lines in
> /etc/dosemu.conf but so far no lock. Can you see what I'm doing wrong?
>
> thanks,
> Mark
> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2004-08-26 12:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-19 21:49 Printing from dosemu Mark Knecht
[not found] ` <412605C0.70404@nf.sympatico.ca>
2004-08-25 20:20 ` Mark Knecht
2004-08-26 12:28 ` Anderson Pereira Ataides [this message]
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=200408260928.59722.anderson.pa@persogo.com.br \
--to=anderson.pa@persogo.com.br \
--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