From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grigory Batalov Subject: Re: Printing Problems Date: Wed, 4 Jun 2003 22:11:26 +0400 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <20030604221126.35451b72.grisxa@mail.ru> References: <001301c32aa8$3cdee9e0$c201a8c0@PCADRIAN> <008401c32aaa$11db56a0$9201a8c0@paco> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart_Wed__4_Jun_2003_22:11:26_+0400_0828e4c8" Return-path: In-Reply-To: <008401c32aaa$11db56a0$9201a8c0@paco> List-Id: To: linux-msdos@vger.kernel.org This is a multi-part message in MIME format. --Multipart_Wed__4_Jun_2003_22:11:26_+0400_0828e4c8 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 4 Jun 2003 12:00:38 -0300 "Francisco Gomez" 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 --Multipart_Wed__4_Jun_2003_22:11:26_+0400_0828e4c8 Content-Type: text/plain; name="global.conf.diff" Content-Disposition: attachment; filename="global.conf.diff" Content-Transfer-Encoding: base64 LS0tIGdsb2JhbC5jb25mLm9yaWcJMjAwMy0wMS0xNSAxMjozNzoxNSArMDMwMAorKysgZ2xvYmFs LmNvbmYJMjAwMy0wNi0wNCAyMTo1MTozNiArMDQwMApAQCAtNjEyLDcgKzYxMiw3IEBACiAgICAg dm5ldCAkX3ZuZXQKICAgICBpZiAoc3RybGVuKCRfcHJpbnRlcikpCiAgICAgICBmb3JlYWNoICR4 eHggKCRMSVNUX0RFTElNLCAkX3ByaW50ZXIpCi0gICAgICAgICR4eHggPSAiJy1QIiwgJHh4eCwg IiAlcyciOworICAgICAgICAkeHh4ID0gIictbCAtUCIsICR4eHgsICIgJXMnIjsKICAgICAgICAg cHJpbnRlciB7IG9wdGlvbnMgJCR4eHggIGNvbW1hbmQgImxwciIgIHRpbWVvdXQgJF9wcmludGVy X3RpbWVvdXQgfQogICAgICAgZG9uZQogICAgIGVuZGlmCg== --Multipart_Wed__4_Jun_2003_22:11:26_+0400_0828e4c8--