Linux / UNIX Print Large Banner on Printer

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"


  • -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, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Share this on (or read 4 comments/add one below):

4 comment

  1. The below banner command works on MP-RAS UNIX only and I wonder what is the equivalent command on SLES9/SLES?

    banner “Welcome”


    Have a question? Post it on our forum!