Printing headers and footers in vb.NET

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

Guest

This should be easy, but I have not found much that makes sense. My
application creates a document, of indeterminate length, and prints the
document. I am printing from a saved document in RTF format or directly from
a RichTextBox.

I need to add a footer to the document that displays the page count.
Counting the pages is not a big deal but the footer is driving me crazy.

My reasearch only has gotten me bits and pieces of information, just enough
to confuse me. Can anyone direct me to a good source or provide me with
sample code? I can't use Crystal Reports becuase of allignment problems and
fixed width text for a professional document is not acceptable.

Thanks for your help
 
Hi,

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/wnf_RichTextBox.asp

Ken
-------------------
This should be easy, but I have not found much that makes sense. My
application creates a document, of indeterminate length, and prints the
document. I am printing from a saved document in RTF format or directly from
a RichTextBox.

I need to add a footer to the document that displays the page count.
Counting the pages is not a big deal but the footer is driving me crazy.

My reasearch only has gotten me bits and pieces of information, just enough
to confuse me. Can anyone direct me to a good source or provide me with
sample code? I can't use Crystal Reports becuase of allignment problems and
fixed width text for a professional document is not acceptable.

Thanks for your help
 

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

Back
Top