Re: [Freedos-user] Printing problem with FreeDOS and dosemu
On Thursday 13 January 2011 19:50:41 Lisandro Damián Nicanor Pérez Meyer wrote: [snip] $_printer_timeout = (20) # idle time in seconds before spooling out Might also be interesting. Note that DOSEMU probably assumes that you print plain text without any graphics or printer control codes. The layout is then done by some default text handler of CUPS, e.g. a2ps with 2-up layout. If you want to print with graphics, try to tell your DOS apps that you have a laser printer. CUPS will then, hopefully, automatically recognize that you sent postscript to it. Well, I am printing plain text :-) But I will certainly play with it. Just for the sake of completeness: I tried with both options (changing the timeout of the spooler and changing the printer), but it keeps failing :-( Regards, Lisandro. -- Hiroshima '45, Chernobyl '86, Windows '95. Grafitti en Niceto Vega 5940, Buenos Aires. De una foto de Mario Gallo. Lisandro Damián Nicanor Pérez Meyer http://perezmeyer.com.ar/ http://perezmeyer.blogspot.com/ -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
[Freedos-user] Printing problem with FreeDOS and dosemu
Hi! I am using FreeDOS + dosemu in Linux to make some old but very valuable apps work. Please, let me warn you that this may be a dosemu problem/bug, but I find the project quite quiet, so I am taking the odds to ask here :-) So far, the apps are doing *splendid* except in printing. Somehow, every time I close dosemu, garbage is sent to the printer, but only if one of this apps were ran. I have been searching the web to no avail. The only change I did to the standard dosemu + freedos Debian packages is increasing the number of files and buffers in config.sys. I actually added a 0 to the end of the default values, wich may be too much, perhaps. As extra data, my printer is an Epson LX-810 working trough CUPS. The same behaviour can be obtained either redirecting dosemu's printer output to a file. So, if you have any idea that I could try to fix this, I will really be happy to test them. Kinds regards, Lisandro. -- Lisandro Damián Nicanor Pérez Meyer http://perezmeyer.com.ar/ http://perezmeyer.blogspot.com/ -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Printing problem with FreeDOS and dosemu
Hi, On 1/13/11, Lisandro Damián Nicanor Pérez Meyer perezme...@gmail.com wrote: Hi! I am using FreeDOS + dosemu in Linux to make some old but very valuable apps work. Okay, good. every time I close dosemu, garbage is sent to the printer, but only if one of this apps were ran. That's kinda weird. :-/ The only change I did to the standard dosemu + freedos Debian packages is increasing the number of files and buffers in config.sys. I actually added a 0 to the end of the default values, wich may be too much, perhaps. This PC of mine has Lucid Puppy, and a while back I installed the binary from dosemu.org, so its CONFIG.SYS may differ from yours (sysctl needed, still beeps but at least runs, uHexen2 ftw!). But it uses FILES=40 as default, so 400 would *definitely* be too much. (255 is max, I think.) BUFFERS=10 is default also (but I doubt =100 would break anything and don't know of any obvious limits there.) As extra data, my printer is an Epson LX-810 working trough CUPS. The same behaviour can be obtained either redirecting dosemu's printer output to a file. Try redirecting to NUL. ;-) -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Printing problem with FreeDOS and dosemu
Hi Lisandro, Hi! I am using FreeDOS + dosemu in Linux to make some old but very valuable apps work. Please, let me warn you that this may be a dosemu problem/bug, but I find the project quite quiet, so I am taking the odds to ask here :-) So far, the apps are doing *splendid* except in printing. Somehow, every time I close dosemu, garbage is sent to the printer, but only if one of this apps were ran. I have been searching the web to no avail. The only change I did to the standard dosemu + freedos Debian packages is increasing the number of files and buffers in config.sys. I actually added a 0 to the end of the default values, wich may be too much, perhaps. As extra data, my printer is an Epson LX-810 working trough CUPS. The same behaviour can be obtained either redirecting dosemu's printer output to a file. So, if you have any idea that I could try to fix this, I will really be happy to test them. You could probably just switch off printing in dosemu if you dont need to print anything? Just print into a file and then print that later, manually then. My configuration (.dosemurc / dosemu.conf) now says: $_printer = file file Which means LPT1 and LPT2 print to file defined in /etc/printcap. Hmm. Now that I look at it, my printcap no longer has file :-p Which proves that I hardly ever print in DOSEMU... Before, I had: $_printer = deskjetbw Which is the cups name of printing to my Deskjet in greyscales. The default is $_printer = lp as far as I remember... $_printer_timeout = (20) # idle time in seconds before spooling out Might also be interesting. Note that DOSEMU probably assumes that you print plain text without any graphics or printer control codes. The layout is then done by some default text handler of CUPS, e.g. a2ps with 2-up layout. If you want to print with graphics, try to tell your DOS apps that you have a laser printer. CUPS will then, hopefully, automatically recognize that you sent postscript to it. Once when I was working on GRAPHICS (GRAPH-PS, GRAPHPIN, GRAPH-HP) I think I had hand-edited the /etc/printcap or similar so the raw data ended up in a file which I then harvested to have a look at the raw contents to check the escape sequences etc. From that time I also have a simplistic parser for ESC/P2 graphics data to convert that data into a PCX picture or similar. You can also use PPM tools or other general purpose image converters to digest printer data. Eric -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Printing problem with FreeDOS and dosemu
On Jue 13 Ene 2011 19:12:06 Eric Auer escribió: [snip] You could probably just switch off printing in dosemu if you dont need to print anything? Just print into a file and then print that later, manually then. My configuration (.dosemurc / dosemu.conf) now says: $_printer = file file Tried with that, but the file gets the garbage non the less :-/ [snip] $_printer_timeout = (20) # idle time in seconds before spooling out Might also be interesting. Note that DOSEMU probably assumes that you print plain text without any graphics or printer control codes. The layout is then done by some default text handler of CUPS, e.g. a2ps with 2-up layout. If you want to print with graphics, try to tell your DOS apps that you have a laser printer. CUPS will then, hopefully, automatically recognize that you sent postscript to it. Well, I am printing plain text :-) But I will certainly play with it. Thanks :-) Regards, Lisandro. -- Lo que me sorprende de las mujeres es que se arrancan los pelos desde la raíz con cera caliente y aún así le temen a las arañas. Jerry Seinfeld lis: comentario sobre tu frase yo soy mujer, yo me arranco los pelos y VOS le tenes miedo a las arañas María Luján Pérez Meyer (mi hermana) Lisandro Damián Nicanor Pérez Meyer http://perezmeyer.com.ar/ http://perezmeyer.blogspot.com/ signature.asc Description: This is a digitally signed message part. -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Printing problem with FreeDOS and dosemu
On Jue 13 Ene 2011 16:58:41 Rugxulo escribió: Hi, [snip] But it uses FILES=40 as default, so 400 would *definitely* be too much. (255 is max, I think.) BUFFERS=10 is default also (but I doubt =100 would break anything and don't know of any obvious limits there.) Good point, will fix that :-) Regards, Lisandro. -- The POP3 server service depends on the SMTP server service, which failed to start because of the following error: The operation completed successfully. -- Windows NT Server v3.51 Lisandro Damián Nicanor Pérez Meyer http://perezmeyer.com.ar/ http://perezmeyer.blogspot.com/ signature.asc Description: This is a digitally signed message part. -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user