From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike McCarty Subject: Re: printing Date: Mon, 22 Nov 2010 17:54:59 -0600 Message-ID: <4CEB02D3.3000305@sbcglobal.net> References: <4CE5BC20.6070606@adinet.com.uy> <4CE5C16B.1070402@adinet.com.uy> <4CE7C3CC.6000601@adinet.com.uy> <4CEAFD7B.1090606@adinet.com.uy> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1290470106; bh=XeLrFSkeVA8zHD/s5Pj5VYPW3NVRcXC/t1Mb+EfWFmQ=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=4w6XlESL/bbPrttIOn5lJAl+nsJwNfoym3/CO55LiKt+SOxsMRBWQGAmTWSgD9H/FcqcXazihPArRQcDAf1G1EjPr0DL9ZunuABhvehGUIYcSIGuNFLBZnhZ2HCIxHvt3yRZNRmOIsTzA6ux1jJtMSbgKs9OKw7D+8WPyv7AdCc= In-Reply-To: <4CEAFD7B.1090606@adinet.com.uy> Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="gb2312"; format="flowed" To: FreeDOS Ivan Baldo wrote: Please excuse me replying "through" you, but I didn't get the other message. > 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. Have you checked the status of the queue? The printer may be ok, but the queue may be blocked. Queues may be started and stopped independently of whether the printer is stopped. >> INdeed, I print normally from other applications and dosemu itself. >> Maybe it requires some change of format in order to get it printed o= ut? >> >> Thanks, >> >> Vedran >> >> >> >> On Sat, Nov 20, 2010 at 1:49 PM, Ivan Baldo w= rote: >> =20 >>> Hello. >>> Strange then... it seems everything is configured right but you= r=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=20 >>> /tmp 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 = =20 >>>> wrote: >>>> >>>> =20 >>>>> Hello. >>>>> Your boot.log looks right! >>>>> The DOS application prints to LPT1 or PRN? Maybe it prints to= =20 >>>>> LPT2 or >>>>> LPT3 in which case you can configure them in dosemu.conf to be th= e=20 >>>>> same >>>>> printer. >>>>> If you execute under DOS the command "dir>PRN" does it print=20 >>>>> anything? >>>>> 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.lo= g). >>>>>>> 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= =20 >>>>>>>> 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 >>> --=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 --=20 p=3D"p=3D%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I speak only for myself, and I am unanimous in that! -- 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