Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    Regular Coder martin_narg's Avatar
    Join Date
    Jul 2002
    Chamonix, France
    Thanked 3 Times in 3 Posts

    Footer not printing in word document

    Greets all, I know at first glance this may not seem like an asp-related problem but please keep reading!

    I have a an asp script that creates an html document on the fly then forces out a download box using the stream object to download the file as a word document (ie creating a word document on the fly). This all works fine - the document is downloaded and can be opened. Everything about the document is as it should be - formatting, images, footer - except that when it comes to print the document, the footer is not included (although it is shown in the document and the print preview).

    Essentially what I am doing with the document is creating an html document and forcing it to download as a .doc. I use the microsoft mso-* styling (which works fine) and also Microsoft Office/Word specific XML. The footer is actually included as a seperate html file (via an XML document - as recomended by MS). As I mentioned, all this works great in displaying the file - but it does not print with the rest of the document. All the images that are displayed are all grabbed remotely and print fine - I'm confused as to why the same does not happen with the footer document which is being grabbed from a similar location but not being printed.

    I've even tried using MS Office XML to force the footer to print (<w:PrintBodyTextBeforeHeader/>) but to no avail.

    I was wondering if anyone else has had similar problems and how they resolved it.

    Many thanks in advance for your time and responses.

    Last edited by martin_narg; 09-10-2004 at 01:27 PM.
    "Cos it's strange isn't it. You stand in the middle of a library and go 'Aaaaaaaaaaaaaaaaggggggghhhhhhh!'
    and everybody just stares at you. But you do the same in an aeroplane, and everybody joins in."
    -Tommy Cooper


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts