Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Most printer friendly version of the documentation?

by shmem (Chancellor)
on Aug 07, 2008 at 20:02 UTC ( [id://702985]=note: print w/replies, xml ) Need Help??


in reply to Most printer friendly version of the documentation?

a particularly printer friendly version of the same documentation: less paper and ink/toner, or a ready made pdf rendering...

...would be running the plain manual pages through a2ps, a powerful text to PostScript converter which is included in many linux distros or repositories. E.g, running

perldoc perlboot | a2ps -B -=book --printer=your_printer

on a duplex-capable printer will print the manual in landscape mode, two pages on each sheet, double sided, and with the pages sorted as a booklet: take them from the printer, fold the bunch in the middle, and voilà - you have a compact manual to take with you.

For a single sided printer things get interestingly more difficult; check the a2ps info pages.

update: just saw that JavaFan gave a related answer. The above command would print the 54 page CGI manual on 13 pages.

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://702985]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2026-04-18 22:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.