Archive › 2007 › September
Print a File in Landscape Mode via Command Line
September 5, 2007 · Shell & text · Files & disks · Networking & mail
📜 From the MySysAd archive. Written in 2007, mostly on Solaris. Most of these commands still work on Linux and macOS, though options and file locations can differ.
⚠️ Things may be different now. Check commands, options and file paths against your system's documentation before using them on a live system.
I was asked how to print a file in landscape mode via the command line. I haven't done that in awhile, so I had to delve into my old notes. Here's the syntax. # /usr/lib/lp/postscript/postprint -pland filename | lp