From owner-freebsd-questions Mon Nov 15 6:27: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns2.cinar.com (mailhost.cinar.com [207.107.104.130]) by hub.freebsd.org (Postfix) with ESMTP id 618D914C83 for ; Mon, 15 Nov 1999 06:26:54 -0800 (PST) (envelope-from mgignac@cinar.com) Received: from mailhost.cinar.com ([205.205.166.2]) by ns2.cinar.com (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with ESMTP id com for ; Mon, 15 Nov 1999 09:29:38 -0500 Received: from CINAR/SpoolDir by mailhost.cinar.com (Mercury 1.43); 15 Nov 99 09:26:58 -0400 (EDT) Received: from SpoolDir by CINAR (Mercury 1.43); 15 Nov 99 09:26:48 -0400 (EDT) Received: from greenwich (205.205.166.11) by mailhost.cinar.com (Mercury 1.43); 15 Nov 99 09:26:38 -0400 (EDT) Message-ID: <000b01bf2f75$01e61c00$0ba6cdcd@cinar.com> From: "Martin Gignac" To: Subject: Extra blank page when using lpr... Date: Mon, 15 Nov 1999 09:23:37 -0500 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 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Note: I've posted this message once, but doesn't seem to have appeared on the mailing list, so here it is again... Hi, I recently plugged an HP LaserJet 4000TN printer to my FreeBSD box (running 3.3-stable) and tried printing Greg Lehey's "The Complete FreeBSD" errata in it's Postsript form using the command: cat errata.ps > /dev/lpt0 Everything went fine. But when I turned on the lpd daemon and issued the command: lpr errata.ps it still printed fine, but the printer spit out an extra blank page at the end of the print job. I tried printing other Postscript- and PCL6-format files, and I always get an extra blank page if using lpr. I used the default /etc/printcap file. After doing a search in the mailing list archives, I found a reference to an ':ff=\004:\' command I could insert in the printcap section for my printer. It fixed the problem. My question is this: why does lpr seem to print an extra blank page by default compared to just using 'cat errata.ps > /dev/lpt0'? And what exatcly does 'ff=\004' mean? Is it some kind of escape code? Does it have to be 'activated' for all printers using lpr, or just some? Thanks for any reply, and I hope I haven't asked a question that's already been asked too many times... -Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message