From owner-freebsd-questions Mon Sep 15 23:04:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA08487 for questions-outgoing; Mon, 15 Sep 1997 23:04:35 -0700 (PDT) Received: from gdi.uoregon.edu (cisco-ts9-line16.uoregon.edu [128.223.150.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA08445 for ; Mon, 15 Sep 1997 23:04:26 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.8.5) with SMTP id XAA03330; Mon, 15 Sep 1997 23:04:17 -0700 (PDT) Date: Mon, 15 Sep 1997 23:04:16 -0700 (PDT) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: Font cc: questions@FreeBSD.ORG Subject: Re: Printing pauses, why? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 14 Sep 1997, Font wrote: > I've started to set up printing on a FreeBSD 2.2-9706xx-RELENG box and the > instructions from the Handbook seem to be pretty thorough. In fact, > printing seems to work from the box to the Panasonic KX-P4400 printer I > have hooked up. However, when I spool something (with "lptest 80 50 | > lpr"), the printer receives part of the output right away, then it WAITS > FOR ABOUT FIVE MINUTES, then seems to get the rest of the output and > prints it. The filter I'm using does emit a form feed at the end. > > Does anyone have any idea why printing pauses for so long? I haven't > changed much from the GENERIC kernel except to add tun0. Could this pause > be coming from whether the printer is configured for polling or > interrupts? Perhaps. Some printers do wait for the queue to clear and require a manual form feed to clear, although putting out a formfeed character will do the same thing, usually. Are you sure that ff is getting out? We had trouble at one point with something eating it. Also check your printer's manual, it may have a special procedure for emptying the queue. The older Panasonic manuals are mini-programming manuals, IIRC. You might try polled mode printing too; irq 7 is the junk IRQ and something may be making it stick up. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major Spam routed to /dev/null by Procmail | Death to Cyberpromo