WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Print web report immediately while loading report

 
   Home -> Office -> Printing RSS
Next:  Template  
Author Message
freezea




Joined: Nov 29, 2008
Posts: 42



(Msg. 1) Posted: Tue Sep 15, 2009 10:16 pm
Post subject: Print web report immediately while loading report

Background

For printing web report, users often need to print it by clicking the print button. However, sometimes users may want to print report immediately when loading the report on browser.

Solution

As a real Excel-like web reporting tool, RAQ Report provides a direct print function for users. You only need to use the tag <object></object> in the JSP file to call the applet program directly. The solution is that write a print class, which inherits the direct print class DirectPrintApplet,and call the print program directly in the DirectPrintApplet.java. Then you can print the uploading report directly without the trigger program.

Easy operation

1. Write a print class, which inherits the direct print class DirectPrintApplet.(You can choose the DirectPrintWithoutShow name as you like).

2. Put the print class into runqianReport4Applet.jar. Remember to decompress runqianReport4Applet.jar firstly and delete the mete folder before compress it.

3. Sign the new runqianReport4Applet.jar.

4. Use the new class name instead of the called class name in the jsp when direct print while loading report.

This post is from freezea's blog You are welcomed cc it anywhere, and please indicate the source.
If you would like to read more articles about reporting tool, you are also welcome to refer to his blog.
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Printing All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support