: : I am generating a MS Word document from asp. The data is generated
: : in tables inside the Word document. The problem is the file is
: : quite large. I there a way to make the Word file smaller at
: : generation. I removed some of the inline styles and place in the
: : style header and this helped some. Any other ideas?
: Two suggestions:-
:
: 1) Try using an older version of the Word file format. They've grown with time and files created with older versions of Word are probably going to be more compact than those created with newer versions.
:
: 2) Are you doing server side compression where clients support it? Word docs may compress fairly well and it would speed up delivery time. I think you have to pay for IIS version, and I suspect you are using IIS (ugh) if you're using ASP (ugh again, unless it's ASP.NET, which ain't so bad).
:
: Hope this helps,
:
: Jonathan
:
: ###
: for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
: (tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
: /(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");
:
:
Hey, thanks for the info. Yes to both IIS and ASP. I wish I could automate the conversion to WORD 6.0. It produces a much smaller file size. I will look into the server side compression you suggested. Thanks again.