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
This blog covers Unix system administration HOWTO tips for using inline for loops, find command, Unix scripting, configuration, SQL, various Unix-based tools, and command line interface syntax. The Unix OS supports tasks such as running hardware, device drivers, peripherals and third party applications. Share tips/comments. Read the comments. But most importantly: Read Disclaimer - Read Disclaimer.
Subscribe to:
Post Comments (Atom)
3 comments:
I am missing the Unix command line for printing. Its been many years since I last used one of these commands.
shuva, do you mean something like this?
# /usr/bin/lp -d filename
or
# lp (prints to default printer)
THIS IS A TEST PRINT
control d
I often use the 'lpr' command to print things.
Post a Comment