All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Knecht <mknecht@controlnet.com>
To: linux-msdos@vger.kernel.org
Subject: Re: Printing from dosemu
Date: Wed, 25 Aug 2004 13:20:02 -0700	[thread overview]
Message-ID: <412CF472.4050009@controlnet.com> (raw)
In-Reply-To: <412605C0.70404@nf.sympatico.ca>

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

  parent reply	other threads:[~2004-08-25 20:20 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 [this message]
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=412CF472.4050009@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.