- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- print man page
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2001 11:59 AM
тАО07-30-2001 11:59 AM
print man page
I think i knew this but just can not rememer it now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2001 12:04 PM
тАО07-30-2001 12:04 PM
Re: print man page
man lp |lp -dprintername
or
man lp > test
cat test |lp -d printername
Both are same thing.
It always works for me.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2001 12:13 PM
тАО07-30-2001 12:13 PM
Re: print man page
Do this:
# man command | col -b | lp -d lpdest
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2001 12:46 PM
тАО07-30-2001 12:46 PM
Re: print man page
man hpnpf | col -b | expand > /home/hpnpf.txt
Then print the page to any printer you would like. To print correctly on the page, you must use the ?oln66 option. This tells the printer that there are 66 lines per page. This may not work on all printers.
lp -dgo_icerpt1 -oln66 /home/hpnpf.txt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2001 09:39 PM
тАО07-31-2001 09:39 PM
Re: print man page
normally i would use the col -b command as James and Douglas mentioned.
But if you are using HP Laserjets with JetAdmin installed, there is another option. You can use:
man command | lp -dprintername -onroff
This will print the nroff formated page directly. Also the highlighted text will be printed in bold letters.
Hope this helps
Regards Stefan