public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: Jan Willem Stumpel <jstumpel@planet.nl>
To: linux-msdos@vger.kernel.org
Subject: Re: cups printing
Date: Wed, 06 Jul 2005 19:27:39 +0200	[thread overview]
Message-ID: <42CC148B.7080500@my.home> (raw)
In-Reply-To: <42CBE801.3040908@ntbd.uklinux.net>

Nic Deane wrote:

> I downloaded dosemu to run an old DOS PIM called Portex which I
> love and have lots of Filofax papers set up on. I really am
> trying to move completely over to Linux! In Windows I have to
> set my default printer as HP LJ 2-6 LPI and this prints through
> my HP LJ 4 Plus. In dosemu I can load the document I want but
> when I set it to print it comes up with the error message lpr:
> error - unable to print file: client-error-not-found
> 
> I tried gedit on /etc/dosemu/dosemu.conf and took out the # at
> the beginning of the lines and saved
> 
> $_printer = "lp" $_printer_command = "lpr -l"

It seems that CUPS does not always provide a default printer
called 'lp', as expected by dosemu. The solution seems to be to
use the lpstat -a command to find out the names of the printers
(a.k.a. print queues) that you do have. E.g., if the lpstat
command says your printer is called (say) HP_LJ4, you enter in
/etc/dosemu/dosemu.conf (or even better, in ~/.dosemurc):

   $_printer = "HP_LJ4"

Then also, you may try to get rid of CUPS altogether. A Laserjet 4
Plus is well supported on Linux by lprng + magicfilter, without CUPS.

Regards, Jan




      reply	other threads:[~2005-07-06 17:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-06 14:17 cups printing Nic Deane
2005-07-06 17:27 ` Jan Willem Stumpel [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=42CC148B.7080500@my.home \
    --to=jstumpel@planet.nl \
    --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