Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asptoday_discuss thread: printing isssues with <%Response.ContentType = "application/msword"%>


Message #1 by "Gavin B. Murphy" <gavin@m...> on Thu, 6 Jun 2002 18:36:36 +0100
This is a multi-part message in MIME format.

------=_NextPart_000_002E_01C20D89.16A8B130
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Hi!

I am currently using

<%
Response.ContentType = "application/msword"
%>

to modify the MIME content type, so that information I pull out from a
database and display in the following manner: <%=result("PostalCode")%>,
using ASP, is displayed in the browser in Word format.

This works fine and the user can update fields, make modifications to what
has been pulled out of the DB, and save the modified document, as required.
Printing the single document is fine also, as this uses the built in print
features of Word.

What I would like to be able to do is some form of batch printing ? i.e.
print all records where a surname is ?smith?.  Is there a way to do this
using the current methods that I am employing?  I?ve looked at the batch
printing / mail merge functionality that is built into Word itself, but am
unsure if this can be used in this case.

In addition to this, are there any suggestions of the best way that the user
would be able to modify the actual document template that I create using the
ASP / HTML code?

Any help on any of these queries would be most appreciated.

Thanks,

Gavin



  Return to Index