Re: lag while printing and serial redirect
13.12.2016 16:26, Jakub Klawiter пишет: Hello! i've got dosemu installed on ubuntu box. I've OKI dot matrix printer connected to it via USB2parallel interface. Now if i'll try e.g. $ echo test | lpr -l the printer starts to print immediately. But from dosemu if i'll try: C:>echo test > lpt1: it's working but there is 3-4 seconds lag before it starts to print. Where can i look to fix it? my dosemu.conf part: $_lpt1 = "lpr -l" $_printer_timeout = (10) So why dont you reduce the timeout then? The second thing: i like to have COM1 (serial) port transmission redirected to reglar file. I tried something like: $_com1 = "/tmp/com1.txt" but it's not working. Is it possible to catch serial transmission to a file? Yes, but not as simple. You need to establish the pty link with 'socat' program. But this feature is quite simple to add. -- To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: lag while printing and serial redirect
On Tue, 13 Dec 2016 14:26:34 +0100 Jakub Klawiter wrote: > $ echo test | lpr -l > the printer starts to print immediately. > > But from dosemu if i'll try: > > C:>echo test > lpt1: > > it's working but there is 3-4 seconds lag before it starts to print. > Where can i look to fix it? That's the way that lpr works under dosemu. It's my understanding that the objective is to print a whole page at a time because that's how modern printers work. Since most dos programs don't send a page end/page break, dosemu just waits for a few seconds to see if anything more is coming; if not the page is assumed complete and send it to the printer. -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com -- To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
lag while printing and serial redirect
Hello! i've got dosemu installed on ubuntu box. I've OKI dot matrix printer connected to it via USB2parallel interface. Now if i'll try e.g. $ echo test | lpr -l the printer starts to print immediately. But from dosemu if i'll try: C:>echo test > lpt1: it's working but there is 3-4 seconds lag before it starts to print. Where can i look to fix it? my dosemu.conf part: $_lpt1 = "lpr -l" $_printer_timeout = (10) The second thing: i like to have COM1 (serial) port transmission redirected to reglar file. I tried something like: $_com1 = "/tmp/com1.txt" but it's not working. Is it possible to catch serial transmission to a file? -- Pozdrawiam, Jakub. Milion osób dziennie pobiera Firefoksa... pobierz i Ty! firefox.pl -- To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html