From owner-freebsd-questions Wed Mar 29 00:32:50 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA11785 for questions-outgoing; Wed, 29 Mar 1995 00:32:50 -0800 Received: from sun2.nsfnet-relay.ac.uk (sun2.nsfnet-relay.ac.uk [128.86.8.45]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id AAA11779 for ; Wed, 29 Mar 1995 00:32:47 -0800 Via: uk.ac.london-guildhall.tower-unix; Wed, 29 Mar 1995 09:32:04 +0100 From: James Vaughton Message-Id: <13944.9503290931@unixa.unixa.clp.ac.uk> Subject: Re: Slooww Printer Port To: hstrong@eng2.uconn.edu (Hugh Strong), freebsd-questions (FreeBSD Questions List) Date: Wed, 29 Mar 95 9:31:45 GMT In-Reply-To: <9503282201.AA06425@lurch>; from "Hugh Strong" at Mar 28, 95 5:01 pm X-Mailer: ELM [version 2.2 PL0] Sender: questions-owner@FreeBSD.org Precedence: bulk |o| |o| |o| I seem to have a badly misbehaved parallel printer configuration. Under |o| MS-DOG, output sent to my Deskjet 540 is printed soon after I copy it to |o| lpt1:. Doing the equivalent |o| |o| cat filename.txt > /dev/lpt0 |o| |o| under FreeBSD results the output finally being printed five to ten |o| minutes later. All the while the printer blinks its "busy/power" status |o| light as if something is being received. Printing a page of Postscript |o| via Ghostscript takes several hours! |o| Boy I know that feeling... Right I posted a similar whinge a while back and thanks to the many replies I recieved I sorted it out. It seems that it is caused by sharing IRQ's. The simple solution is to us lptcontrol (or some similar command) to set the printer device to being a polled one... eg. lptcontrol -p /dev/lpt0 stick it in your rc.local and you should be sorted... The original answer to this was posted by kleymeer@telalink.net (Chris Kleymeer) whose posting follows Hope this helps, Regards, James V. vaughton@unixa.lgu.ac.uk ----- ORIGINAL ANSWER TO PROBLEM ----- >Two quick problems, any suggestions folks ? ... > >1.) Printing from 2.0-RELEASE on a parallel printer on a P90 on device > /dev/lpt0... When printing on this device the printer seems to print > at a rate of somewhere between one and two characters per second. It > should be said that it does print exactly the right thing just very, > VERY, VERY slowly... I ran into this problem which I resolved by using lptcontrol -p to switch the printer to polled mode. I am unclear as to why this worked but my parallel printer behaves as it should and so I'm happy. Hope it works for you as well. Let me know and good luck! chris @8~),