public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: Grigory Batalov <grisxa@mail.ru>
To: linux-msdos@vger.kernel.org
Subject: Re: Printing Problems
Date: Wed, 4 Jun 2003 22:11:26 +0400	[thread overview]
Message-ID: <20030604221126.35451b72.grisxa@mail.ru> (raw)
In-Reply-To: <008401c32aaa$11db56a0$9201a8c0@paco>

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]

On Wed, 4 Jun 2003 12:00:38 -0300
"Francisco Gomez" <fgomez@cqr.com.ar> 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

[-- Attachment #2: global.conf.diff --]
[-- Type: text/plain, Size: 376 bytes --]

--- 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	other threads:[~2003-06-04 18:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <001301c32aa8$3cdee9e0$c201a8c0@PCADRIAN>
2003-06-04 15:00 ` Printing Problems Francisco Gomez
2003-06-04 18:11   ` Grigory Batalov [this message]
2003-06-06 19:16 Printing problems Samuele Catusian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030604221126.35451b72.grisxa@mail.ru \
    --to=grisxa@mail.ru \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox