From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ivan Baldo Subject: Re: printing Date: Mon, 22 Nov 2010 21:32:11 -0200 Message-ID: <4CEAFD7B.1090606@adinet.com.uy> References: <4CE5BC20.6070606@adinet.com.uy> <4CE5C16B.1070402@adinet.com.uy> <4CE7C3CC.6000601@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="gb2312"; format="flowed" To: Vedran Vucic , linux-msdos Hello. That file that you attached seems unrelated to the problem. If the "cat" commands don't work then we can exclude CUPS from the= =20 problem, the way that the program prints seems to not be compatible wit= h=20 DOSEmu. From my part, I don't know what else to suggest :-(. Do you have the source code of the program? Can you see exactly ho= w=20 it prints? Good luck!!! P.s.: maybe you can try to use QEmu-KVM or Virtual Box or VMWare or=20 another virtualization technology to run DOS and the program. El 20/11/10 18:49, Vedran Vucic escribi=C3=B3: > Hello, > > When I tried to print I checked .var/spool/cups and I attached file > which may be helpful. > As far asI see dosemu gives it to cups but cups does not print it. > INdeed, I print normally from other applications and dosemu itself. > Maybe it requires some change of format in order to get it printed ou= t? > > Thanks, > > Vedran > > > > On Sat, Nov 20, 2010 at 1:49 PM, Ivan Baldo wr= ote: > =20 >> Hello. >> Strange then... it seems everything is configured right but your= 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 /t= mp to see >> what they contain. >> >> Hope this helps! >> Bye. >> >> >> >> El 19/11/10 03:46, Vedran Vucic escribi=C3=B3: >> =20 >>> 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 = wrote: >>> >>> =20 >>>> Hello. >>>> Your boot.log looks right! >>>> The DOS application prints to LPT1 or PRN? Maybe it prints to = LPT2 or >>>> LPT3 in which case you can configure them in dosemu.conf to be the= same >>>> printer. >>>> If you execute under DOS the command "dir>PRN" does it print a= nything? >>>> 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. >> Freelance programmer and GNU/Linux system administrator, hire me! >> Alternatives: ibaldo@codigolibre.net - http://go.to/ibaldo >> >> >> =20 --=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