954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to print a page from a form details???

Suppose I have a customer details form, after fillup that form when I'll press it will redirect me to an another form where those details will be shown in a .doc format. I want to print this page...can any one plz HELP ME how can I do this job....plz post some CODE if available.........

nil_gh_80
Junior Poster in Training
64 posts since Aug 2007
Reputation Points: 8
Solved Threads: 2
 

By .doc format you are meaning Microsoft Word? Or just a generic text document?

Ezzaral
Posting Genius
Moderator
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
 

yes i mean MS Word.......plz help if possible

nil_gh_80
Junior Poster in Training
64 posts since Aug 2007
Reputation Points: 8
Solved Threads: 2
 

See if this helps:
http://www.phpbuilder.com/columns/yunus20031124.php3
and perhaps this:
http://conort.googlepages.com/generate-word-from-php

If you don't need any specific Word functionality, a simple text or html document would be the easiest.

Ezzaral
Posting Genius
Moderator
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
 

okk that will also helpfull then how can i print HTML document ???????????

nil_gh_80
Junior Poster in Training
64 posts since Aug 2007
Reputation Points: 8
Solved Threads: 2
 
<A HREF="javascript:window.print()">Click to Print This Page</A>
MitkOK
Junior Poster
142 posts since Jul 2007
Reputation Points: 59
Solved Threads: 12
 

if somebody have solution to print another page using javascript...

nikesh.yadav
Posting Whiz in Training
219 posts since Feb 2008
Reputation Points: 15
Solved Threads: 21
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You