Linux / UNIX Print Large Banner on Printer

Posted on in Categories , , , , , , , , , , , last updated February 8, 2009

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.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

4 comment

Leave a Comment