nixCraft 🐧 on Nostr: Want to print your #Linux and #Unix manual pages? Try Save the PostScript version to ...
Want to print your #Linux and #Unix manual pages? Try
Save the PostScript version to a file:
man -t {command} {command|.ps
man -t date date.ps
file date.ps
xdg-open date.ps
You send the PostScript directly to default printer:
man -t {command} | lp
This will send date manual page to the printer named hp0:
man -t date | lpr -Php0
Published at
2024-11-19 05:12:56 UTCEvent JSON
{
"id": "495c831b23149c9a2e4be67b6058342a0bc5a5da7724f716e804fa2b2f3f5df6",
"pubkey": "9d6742ff43235eb568c0bc55fa8acf7e004ca06a7c9e0c3da2b089a098b769b9",
"created_at": 1731993176,
"kind": 1,
"tags": [
[
"t",
"linux"
],
[
"t",
"unix"
],
[
"proxy",
"https://mastodon.social/@nixCraft/113507904807695596",
"web"
],
[
"proxy",
"https://mastodon.social/users/nixCraft/statuses/113507904807695596",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/nixCraft/statuses/113507904807695596",
"pink.momostr"
],
[
"-"
]
],
"content": "Want to print your #Linux and #Unix manual pages? Try\n\nSave the PostScript version to a file:\nman -t {command} {command|.ps\nman -t date date.ps\nfile date.ps\nxdg-open date.ps\n\nYou send the PostScript directly to default printer:\nman -t {command} | lp\n\nThis will send date manual page to the printer named hp0:\nman -t date | lpr -Php0",
"sig": "418608937ae4c0086de09e1479dee6d65da1b572e0352298611574db442e53b6223687113e2f17bcb4b7f4a4f6e7795ae309e8bb1377f7c63743f5079780cd70"
}