Page 1 of 1

how to create a .doc file

Posted: Sun Feb 15, 2004 6:41 pm
by xuleit
i don't know how to print information in my database in a special format.i want to create a .doc file to solve this problem,can somebody help me ?
thanks in adv. :lol:

Posted: Sun Feb 15, 2004 8:45 pm
by Illusionist
how do you mean a .doc file? just write to it as you would any other normal .txt file? or in M$ Word formatting?

just pring

Posted: Sun Feb 15, 2004 9:08 pm
by djot
he means, he wants to output his data printer friendly.

If it's mainly text based data, you may just build up normal html site with some adjusting for the printer and print that out directly from the browser. Or you have to put it all into PDF-Format instead of .doc.

thanks

Posted: Sun Feb 15, 2004 9:29 pm
by xuleit
if i have to put it all into PDF-Format,what should i do?any code can somebody show me?

Posted: Mon Feb 16, 2004 12:06 am
by Smeagol
You can find out almost everything you need to know about creating pdfs here:

http://au.php.net/pdf

Fabulous :)