public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: Pawel Dlugosz <pawel.dlugosz@apollo.com.pl>
To: linux-msdos@vger.kernel.org
Subject: Dosemu and printing.
Date: Wed, 14 Apr 2004 11:41:39 +0200	[thread overview]
Message-ID: <407D0753.5030906@apollo.com.pl> (raw)

Hi,

I'm sure there is a simple explanation
of my problem, however, so far, I'm
failing to find the answer.

There is a small clipper-like app
which I use under dosemu and what I
want is to be able to print from
it directly to lp0.
And this of course works fine,
but apart from normal characters
which are printed out there are
special codes visible also like:
^[&18C
^[(s9H

I presume I have to modify
input filter in my /etc/printcap
but I don't know how.

I'm using latest apsfilter and LPRng.

dosemu is 1.2.1

/etc/printcap:

lp|ijs/DESKJET_640;r=300x300;q=medium;c=full;p=a4;m=auto:\
     :lp=/dev/null:\
     :if=/etc/apsfilter/basedir/bin/apsfilter:\
     :sd=/var/spool/lpd/lp:\
     :lf=/var/spool/lpd/lp/log:\
     :af=/var/spool/lpd/lp/acct:\
     :mx#0:\
     :sh:

-- 
Pozdrawiam -
Pawel Dlugosz

"Keep Your sources wide open."

             reply	other threads:[~2004-04-14  9:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-14  9:41 Pawel Dlugosz [this message]
2004-04-18  9:45 ` Dosemu and printing Clarence Dang
2004-04-19  8:09   ` Pawel Dlugosz

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=407D0753.5030906@apollo.com.pl \
    --to=pawel.dlugosz@apollo.com.pl \
    --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