469,635 Members | 1,981 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,635 developers. It's quick & easy.

Help with Landscape printing solution?

I have created a "Certificate of Completion" in C# .net and have a typical
problem of not being able to print this in landscape mode without user
intervention. The certificate is a web user control as it gets information to
complete the certificate (userName, date, course) from the SQl database. 2
Questions:

1. Can I rotate the user control somehow 90 degress and place it in a hidden
frame? and print it in protrait mode?

2. Does anyone have an idea how to accomplish this?

Thanks..............
Nov 17 '05 #1
1 1855
When you print, the PrintPage event provides a PageSettings object. You can
specify landscape printing there.

See the PageSettings class.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"Bill Burke" <Bi*******@discussions.microsoft.com> wrote in message
news:AF**********************************@microsof t.com...
I have created a "Certificate of Completion" in C# .net and have a typical
problem of not being able to print this in landscape mode without user
intervention. The certificate is a web user control as it gets information
to
complete the certificate (userName, date, course) from the SQl database. 2
Questions:

1. Can I rotate the user control somehow 90 degress and place it in a
hidden
frame? and print it in protrait mode?

2. Does anyone have an idea how to accomplish this?

Thanks..............

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Darcy Kahle | last post: by
3 posts views Thread by MarcJ | last post: by
2 posts views Thread by Andrei Gavra via .NET 247 | last post: by
5 posts views Thread by cpopham | last post: by
1 post views Thread by lord.zoltar | last post: by
6 posts views Thread by sheinaz | last post: by
1 post views Thread by nuhura01 | last post: by
2 posts views Thread by FireStarter | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.