Go Back   CodingForums.com > :: Server side development > ASP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-10-2004, 12:24 PM   PM User | #1
martin_narg
Regular Coder

 
martin_narg's Avatar
 
Join Date: Jul 2002
Location: Chamonix, France
Posts: 600
Thanks: 1
Thanked 3 Times in 3 Posts
martin_narg is an unknown quantity at this point
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.

Mart
__________________
"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

Last edited by martin_narg; 09-10-2004 at 12:27 PM..
martin_narg is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:07 AM.


Advertisement
Log in to turn off these ads.