Printer settings in MX 2004

Hi,

I want to set printer settings through actionscript:

Settings like setting pageOrientation to “landscape”
Setting Right and Left Margins.

I have tried using

my_printObj.orientation = “landscape”;

but this doesnt work, can anyone help :blush: me