From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pawel Dlugosz Subject: Dosemu and printing. Date: Wed, 14 Apr 2004 11:41:39 +0200 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <407D0753.5030906@apollo.com.pl> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org 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."