From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Willem Stumpel Subject: Re: cups printing Date: Wed, 06 Jul 2005 19:27:39 +0200 Message-ID: <42CC148B.7080500@my.home> References: <42CBE801.3040908@ntbd.uklinux.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: In-reply-to: <42CBE801.3040908@ntbd.uklinux.net> Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org 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