Changing print properties programmatically

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.
 
C

Chris Jackson

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top