How do I print large banner on printer under Linux / UNIX / BSD operating systems?
You can use banner command which, prints a large, high quality banner on the standard output. If the message is omitted, it prompts for and reads one line of its standard input. The output should be printed on paper of the appropriate width, with no breaks between the pages.
To print “Welcome”, enter:
$ banner "Welcome"
$ banner -w80 "Welcome"
Where,
- -w80: Change the output from a width of 132 to width 80, suitable for a narrow terminal.
🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.
🐧 4 comments so far... add one ↓
🐧 4 comments so far... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |
The below banner command works on MP-RAS UNIX only and I wonder what is the equivalent command on SLES9/SLES?
banner “Welcome”
Thanks,
Sam
banner”welcome”
This syntax was not working,Error Message shown like a Command not found
Any idea how to print a multipage pdf ot jpeg to make a banner?
banner “Welcome”
this command is not working in the putty server