From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Miguel A. Rasero" Subject: RE: RV: Serial printer problem Date: Mon, 14 Jul 2003 02:12:32 +0200 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <000101c3499c$9ff427d0$0500a8c0@skuda> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: List-Id: Content-Type: text/plain; charset="iso-8859-1" To: linux-msdos@vger.kernel.org De: linux-msdos-owner@vger.kernel.org [mailto:linux-msdos-owner@vger.kernel.org] En nombre de Ryan Underwood Enviado el: lunes, 14 de julio de 2003 1:21 Para: linux-msdos@vger.kernel.org Asunto: Re: RV: Serial printer problem Hi Miguel, On Sun, Jul 13, 2003 at 10:13:29PM +0200, Miguel A. Rasero wrote: > I have tested this: >=20 > stty -F /dev/ttyS0 crtscts > =09 > setserial /dev/ttyS0 uart 16450 >=20 > And in ms-dos: mode com1:96,n,8,1,p >=20 > But i have the same problem yet, all works fine if the report it?s short > but when it has more lines (>25) it stops the printing, i have tested > from the linux directly with cat /etc/hosts > /dev/ttyS0 in a large > hosts file but it works good, anyone can help me please? > *snip* > > Hi, i have installed dosemu dosemu-1.0.2.1 and=20 > configure dosemu.conf to get direct access to=20 > /dev/ttyS0, then i configure in dosemu the com1 port=20 > with the "mode com1:9600,n,8,1,p" when i print it=20 > works fine but when i print anything large, i am using=20 > a pos printer, when i print a simple ticket works fine=20 > and cut the paper too, but when i print the whole day=20 > sales resume, the printer begins to print the lines=20 > upon others and doesn?t cut the paper, do you know what=20 > can be the problem? the printer and the program that i=20 > am using for pos has been tested in a normal ms-dos=20 > Computer. When you say the printer "stops printer" do you mean it stops printing altogether, or that it stops feeding the paper and keeps printing over and over the same line? > I have other problem, i can?t use the (Ntilde) (=D1) from=20 > dosemu, do you know any way to do this? Perhaps you need to change the character set options in dosemu.conf? There are term_char_set for 1.0.2, and for the development versions internal_char_set and external_char_set. --=20 Ryan Underwood, , icq=3D10317253 - To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Hi ryan I have saw the charset options in the new technical readme in the development versions but i have not tested yet because i am having very trouble with the printer that it=B4s more important to me, well i take = to 5 hours proving options with setserial and stty, i realized wich when i tried a "cat largefile > /dev/ttyS0" in linux i had the same result, an= d the end of the printed page character disorder and not the whole file printed, i had tested the closing_wait "infinite" like i saw in the printing howto but it didn=B4t worked, i found in a old newsgroup a message that recommends this. stty -F /dev/ttyS0 opost onlcr tab3 crtscts setserial /dev/ttyS0 uart 16450 Later than this i can print large files with cat so i was very happy an= d i went to probe in dosemu trusted but in dosemu the printer do the same thing!!!, and it=B4s exactly the same that linux "cat largefile > /dev/ttyS0" did before i applied the commands showed above. Do you know any way to resolve that o how i can give a direct access to dos, i saw in doc but i don=B4t understand very well, i need that the dos knows wh= ich is com1, it doesn=B4t works if i add to the ports list 0x3f8 without sa= y it that it=B4s com1. - To unsubscribe from this list: send the line "unsubscribe linux-msdos" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html