Solaris Printing Capabilities

The program described here will only work with PostScript capable printer.

Under Solaris 2.x Sun provides a program called postprint, for PostScript printing. This program resides in /usr/lib/lp/postscript. Here I'll cover only the more interesting options to postprint if you need to know more about this program check out the man pages for postprint.

For example to print a file in landscape mode use the following command:

/usr/lib/lp/postscript/postprint -p land filename | lp
-c num
This option prints num copies of the file
-n num
Print num logical pages on one physical page. Referred to as NUP (n-up) on some platforms.
-p mode
Print the pages in either portrait or landscape mode. You can use the full name of the mode or abbreviate it to just the first character.
-t num
Sets a tab stop every num characters. The default for num is 8.

This web page is Copyright © 1997 - 2017, Stephen Hinchey
If you have comments or additions for these web pages please direct them to webmaster @