From owner-freebsd-questions Thu Feb 1 22:13:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [206.29.169.15]) by hub.freebsd.org (Postfix) with ESMTP id 9986737B4EC for ; Thu, 1 Feb 2001 22:13:28 -0800 (PST) Received: from tedm.placo.com (nat-rtr.freebsd-corp-net-guide.com [206.29.168.154]) by mail.freebsd-corp-net-guide.com (8.11.1/8.11.1) with SMTP id f126CuF63060; Fri, 2 Feb 2001 06:12:56 GMT (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Roelof Osinga" , Subject: RE: troff to postscript at A4? Date: Thu, 1 Feb 2001 22:13:23 -0800 Message-ID: <002a01c08cdf$3f937d40$1401a8c0@tedm.placo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <3A7A09CF.A4BC165A@nisser.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The -t option passes it through groff which uses the postscript device as the default device. Postscript defaults are set in /usr/share/groff_font/devps/DESC your going to have to do your mucking about in there. The /etc/printcap options are meaningless. Ted Mittelstaedt tedm@toybox.placo.com Author of: The FreeBSD Corporate Networker's Guide Book website: http://www.freebsd-corp-net-guide.com > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Roelof Osinga > Sent: Thursday, February 01, 2001 5:14 PM > To: freebsd-questions@FreeBSD.ORG > Subject: troff to postscript at A4? > > > Been awhile since I had to print from within UNIX and some soul and > websearching did not bring it all back to me. > > Hence I thought it a good idea to ask this relatively simple > question on this list. > > How can I make it so that 'man -t id | mail -s man roelof@eboa.com' > will result in a mailed postscript file which, when printed on an > A4 printer, will lead to a nicely formatted and fully used A4 print > out. > > The actual printing will be done from a NT2K station to a HP 4050TN > hooked by Centronics interface to a Novell 3.11 server ;). > > So the box has no printers and uses the default printcap. Since the > 4050 is a 1200 dpi (max) printer and an A4 page is circa 8.3 x 11.7" > making 9960 x 14040 pel I injected those into the lp printcap > entry as ':px=9960:py=1404:'. When printed same result as before. > > Which trick am I missing? > > Roelof > > PS checked the man pages, the manual, freebsddiary, searched > the lists, searched the web, tried #freebsd... no dice. Then again, > that usually means I missed some little detail. But which? > > -- > Dog's home @ http://cairni.com/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message