landscape printing

From: Sai Ganesamoorthi (
Date: Thu Feb 05 1998 - 13:38:09 CST


This is my Original question:
>Is there an option to print landscape using lp from Solaris 2.5.1?
>Will summarise.

  Thanks for all the people who responded.

Here are the answers that worked for me
For ascii jobs to print postscript u can use

usr/lib/lp/postscript/postprint -p landscape <filename> | lp

enscript -r

cat filename | postprint (options and so on ) | lp

man mp

/usr/lib/lp/postscript/postprint -pland [filename] | lp -d [printer]

postprint -pland <filename> | lp

lp -o landscape -d printer file1 file2 file3

/usr/openwin/bin/mp -lo should work great

We use a little script that allows us to print landscape on our HP 4

if ($#argv > 0) then
 cat /usr/local/bin/ $argv[1] | lp

and /usr/local/bin/ has the postscript codes for landscape

This works great for any type file(postscript, PCL)
mp -lo file | lpr

/usr/lib/lp/postscript/postprint -l45 -pland | lpr

lp -olandscape
lp -oeolwrap -olandscape

Note, syntax is important.
I think if you use "-o landscape -o eolwrap"
it will do one but not both options.

Thank You to all those who responded.


This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:30 CDT