landscape printing

hi everybody ,
i was just wondering if anyone could tell me how to setup printing landscape from Solaris 9 . We have a hp laser jet 1300 printer connected to an hp jetdirect 1.75x print server. We have set it up to print Portrait but not landscape. Is there some sort of generic script I can use or a direct method to print lsndscape? Any information provided would be greatly appreciated .

thanks in advance

I do not have a script, but apparently you can not do landscape printing with just lp command.

You need to convert to postscript.

Try:

man postprint

and

man enscript

for more info.

I believe in Solaris you can do lp -dprinter -olandscape filename

thanks everybody , i have used postprint and piped it through the lp and it worked like magic .
:slight_smile: