From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anderson Pereira Ataides Subject: Re: Printing from dosemu Date: Thu, 26 Aug 2004 09:28:59 -0300 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <200408260928.59722.anderson.pa@persogo.com.br> References: <41252052.5080700@controlnet.com> <412605C0.70404@nf.sympatico.ca> <412CF472.4050009@controlnet.com> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <412CF472.4050009@controlnet.com> Content-Disposition: inline List-Id: Content-Type: text/plain; charset="iso-8859-1" To: linux-msdos@vger.kernel.org Mark, The message you are receiving (lpr: unable to print file:=20 client-error-not-found) is a cups message, not dosemu. Probably it is not a dosemu problem, but cups, configuration. Look the=20 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 f= or me.=20 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=EA escreveu: > Kevin Noseworthy - Specialty Software wrote: > > In dosemu.conf set > > $_printer =3D "lp1 lp2 ..." > > where lp1, etc. are the names of your Linux printers > > $_printer _command =3D "lpr" As per the notes with C= UPS you > > may have to use "lpr -l" > > you may also wish to adjust the $_printer_timeout =3D (5) > > > > From within DOS the first printer port is either prn: or lpt1:, th= e > > second and third are lpt2: and lpt3: > > Issuing a dir>lpt2: should produce a print job on the Linux printer= lp2.>=20 > > > 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 =3D "lp1" > > (also tried lpt1) > > $_printer_command =3D "lpr -l" > > (also tried lpr and just lp) > > $_printer_timeout =3D (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