From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ivan Baldo Subject: Re: printing Date: Sat, 20 Nov 2010 10:49:16 -0200 Message-ID: <4CE7C3CC.6000601@adinet.com.uy> References: <4CE5BC20.6070606@adinet.com.uy> <4CE5C16B.1070402@adinet.com.uy> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="utf-8"; format="flowed" To: Vedran Vucic , linux-msdos Hello. Strange then... it seems everything is configured right but your=20 specific application doesn't work. Have you waited more than 20 seconds? Also, you may try putting this in dosemu.conf: $_lpt1 =3D "lpr -P Laserprinter" $_lpt2 =3D "lpr -P Laserprinter" $_lpt3 =3D "lpr -P Laserprinter" This is just in case that it uses another port. Another thing you can try: $_lpt1 =3D "cat >>/tmp/dosemu.lpt1" $_lpt2 =3D "cat >>/tmp/dosemu.lpt2" $_lpt3 =3D "cat >>/tmp/dosemu.lpt3" Then try printing from the program and look at those files in /tmp= =20 to see what they contain. Hope this helps! Bye. El 19/11/10 03:46, Vedran Vucic escribi=C3=B3: > Hello, > > When I do command: dir>PRN it prints a list of subfolders. > > My DOS application prints to PRN. Any advise? > > Best wishes, > > Veki > > On Fri, Nov 19, 2010 at 1:14 AM, Ivan Baldo wr= ote: > =20 >> Hello. >> Your boot.log looks right! >> The DOS application prints to LPT1 or PRN? Maybe it prints to LP= T2 or >> LPT3 in which case you can configure them in dosemu.conf to be the s= ame >> printer. >> If you execute under DOS the command "dir>PRN" does it print any= thing? >> HTH. >> Bye. >> >> >> >> El 18/11/10 22:02, Vedran Vucic escribi=C3=B3: >> =20 >>> Hello, >>> >>> Please check this: >>> http://pastebin.ca/1995937 >>> >>> Thanks, >>> >>> Veki >>> >>> On Fri, Nov 19, 2010 at 12:52 AM, Ivan Baldo = wrote: >>> >>> =20 >>>> Hello. >>>> The config file seems correct. >>>> But maybe DOSEmu isn't reading that file but another. >>>> Please post the file boot.log (usually in ~/.dosemu/boot.log). >>>> Thanks!!! >>>> >>>> >>>> El 18/11/10 21:18, Vedran Vucic escribi=C3=B3: >>>> >>>> =20 >>>>> Hello, >>>>> >>>>> When I want to print from my DOS application I cannot print on my= USB >>>>> HP LP1020 printer. My printer is named Laserprinter in my cups >>>>> configuration. When I print from terminal using command >>>>> lpr -P Laserprinter nameoffile >>>>> it works well. >>>>> You can find my dosemu.conf on this link: >>>>> http://pastebin.ca/1995898 >>>>> >>>>> Please advise. >>>>> >>>>> Thanks, >>>>> >>>>> Veki --=20 Ivan Baldo - ibaldo@adinet.com.uy - http://ibaldo.codigolibre.net/ From Montevideo, Uruguay, at the south of South America. =46reelance programmer and GNU/Linux system administrator, hire me! Alternatives: ibaldo@codigolibre.net - http://go.to/ibaldo -- 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