Changing print properties programmatically

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello, I currently have an ASP.NET application that is displaying various reports. Some of the reports need to be printed in Portrait orientation and others in Landscape. Does anyone know a method for doing this. My code-behind is in C#. A javascript or css solution would be great as well. This will need to be supported in IE6.
 
The paged media portion of CSS2 supports the option to specify a landscape
layout, but I don't know of any implementations so far. With IE, most people
are resorting to ActiveX, which has the ability to get at the printer
settings since it is client-side executable code running outside of the
sandbox.
 
Back
Top