From owner-freebsd-questions Fri Aug 30 01:20:30 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA21176 for questions-outgoing; Fri, 30 Aug 1996 01:20:30 -0700 (PDT) Received: from tick.cslab.tuwien.ac.at (root@tick.cslab.tuwien.ac.at [193.170.72.34]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id BAA21166 for ; Fri, 30 Aug 1996 01:20:25 -0700 (PDT) Received: from trick.cslab.tuwien.ac.at (kaplan@trick.cslab.tuwien.ac.at [193.170.72.35]) by tick.cslab.tuwien.ac.at (8.6.11/8.6.11) with ESMTP id KAA24065 for ; Fri, 30 Aug 1996 10:20:11 +0200 From: Leon Kaplan Received: (kaplan@localhost) by trick.cslab.tuwien.ac.at (8.6.11/8.6.11) id KAA13342 for questions@freebsd.org; Fri, 30 Aug 1996 10:20:10 +0200 Message-Id: <199608300820.KAA13342@trick.cslab.tuwien.ac.at> Subject: HP Laserjet 5L To: questions@freebsd.org Date: Fri, 30 Aug 1996 10:20:09 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi! I followed the steps in the handbook but I just can't seem to get this working: My HP 5L is on /dev/lpt0. When I try to "cat /etc/printcap > /dev/lpt0" then (appart from the missing LF -> CR+LF translation) everything gets printed _very_ slowly (1/2 page per minute). If I use a simple filter script as the one below then I have the same problem. Could this be because of interrupt driven mode? Should I switch to polling? Any experiences? #!/bin/sh # # initialize the printer and cat everything else thru. Finally # send a formfeed character \f printf "\033k2G" && \ echo && \ --- end script ---- I usually call it from within lpr (via printcap, if=...) or directly as "cat myfile | filter > dev/lpt0" Thx, Leon Aaron Kaplan.