LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-10-2003, 03:08 AM   #1
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,581

Rep: Reputation: Disabled
Printing man-pages in original format


Good morning everybody.

With the usual man "command" I get very nicely formatted information on the screen. How can I print it, retaining the nice features like bold fonts, sensible paragraphs, carriage-returns, line-spacing etc.etc.?

I tried man "command" > command.text but got ugly results.

My distribution has a built in help feature, which allows printing, but with a bigger font and not in the original layout. Anybody any ideas/experiences?

Last edited by JZL240I-U; 01-10-2007 at 07:02 AM. Reason: corrcting typo
 
Old 04-10-2003, 01:00 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
I think you need to get creative and pipe the file right to your printer device. I am not sure if it will retain formatting but....
man whatever | cat >> /dev/lpd0
might work for you depending on how your printing is set up.

A better idea might be to go to the LDP website where they have all the manpages in html and print them from there.
 
Old 08-06-2003, 03:16 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,581

Original Poster
Rep: Reputation: Disabled
Here is another answer, looks good to me, though I didn't try it yet.
 
Old 10-26-2010, 09:26 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,581

Original Poster
Rep: Reputation: Disabled
This is the absolute beauty:

http://www.linuxquestions.org/questi...0/#post3932551

All credits to jschiwal and Kudos .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
man pages? synaptical Debian 4 06-13-2005 09:16 PM
Printing man pages NomadABC Linux - Newbie 2 02-10-2005 03:38 PM
Man pages twantrd Solaris / OpenSolaris 5 08-16-2004 04:15 AM
Linux MAN Pages in PDF format SolarDegree Linux - Newbie 5 03-23-2003 02:01 PM
Linux MAN Pages in PDF format SolarDegree Linux - General 1 03-23-2003 08:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration