Convert IHtmlDocument to PrintDocument

S

Sean McKaharay

I am having a major issue trying to print html document in landscape mode.
you can us I.E. page setup when you get prompted for a printer but I don't
want to prompt the user. I want to be able to change the orientation then
print all in code. Is there a way to convert an IHtmldocument to a
PrintDocument? That would be real easy, but I know that probably isn't that
easy. This is horrible. I looked at templates but that seems alot of
overhead and there needs to be an easier way. Can someone shed some light?


Sean
 
B

Bruce Wood

Sean,

I don't want to sound picky, but could you please continue replying to
the past thread(s) in which you were asking about this?

There is already a thread in which someone came up with the idea of
using templates, and gave some links. If that solution doesn't work for
you, that's fine, but please reply in that thread rather than starting
a new discussion every day.

It's easier for the people reading here to be able to see the whole
history of your programming problem in one place. It helps us
understand the big picture and increases your chances of getting help.

As well, some of us may be monitoring specific threads. If you start a
new one every day rather than responding to the previous one, we may
not see your new thread and be waiting for more activity when in fact
the conversation has moved elsewhere.

As well, if your problem is spread across a dozen different threads of
a few posts each, you will have to explain yourself over again each
time. Not good for you, not good for us.
 

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

Top