>>Here it doesn't works...
>>Is a USB printer and when I try the code the printer stops.
>>
>>I found another way:
>>
>>oPrinterConfig = CREATEOBJECT("pageset.PrinterControl")
>>oPrinterConfig.ChngOrientationLandscape
>>... Report here
>>
>>oPrinterConfig.ReSetOrientation
>>
>>
>>But it would like to know why it works for you and not for me the code you wrote...
>>
>>Thanks
>>
>Peter,
>
>What is pageset.PrinterControl and where did you get this library?
>
>Thanks.
All the info you can get in:
http://support.microsoft.com/kb/198901/en-us/There's also a file to download if you need.