<cfsavecontent variable="testMe"> <html xmlns:o='urn:schemas-microsoft-com:office:office' xmlns:w='urn:schemas-microsoft-com:office:word' xmlns='http://www.w3.org/TR/REC-html40'> <!--- Head tag instructs Word to start up a certain way, specifically in print view. ---> <head> <xml> <w:WordDocument> <w:View>Print</w:View> <w:view w:val="print" /> <w:SpellingState>Clean</w:SpellingState> <w:GrammarState>Clean</w:GrammarState> <w:Compatibility> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:Zoom>100</w:Zoom> <w:UseAsianBreakRules/> </w:Compatibility> <w:DoNotOptimizeForBrowser/> </w:WordDocument> </xml> </head> <body> 1234 <br> <cfoutput>#now()#</cfoutput> </body> </html><a href=""></a> </cfsavecontent> <cfoutput>#testMe#</cfoutput> <cffile action="write" file="#application.reportsDir#eowReports\testMe.doc" output="#testMe#"/> <br> <a href="https://trmptudevhp.dev.tdan.mda.mil/mpl_getFile.cfm?folder=eowReports\&fileName=testMe.doc">Open It</a>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)