Date: Thu, 1 Feb 2001 22:13:23 -0800 From: "Ted Mittelstaedt" <tedm@toybox.placo.com> To: "Roelof Osinga" <roelof@nisser.com>, <freebsd-questions@FreeBSD.ORG> Subject: RE: troff to postscript at A4? Message-ID: <002a01c08cdf$3f937d40$1401a8c0@tedm.placo.com> In-Reply-To: <3A7A09CF.A4BC165A@nisser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002a01c08cdf$3f937d40$1401a8c0>