Dimple,
I have tryied th following code on a HP4000 printer, and it sets the orientation to LANDSCAPE.
CHR(27)+"&l1O"
ESCAPE (&) (l)ima (one) (O)scar
>Benn,
>
>Thanks for your reply. I am using HP laser printer. I could not get it work.
>
>Thanks again
>Dimple
Benn Kjaer
MS Certified Professional - Visual Foxpro
"There is something rotten in the state of Denmark"
"Why make user-friendly programs, when there aren’t any friendly users :o)"