Printing stops after 6 pages
Hello.
Quoted 3 lines · Denny Schierz
we using dosemu 1.3.0 with direct printing. The problem is, if we printing more than six pages, the printer stops. I can't find any solution for that :-/ any hinds?
Try -D9+p log, maybe that will shed some light on a problem. But even at a first glance there seem to be a memory leak in a printer code, which is probably responsible for your problem. Try the attached patch.
base/dev/misc/lpt.c +1 -0
@@ -155,6 +155,7 @@if (pipe ==NULL )error ("system(\"%s\") in lpt.c failed, cannot print!\ Command returned error %s\n" , cmdbuf,strerror (errno)); +free (cmdbuf); bufsize =ftell (lpt[prnum].file); buf =malloc (bufsize);
Scanned by evaluation version of Dr.Web antivirus Daemon
http://drweb.ru/unix/