From owner-freebsd-questions Wed Feb 17 7:51:17 1999 Delivered-To: freebsd-questions@freebsd.org Received: from fastlane.net (fastlane.net [209.197.224.10]) by hub.freebsd.org (Postfix) with ESMTP id 1D38C110CB for ; Wed, 17 Feb 1999 07:51:12 -0800 (PST) (envelope-from lacoursj@jeff.net) Received: from dudemon.fastlane.net (dudemon.fastlane.net [209.197.192.66]) by fastlane.net (8.9.1a/8.9.1) with SMTP id JAA11727 for ; Wed, 17 Feb 1999 09:51:13 -0600 (CST) Date: Wed, 17 Feb 1999 09:53:09 -0600 (CST) From: "Jeffrey D. LaCoursiere" X-Sender: lacoursj@dudemon.fastlane.net To: questions@freebsd.org Subject: printcap 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 I have an HP Officejet that I have been using with FreeBSD for some time. It has the annoying property of only being to print 60 lines per page. I am using the following printcap entry: squirt|lp|Hp OfficeJet:\ :lp=/dev/null:pl#60:sf:sd=/var/spool/output/squirt:lf=/var/log/lpd-errs:sh:\ :if=/usr/local/bin/textfilter: I should explain that it is actually directly connected to a windows 98 box on my network at home, and /usr/local/bin/textfilter uses samba to actually send the print job through (IP address X'ed out to protect the innocent): dudemon% cat /usr/local/bin/textfilter #!/bin/sh PATH=/bin:/usr/bin:/usr/local/bin:/usr/local/samba/bin echo " " >> /tmp/print.$$ smbclient '\\LINDA\HPOJ' -P -N -I XX.XX.XX.XX << EOF > /dev/null 2>&1 print /tmp/print.$$ exit EOF /bin/rm -f /tmp/print.$$ ----- Unfortunately it ends up printing 60 lines on the first page, 4 lines on the second page, a form feed, and it continues on the third page. Every other page of course only has four lines on it. I attempted using pl#60 and sf above, with no effect at all. Am I missing something here? Thanks, Jeff LaCoursiere jeff@jeff.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message