*BSD News Article 40890


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!agate!howland.reston.ans.net!news.sprintlink.net!news.infi.net!usenet
From: "Frank DeBolt, Jr." <frank@ipctech.com>
Newsgroups: comp.os.386bsd.questions
Subject: FreeBSD2.0: Slow Parallel Printer?
Date: 15 Jan 1995 20:10:26 GMT
Organization: InfiNet
Lines: 37
Message-ID: <3fbvfi$pij@lucy.infi.net>
NNTP-Posting-Host: h-ecru.richmond.infi.net

My HP Deskjet 520 has decided to start printing slow.  It takes 1.5
minutes to print a ten line file!  It used to work O.K, and still does
in dos.
My printcap:

#       @(#)printcap    5.3 (Berkeley) 6/30/90

lp|local line printer:\
        :lp=/dev/lpt0:sd=/var/spool/lpd:lf=/var/log/lpd-errs:\
        :of=/usr/local/lib/hplaserjet:sh:


The hplaserjet filter:

#!/bin/csh -f
#
#
#
# This is the output filter form use with HP laserjets I and II.
# It is called via the of entry in the generic_hp printcap entry
# All it does is send the escape sequence to the printer, so that:
#       CR is mapped to CR
#       LF is mapped to CR LF
#       FF is mapped to CR FF
echo -n '&k2G'
/bin/cat
if ($status == 0) then
        exit 0
else
        exit 1
endif



Any help would be greatly appreciated!