On Wed, 4 Jun 2003 12:00:38 -0300
"Francisco Gomez" <[EMAIL PROTECTED]> wrote:

> I have a problem when I try to print in a matrix dot printer.
> I am working with Mandrake 9.0 and a MS Cobol application running on the
> dosemu.
> If I send to print letters o numbers I have no problem, but if I send
> special simbols, like control characters (End of Page, bold font) the
> printer doesn't work.
> Could you help me with this? Is it possible to send anything I want directly
> to the LPT1 port without pass through the linux, like a dir > lpt1 in DOS?

  Hi!
  It seems that print filter corrupts your output.
  Try attached patch for global.conf (it adds '-l' option
  to print command) and run dosemu like this:
  dosemu -F global.conf
--- global.conf.orig    2003-01-15 12:37:15 +0300
+++ global.conf 2003-06-04 21:51:36 +0400
@@ -612,7 +612,7 @@
     vnet $_vnet
     if (strlen($_printer))
       foreach $xxx ($LIST_DELIM, $_printer)
-        $xxx = "'-P", $xxx, " %s'";
+        $xxx = "'-l -P", $xxx, " %s'";
         printer { options $$xxx  command "lpr"  timeout $_printer_timeout }
       done
     endif

Reply via email to