Hello, I printed from Dosemu before in earlier versions. Thus, I do not think that there is compatibility issue. When I want my DOS application to print on screen it creates .prn file. Indeed, I would be happy if I could print that .prn file to my printer :) I do notr have so7uce of that application. Otherwise, I would publish it. Best wishes, Vedran On Tue, Nov 23, 2010 at 12:32 AM, Ivan Baldo <ibaldo@xxxxxxxxxxxxx> wrote: > Â Â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 > problem, the way that the program prints seems to not be compatible with > 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 how it > prints? > Â ÂGood luck!!! > P.s.: maybe you can try to use QEmu-KVM or Virtual Box or VMWare or another > virtualization technology to run DOS and the program. > > > > El 20/11/10 18:49, Vedran Vucic escribiÃ: >> >> 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 out? >> >> Thanks, >> >> Vedran >> >> >> >> On Sat, Nov 20, 2010 at 1:49 PM, Ivan Baldo<ibaldo@xxxxxxxxxxxxx> Âwrote: >> >>> >>> Â Â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 = "lpr -P Laserprinter" >>> $_lpt2 = "lpr -P Laserprinter" >>> $_lpt3 = "lpr -P Laserprinter" >>> Â ÂThis is just in case that it uses another port. >>> >>> Â ÂAnother thing you can try: >>> $_lpt1 = "cat>>/tmp/dosemu.lpt1" >>> $_lpt2 = "cat>>/tmp/dosemu.lpt2" >>> $_lpt3 = "cat>>/tmp/dosemu.lpt3" >>> Â ÂThen try printing from the program and look at those files in /tmp to >>> see >>> what they contain. >>> >>> Â ÂHope this helps! >>> Â ÂBye. >>> >>> >>> >>> El 19/11/10 03:46, Vedran Vucic escribiÃ: >>> >>>> >>>> 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<ibaldo@xxxxxxxxxxxxx> >>>> wrote: >>>> >>>> >>>>> >>>>> Â Â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 >>>>> anything? >>>>> Â ÂHTH. >>>>> Â ÂBye. >>>>> >>>>> >>>>> >>>>> El 18/11/10 22:02, Vedran Vucic escribiÃ: >>>>> >>>>> >>>>>> >>>>>> Hello, >>>>>> >>>>>> Please check this: >>>>>> http://pastebin.ca/1995937 >>>>>> >>>>>> Thanks, >>>>>> >>>>>> Veki >>>>>> >>>>>> On Fri, Nov 19, 2010 at 12:52 AM, Ivan Baldo<ibaldo@xxxxxxxxxxxxx> >>>>>> wrote: >>>>>> >>>>>> >>>>>> >>>>>>> >>>>>>> Â Â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Ã: >>>>>>> >>>>>>> >>>>>>> >>>>>>>> >>>>>>>> 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 >>>>>>>> >>> >>> -- >>> Ivan Baldo - ibaldo@xxxxxxxxxxxxx - http://ibaldo.codigolibre.net/ >>> ÂFrom Montevideo, Uruguay, at the south of South America. >>> Freelance programmer and GNU/Linux system administrator, hire me! >>> Alternatives: ibaldo@xxxxxxxxxxxxxxx - http://go.to/ibaldo >>> >>> >>> > > -- > Ivan Baldo - ibaldo@xxxxxxxxxxxxx - http://ibaldo.codigolibre.net/ > From Montevideo, Uruguay, at the south of South America. > Freelance programmer and GNU/Linux system administrator, hire me! > Alternatives: ibaldo@xxxxxxxxxxxxxxx - http://go.to/ibaldo > > -- To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html