Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jan 2004 14:36:19 -0500 (EST)
From:      Mikhail Teterin <mteterin@250-217.customer.cloud9.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/61033: a new tip -- how to print manual pages
Message-ID:  <200401071936.i07JaJrY089685@250-217.customer.cloud9.net>
Resent-Message-ID: <200401071940.i07JeFBV043120@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61033
>Category:       docs
>Synopsis:       a new tip -- how to print manual pages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 07 11:40:15 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Mikhail Teterin
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
Virtual Estates, Inc.
>Environment:
System: FreeBSD mi.us.murex.com 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Tue Dec 9 16:40:04 EST 2003 root@mi.us.murex.com:/misha/obj/misha/src/sys/Misha-g i386

>Description:
	man(1) is could stress this out better: ``man -t <topic>'' will
	produce a neat PostScript rendering of <topic>'s manual page...

	The tip could be useful for someone starting with FreeBSD (or
	Unix) and wanting to print out manual pages for reference.

>How-To-Repeat:

>Fix:

Index: freebsd-tips
===================================================================
RCS file: /home/ncvs/src/games/fortune/datfiles/freebsd-tips,v
retrieving revision 1.31
diff -U2 -r1.31 freebsd-tips
--- freebsd-tips	2 Aug 2003 20:36:28 -0000	1.31
+++ freebsd-tips	7 Jan 2004 19:32:18 -0000
@@ -495,2 +495,9 @@
 
 	sed -i '' s/e/o/g foo
+%
+To obtain a neat PostScript rendering of a manual page, use ``-t'' switch
+of the man(1) utility: ``man -t <topic>''. For example:
+
+	man -t grep > grep.ps	# Save the PostScript version to a file
+or
+	man -t printf | lp	# Send the PostScript directly to printer
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401071936.i07JaJrY089685>