LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   generate a printout of the man page for ls and have aheader on it with name and pg nu (https://www.linuxquestions.org/questions/linux-newbie-8/generate-a-printout-of-the-man-page-for-ls-and-have-aheader-on-it-with-name-and-pg-nu-443814/)

Goalswish 05-11-2006 10:46 AM

generate a printout of the man page for ls and have aheader on it with name and pg nu
 
This is what i need to do: generate a printout of the man page for ls and have a header on it with name and pg number, must be from command line and no extra files can be made.

This is a project my last item and i can't get it to work any help will be appreciated.

Thanks

demian 05-11-2006 10:50 AM

You should read man man.

man -t ls > ls_manpage.ps

or man -t ls|lpr to send it directly to the printer


All times are GMT -5. The time now is 07:13 PM.