Google Answers Logo
View Question
 
Q: Need JavaScript to file pritable version of HTML. ( No Answer,   0 Comments )
Question  
Subject: Need JavaScript to file pritable version of HTML.
Category: Computers > Programming
Asked by: skon-ga
List Price: $10.00
Posted: 19 Oct 2005 20:27 PDT
Expires: 24 Oct 2005 21:48 PDT
Question ID: 582424
From  HTML
<HTML>
<BODY>
Any text here
<!-- BEGIN_MARKER REPORT_TITLE="Report Title" REPORT_AUTHOR="SKON L."-->
Report body here

Bababa...

<!-- END_MARKER REPORT_FOOTER="Copyright xxx"-->
<a img="Button.gif" OnClick="PrintThisPage()">
Any text can be placed here.
</BODY>
</HTML>

I'm looking for javascript to do following things:
- When user click print button, javaScript popup another html document.
- In the poped up document the format should look like this

Title: Report Title
Author: SKON L. 
Report body here

Bababa...

Footer: Copyright xxx

- It would be greate if poped up page, can show something like
"Printing request" rather than showing report.
- Report Title, author and footer will be populated from TAG
- Report body is HTML text, which is between BEGIN/END MARKER.
- Then, Automatically fire this page to printer.
- This must be work on IE, Netscape and FireFox atleast.

Note: I don't have JavaScript Knowledge. Please write me the complete
code. So, I can just copy/paste and change some value.
Regards,
Skon L
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy