From owner-freebsd-questions Sun Aug 12 10: 4:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-141-144.mmcable.com [24.27.141.144]) by hub.freebsd.org (Postfix) with SMTP id C5E6837B40B for ; Sun, 12 Aug 2001 10:04:29 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 70574 invoked by uid 100); 12 Aug 2001 17:04:29 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15222.46877.167367.359239@guru.mired.org> Date: Sun, 12 Aug 2001 12:04:29 -0500 To: John Merryweather Cooper Cc: questions@freebsd.org Subject: Re: What is the magical incantation necessary to print to /dev/ulpt0 In-Reply-To: <20010812095648.Q477@johncoop> References: <55215299@toto.iv> <15222.33820.72582.176034@guru.mired.org> <20010812095648.Q477@johncoop> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG John Merryweather Cooper types: > 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? :) > > 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. I'm not familiar with OS/2, but compatability with Windows was one of it's selling points. Are you sure you're not running a rendering engine on the OS/2 box? If dmesg shows the that printer being connected to ulpt0 and copying data to /dev/ulpt0 doesn't result in data showing up at the printer, then the problem is probably hardware. It may be that lexmark and the ulpt implementor disagree about some part of the standard, which is a hardware bug if lexmark is wrong, or a software bug if ulpt is wrong. In the latter case, you'll need to debug the driver. Oh yeah - the one time I had a problem like this, it turned out that the USB controller was trying to share an IRQ with something that didn't play nicely. Tweaking the IRQ configuration fixed the problem. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message