From owner-freebsd-questions Mon Feb 11 2:19:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from isy.liu.se (isy.liu.se [130.236.48.10]) by hub.freebsd.org (Postfix) with ESMTP id 11B2F37B416 for ; Mon, 11 Feb 2002 02:19:52 -0800 (PST) Received: from lagrange.isy.liu.se (lagrange.isy.liu.se [130.236.49.127]) by isy.liu.se (8.11.4/8.11.4) with ESMTP id g1BAJnN04239; Mon, 11 Feb 2002 11:19:49 +0100 (MET) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020211094835.GA63310@student.uu.se> Date: Mon, 11 Feb 2002 11:20:09 +0100 (CET) From: Micke Josefsson To: Erik Trulsson Subject: Re: How to get ps from paper.ascii in smm Cc: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 11-Feb-2002 Erik Trulsson wrote: > On Mon, Feb 11, 2002 at 09:28:03AM +0100, Micke Josefsson wrote: >> This is probably related to groff but I don'ät see how to do it:) >> >> Anyway, how do I make nice-looking postscript printouts of the texts in >> /usr/share/doc/smm/? >> >> Daemonnews had an article for NetBSD claiming that a "make paper.ps" would do >> the >> trick but there's no makefile here in FreeBSD. >> >> suggestions are very welcome! > > You can't do it directly from the files normally installed in /usr/share/doc > since they are just preformatted ascii-files. > > First install the sources. > Then cd /usr/src/share/doc/smm/06.nfs (or whichever paper you want) > Then you do a 'make PRINTERDEVICE=ps' and a nice postscript file will > be created. (If you don't want it gzip'ed use > 'make PRINTERDEVICE=ps NODOCCOMPRESS=yes' instead.) OK, thanks. I also noted that the files end up in /usr/obj/usr/src/share/doc/smm/... /Micke > > > > -- > > Erik Trulsson > ertr1013@student.uu.se ---------------------------------- Michael Josefsson, MSEE mj@isy.liu.se This message was sent by XFMail running on FreeBSD 4.5-STABLE ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message