Skip to content

Automatically adding headers and footers in print documents

Erwin Fraser

Asked Jul 26, 2006, 8:32 AM EDT1 answer
Share
LinkedInX
I would like to create a print function that will automatically put headers and footers on the document. This will be used to print out quotes to send to customers. The headers and footer will contain the company logo, address, etc, and needs to be in color. The body of the document will come from a text file that will be imported. I would like to also set a specific line that it should start at when it brings in the text file or prints it off. The way I see it working is that it uses Word objects to create the final document once all parts are put together. Does anyone know how to do this?

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    If you are going to use word for the printing why don't you just set up a document template in word, then you can use some docvariables to load the content in. This article will give you an introduction in to what I mean. http://www.codeproject.com/useritems/Word_Template_Programming.asp Sorry I can't be of more help it's sunday and I am slightly hungover!!!
    0