From owner-freebsd-stable Sun Aug 12 13:22:58 2001 Delivered-To: freebsd-stable@freebsd.org Received: from yoda.bmi.net (yoda.bmi.net [204.57.191.163]) by hub.freebsd.org (Postfix) with ESMTP id 8777D37B40C for ; Sun, 12 Aug 2001 13:22:53 -0700 (PDT) (envelope-from jmcoopr@webmail.bmi.net) Received: from johncoop.MSHOME (drumheller-router.bmi.net [206.63.201.3] (may be forged)) by yoda.bmi.net (Pro-8.9.3/Pro-8.9.3) with ESMTP id NAA18466; Sun, 12 Aug 2001 13:49:40 -0700 Received: from johncoop.MSHOME (localhost [127.0.0.1]) by johncoop.MSHOME (8.11.5/8.11.5) with ESMTP id f7CKMvG86948; Sun, 12 Aug 2001 13:22:58 -0700 (PDT) (envelope-from jmcoopr@webmail.bmi.net) Date: Sun, 12 Aug 2001 13:22:55 -0700 From: John Merryweather Cooper To: Mike Porter Cc: freebsd-stable@freebsd.org Subject: Re: What is the magical incantation necessary to print to /dev/ulpt0 Message-ID: <20010812132255.A59678@johncoop> References: <017a01c1235e$09b77300$0300a8c0@laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: <017a01c1235e$09b77300$0300a8c0@laptop>; from mike.porter@xrxgsn.com on Sun, Aug 12, 2001 at 11:38:51 -0700 X-Mailer: Balsa 1.1.7 Lines: 74 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2001.08.12 11:38 Mike Porter wrote: > > -----Original Message----- > From: John Merryweather Cooper > To: Mike Meyer > Cc: questions@freebsd.org > Date: Sunday, August 12, 2001 10:58 AM > Subject: Re: What is the magical incantation necessary to print to > /dev/ulpt0 > > > >On 2001.08.12 06:26 Mike Meyer wrote: > >> John Merryweather Cooper types: > >> > I have a DFI AK74-EC motherboard (VIA 686 chipset) and a Lexmark Z51 > >> > printer. I would like to be able to print to the Z51 using > /dev/ulpt0. > >> > >> > When connected, my dmesg output indicates that the Z51 is detected > and > >> > connected to /dev/ulpt0. However, attempts to print to this port > >> (using > >> > apsfilter, cp some_text_file /dev/ulpt0, etc.) have resulted in no > >> activity > >> > and no apparent transfer of data to the printer. > >> > > >> > So the question comes, what must I say over my computer to make > things > >> > print? :) > >> > >> LexMark tends to make cheap winprinters. That lexmark claims the z51 > >> works on "DOS through Windows" instead of "DOS" makes me think you > >> have one. If so, the only hope for making it work is to find a > >> ghostscript driver for your printer. > >> > >> >> -- > >> Mike Meyer http://www.mired.org/home/mwm/ > >> Independent WWW/Perforce/FreeBSD/Unix consultant, email for more > >> information. > >> > > > >No, I can confirm that the Z51 is not a "WinPrinter"--this same printer > >works great hooked up through USB to an OS/2 machine. I'm almost > positive > >that no data is reaching the printer. > > > Except that Lexmark DOES advertise an OS/2 driver for this printer. I > don't > know why I bothered to do your research for you, but according to > http://www.lexmark.com/US/Services/SelfService/FAQs/display/0,1197,MzgyXklua > 2pldCtUZWNobm9sb2d5Xlo1MStDb2xvcitKZXRwcmludGVyXkRPUys0JTJFeCtvcitsb3dlcg==, > 00.html > you can run the z51 from a "true" DOS mode using PCL3 emulation, such as > an > HP500C. If you can find a ghostscript driver for the HP500C, that > *might* > work. Otherwise, get Lexmark to start writing freeBSD drivers for their > products. Or better yet, get a hardware printer. > > mike > For the last time, it's NOT a "WinPrinter." Pure FUD. If it were, the OS/2 driver would have to interpose physical drivers on the OS--it doesn't--I use it under OS/2. Under OS/2, I can even send an ordinary text stream--completely bypassing the driver--and it will print TTY-like on the printer. And the HP500C Ghostscript driver works fine through the parallel port--except I only have one of these (and disconnecting the printer on that port is not what I had in mind). There's clearly a bug in FreeBSD USB support. I'll file a PR. jmc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message