From owner-freebsd-questions Fri Nov 1 20:23:27 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA19791 for questions-outgoing; Fri, 1 Nov 1996 20:23:27 -0800 (PST) Received: from tau-ceti.isc-br.com (root@tau-ceti.isc-br.com [129.189.2.133]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id UAA19783 for ; Fri, 1 Nov 1996 20:23:22 -0800 (PST) Received: by tau-ceti.isc-br.com (Smail3.1.28.1 #13) id m0vJXSy-0002LeC; Fri, 1 Nov 96 20:13 PST Received: from phobos.walker.org (localhost.walker.org [127.0.0.1]) by phobos.walker.org (8.7.5/8.7.3) with ESMTP id TAA09997; Fri, 1 Nov 1996 19:42:09 -0800 (PST) Message-Id: <199611020342.TAA09997@phobos.walker.org> X-Mailer: exmh version 1.6.7 5/3/96 To: Don Dugger Cc: questions@freebsd.org Subject: Re: Printing with a Deskjet In-reply-to: Your message of "Fri, 01 Nov 1996 15:11:18 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 01 Nov 1996 19:42:08 -0800 From: Keith Walker Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I've got a Deskjet 680 that I'm using with my FreeBSD 2.1R system. I've > got the ps stuff piped though gs. Work great, expect one small problem, > when I try to print man pages the last line is missing. Has anyone seen > this before or have an idea what's wroug. I also have a Deskjet Plue (old) > and it has the same problem. I know you can specify lines on the page that > the printer won't print. Is there a way to tell gs that the page is > smaller or is there config stuff somewhere that controls this. > > Thx in advance... > > Don :) > > The problem you're having is because the formatting routines that come with unix assume that you have 8.5x11 paper. In your Deskjet, you have an effective 8.5x10.5" size of paper since the DJ can't print on the last little bit of the sheet. The fix? Pretty simple really, but you'd never figure it by reading man pages or FAQ's. As root, edit the file /usr/share/tmac/troffrc, and somewhere near the top of that file put the command ".pl 10.5i" (I usually go a little smaller) that tells troff (and its friends) that a page is *not* 11 inches long, but only 10.5" instead. This ought to fix things up for you. -- keith.