From: =?utf-8?q?Rafa=C5=82_Cygnarowski?= Subject: Re: LPT1 - Local Printing Date: Sat, 30 Dec 2006 15:42:22 +0100 Message-ID: <200612301542.23032.zswi@pers.pl> References: <45945173.90608@amti.com.br> <1167444448.9046.4.camel@ps01.intern.ramayana.co.id> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1167444448.9046.4.camel@ps01.intern.ramayana.co.id> Content-Disposition: inline Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="utf-8" To: kemas henry Cc: =?utf-8?q?St=C3=A9fano_Schotten?= , linux-msdos@vger.kernel.org Dnia sobota, 30 grudnia 2006 03:07, kemas henry napisa=C5=82: > Hi, > > I also use ltsp 4.2 with dosemu and running DOS-16 application, > but I can print to lpt1. > > All that I have to do is change > $_printer =3D lx300_ws001 (entry in /etc/printcap) > $_printer_command =3D lpr -l > then try to print to lpt1, hopefully it will work for you He said he has no printacp entry... If he use /dev/lp0 directly and it'= s ok=20 for him than easiest way to achieve this is=20 $_printer_command =3D "cat - > /dev/lp0" Of course multiply user printing on this printer will fail becouse of l= ack of=20 queue (but who said that queue is always what we need?). What can I say for addition is how to create simple printcap entry... I= use=20 following printcap file for my OKI needle printer: -- /etc/printacap -- oki|needle:lf=3D/var/log/printer:lp=3D/dev/usb/lp0:sd=3D/var/spool/lpr/= oki:sh:sf: -- end of file --- Notice that my printer use /dev/usb/lp0 and /var/sppol/lpr/oki director= y MUST=20 exists. I use lpr from lpr.sf.net for queueing. --=20 Rafa=C5=82 Cygnarowski rafi@pers.pl - 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