Re: Printing a man page.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Guys!

Thank you all for a wonderfull feedback. After some experimenting I came
up with these two small functions added to ~/.bash_profile which I find
very easy to use.

function printman
{
        man "$1" | col -b | ul -t dumb | enscript -E -f "Times-Roman@11/13"
}

function printext
{
        cat "$1" | col -b | ul -t dumb | enscript -E -f "Times-Roman@11/13"
}

By the way in haste I forgot to mention the type of printer I am having.
It's a dot matrix printer.

Thank You all again.
-- 
vikram...
         ||||||||
         ||||||||
^^'''''^^||root||^^^'''''''^^
        // \\   ))
       //(( \\// \\
      // /\\ ||   \\
     || / )) ((    \\
-- 
Hark ye, Clinker, you are a most notorious offender.  You stand convicted of
sickness, hunger, wretchedness, and want.
		-- Tobias Smollet
-- 
 _
~|~
 =
Registered Linux User #285795


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux