Cold Fusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingCold Fusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 26th, 2003, 03:40 AM
jklanka jklanka is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Sri Lanka
Posts: 1 jklanka User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Printing the web page using MsWord

Hi,
I can use window.print javascrpt function to print my current dynamic page.

But I need to send or redirect the page to be printed in a word document other than printing it in the browser.
Becuase in the internet browser it is not giving the page break correctly. Furhter i cant decide the number of line of a pge or pages since it is a dynamic page.

How will any body help me on this to over come this.

Reply With Quote
  #2  
Old February 21st, 2003, 07:03 PM
baddogg99 baddogg99 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: GA, USA
Posts: 19 baddogg99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
CFCOMET

CFCOMET.com has alot of examples of implementing CF/Microsoft solutions....

try this:
http://www.cfcomet.com/Word/index.c...D87CBB5BA2229C6

Hope that helps.
B

Reply With Quote
  #3  
Old March 3rd, 2003, 11:37 PM
ctredway ctredway is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Garland Tx
Posts: 39 ctredway User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 16
Send a message via ICQ to ctredway Send a message via AIM to ctredway Send a message via Yahoo to ctredway
You can also just use the cfsavecontent tag and save it to word. I do this in my sql server utility that saves the database schema to a word document.
__________________
Clint Tredway
Need a website?
Need development help?
www.fishermenstudios.com
ctredway@fishermenstudios.com

Reply With Quote
  #4  
Old June 29th, 2004, 02:40 AM
krixerx krixerx is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 2 krixerx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
printing in web

For printing MS-Word file, you can use javascript:
function printIt(){
var objWord = new ActiveXObject("Word.Application");
objWord.Documents.open("http://
www.google.com");
objWord.Visible = 0;
objWord.printOut();
}

But if MS-Word object is missed in user machine then printing is false.

Better way is just to let user open printfile with MS-Word or Wordpad, but then the user can change printfile before printing.

Does anubody knows some other good idea?

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingCold Fusion Development > Printing the web page using MsWord


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap