From owner-freebsd-questions Sun Mar 29 19:37:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA06129 for freebsd-questions-outgoing; Sun, 29 Mar 1998 19:37:17 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from itchy.serv.net (itchy.serv.net [205.153.153.233]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA05781 for ; Sun, 29 Mar 1998 19:36:01 -0800 (PST) (envelope-from utz@itchy.serv.net) Received: from localhost (utz@localhost) by itchy.serv.net (8.8.5/8.8.5) with SMTP id TAA09190; Sun, 29 Mar 1998 19:18:26 -0800 (PST) Date: Sun, 29 Mar 1998 19:18:25 -0800 (PST) From: John Utz Reply-To: John Utz To: Greg Lehey cc: questions@FreeBSD.ORG Subject: lptcontrol -p is good!Re: why is ghostscript so slow now? did i miss a setting? In-Reply-To: <19980329163759.20841@freebie.lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG greg; lptcontrol -p did the trick. i am putting it into my rc.local. tnx mucho! (note the subject line: this will get this searchable in the archive) On Sun, 29 Mar 1998, Greg Lehey wrote: > On Sat, 28 March 1998 at 23:01:39 -0800, John Utz wrote: > >> On Sat, 28 March 1998 at 13:13:37 -0800, John Utz wrote: > >>> hi; > >>> > >>> vital stats: > >>> > >>> 2.2.6-980323-BETA > >>> > >>> fake pentium amd p5 kr-100 32 meg o ram > >>> > >>> canon bj200ex printer > >>> > >>> gs 2.6.2 or gs 5.1.0 > >>> > >>> this setup was perfectly tolerable with ghostscript and apsfilter in 2.2.5 > >>> > >>> now it takes an hour to print two pages! > >>> > >>> it seems like gs has become de-niced down to turtle speed, or something > >>> > >>> > >>> the print speed is normal if i dont use ghostscript or apsfilter. and if i > >>> do all the apsfilter stuff by hand it is still insanely slow, so the > >>> problem appears to be a gs/lpd hose up? > >> > >> What are you printing? I don't know the bj200ex (bubble jet?), but if > >> you're printing complicated pictures, it could be that the printer is > >> taking that long to accept all the data you're sending it. That's > >> particularly true for LaserJet 1 emulation. > >> > >> A couple of things to try: > >> > >> 1. Convert to memory (i.e. just make an image for the printer) and > >> see how long that takes. > > > > > > yah, i forgot to mention that in my first mail....i had actually > > converted the file 'by hand' via invoking ghostscript to just convert the > > file. that happens lickety split. actually getting the file printed is > > what takes so long. > > OK. Printing the file has nothing to do with ghostscript. I think > this has just shown that ghostscript is not the culprit. > > >> 2. Convert a simple printed text. > > > > oh, epic bummer. :-( this *is* a text file. a 3 line .rhosts file. > > On two pages? > > > and it takes an hour to print. lpd sends the head across once every 8 > > minutes or so on a single pass. this is pretty time consuming. > > > > this hardware setup has run with gs for a couple years now, this is sort > > of surprising. > > That's a good piece of information. I suspect you might be running > into problems with interrupts. If the line printer driver doesn't get > any interrupts, it transfers about one character per second. That > sounds like what's happening to you. > > Before you go chasing the wrong problem, try this: > > # lptcontrol -p > > If you're not using /dev/lpt0, use the -u option to describe which > unit *number* (1 or 2) you are using. See the man page for further > details. > > This will turn the printer port on in polled mode. The result should > be much faster if the interrupts are the problem. > > Greg > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message