X-Spam-Check-By: sourceware.org To: cygwin@cygwin.com From: Tony Richardson Subject: Re: Printing man pages Date: Thu, 2 Mar 2006 14:08:03 +0000 (UTC) Lines: 20 Message-ID: References: <20060302065638.GA1528@home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com George sbcglobal.net> writes: > Generating a PDF from the grep man page, for example, using: > > man -t `man -w grep` | ps2pdf - grep.pdf > > which, by default, is actually > > /usr/bin/groff -Tps -mandoc `man -w grep` | ps2pdf - grep.pdf > > results in a fairly unattractive PDF file. The man page title is > dropped from the output, and the top margin is borked. Sounds like it might be an incorrect media size setting. The default groff PostScript media size is A4. Changing the papersize setting in /usr/share/groff/1.18.1/font/devps/DESC to "letter" may help. Tony Richardson -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/