Hi Samir,

Look at CFX tags that do the conversion from HTML to DOC, however you will need to be able to install and register these on your hosting Production Server as well as you Development Server.

Alternatively you can for simple pages create HTML and send it to the browser using CFcontent as application/msword. This is ok for very simple stuff and just printing.

If the end user can be restricted to Office 2000, XP or 2004 you can create an XML word document. I would make the template in word and save it as an XML word document, then use the template to create a scripted version replacing the text with escaped variables.

All three work to varying degrees and there is one other way, consider producing a PDF, that way it should print just fine every time without the requirement of a version of word installed on the users machine. Of course they need PDF Reader. This will require the hosting having some PDF writing soft ware, but check if your ISP has PHP installed on the server as if it does sent the out put from a CFM script to a PHP script that maks a PDF, cant remember when it was added but PHP has inbuilt capacity to write PDF's.

Hope this helps.

GC


At 12:17 21/03/2004 +1100, you wrote:
Hi Cassie,
 
I wanted to generate a  Letter as Word Document (it is using for posting the letter to cust.) with MailMerge information. Currently we are having a Intranet (Browser based) system where we open a word document in browser but which doesn't work good for us becasue the customer photo's are out of proportion sometimes becasue of the scaning or size of the photo. I know that this can be sold by using a MailMerge technique in word. I have read an article on Macromedia that it can be done using COM objects but i don't know how to do it ...I also want the option to create an individual letter for the customer or bluk letter for the group of  customer by selecting a customer_ID.
 
Thank you
 
Samir



Some files may be sent to you in Adobe Acrobat PDF format, if you are unable to open these files, please refer to the Adobe website and download a free copy of Acrobat Reader . http://www.adobe.com/acrobat

Gary Crouch BEng (Hons) IT
Anatex IT PTY Ltd
3 Rosegum Drive
Molendinar, Queensland
Australia, 4214

Web:            www.anatex.net
Email:          [EMAIL PROTECTED]
AU Tel: +61 (0) 7553 92517      {GMT +10}
AU Mobile:      +61 (0) 4088 83932      {GMT +10}
UK Mobile:      +44 (0) 7973 875075     {GMT +0}
UK Fax:         +44 (0) 8701 209193
Int Fax:        +1 9402 342022

Messengers:
Yahoo: garyanatex
MSN:    [EMAIL PROTECTED]
AOL:    anatexit
ICQ:    169144397
IRC:    anatexit / itanatex

The content of this email may not reproduced or used for any purpose other than being read by the intended recipient indicated in the "to" Field of this email.

NOTE: This email contains information which may be confidential or privileged. Its contents remain the property of Mr Gary Crouch or Anatex IT PTY Ltd. The information is intended solely for the use of the recipient (or legal entity) named above. If you are not the intended recipient and/or purport to be the intended recipient you must not read, use or disseminate the enclosed information. The content and email itself are subject to intellectual property rights and copyrights. If you have received this electronic transmission in error, please notify Mr Gary Crouch or Anatex IT PTY Ltd by electronic mail immediately. Any opinions expressed are those of the author, not those of any other party. This email does not constitute either offer or acceptance of any contractually binding agreement. Such offer or acceptance must be communicated in writing through other channels.
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to