From owner-freebsd-questions Sun Sep 27 13:13:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA07794 for freebsd-questions-outgoing; Sun, 27 Sep 1998 13:13:33 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.rdc1.bc.wave.home.com (ha1.rdc1.bc.wave.home.com [24.2.10.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA07728 for ; Sun, 27 Sep 1998 13:13:14 -0700 (PDT) (envelope-from ezduzit@home.com) Received: from CR830434-A ([24.113.33.47]) by mail.rdc1.bc.wave.home.com (InterMail v4.0 201-221) with SMTP id <19980927201304.WGYS6300.mail.rdc1.bc.wave.home.com@CR830434-A> for ; Sun, 27 Sep 1998 13:13:04 -0700 Message-ID: <000101bdea54$2b4fbb80$2f217118@CR830434-A.mplrdg1.bc.wave.home.com> From: "Gary Godfrey" To: "freebsd questions" Subject: HP deskjet 690C setup Problems Date: Sun, 27 Sep 1998 13:19:44 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Following the directions in the handbook pages 65 -91 on printer setup I have now exhausted all my options and have to post this message. ;-) 1. before i changed or added anything i checked /dev for lpt0 it was there. 2. lptest > /dev/lpt0 produced 1st page with one line of text 3 form fed pages of nothing. 3. edited /etc/printcap as follows: prn | lp | hp |HP | Hewlett Packard 690C:\ # spaces between pipes are for clarity :sh:\ :lp=/dev/lpt0:\ :sd=/var/spool/hp:\ # :lf=/var/log/lpd-errs:\ :if=/usr/local/libexec/hpif:\ :lf=/var/log/hp-log: 4. created directory /var/spool/hp 5. chown daemon.daemon /var/spool/hp 6. chmod 770 /var/spool/hp 7. ls -l produced the following /var/spool/hp drwxrwx-- /var/spool drwxr-xr-x /var drwxr-xr-x 8. lptest 20 5 | lpr -P hp <=== produced lpr: connect: no such file or directory jobs queued, but cannot start daemon 9. no log file generated 10. lpq -P hp <=== produced Warning: no daemon present # also all my jobs were there 10 of them ;-) 11. Text Filter follows: #!/bin/sh # # hpif - Simple text input filter for lpd for HP-PCL based printers # Installed in /usr/local/libexec/hpif # # Simply copies stdin to stdout. Ignores all filter arguments. # Tells printer to treat LF ad CR+LF. Writes a form feed character # after printing job # printf "\033&k2G" && cat && printf "\f" && exit 0 exit 2 12. chmod 555 /usr/local/libexec/hpif # make it executable 13. prior to this filter I also used the standard "if-simple" filter to no avail. 14. lptest 20 5 | lpr -P hp <===produces 15. after all the changes 4 pages of nothing just 4 form feeds. Thanks for the help Gary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message