Go Back   CodingForums.com > :: Client side development > JavaScript programming > DOM and JSON scripting

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-29-2009, 09:17 PM   PM User | #1
Jordan656
New Coder

 
Join Date: Jun 2008
Location: UK
Posts: 53
Thanks: 12
Thanked 0 Times in 0 Posts
Jordan656 is an unknown quantity at this point
open print box when page opens?

hi all

i am using this script to open a popup from a webpage when the user clicks an image

Code:
<a href="#" onclick="window.open('f217_printer_friendly.php','popup','width=700,height=800,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false" ><img src="../images/printer.gif" border="0" alt="Printer friendly version of this page" /></a>
i would like when this page appears for it to automatically open the print options box, as if the user had already clicked file, print.

I know its possible because a system we have at work does it, but i cant work out how.

Any help much appreciated.



Found he answer to my own question - anyone else wanting to do this check out this page:
http://www.quackit.com/javascript/javascript_print.cfm

Last edited by Jordan656; 03-29-2009 at 09:41 PM.. Reason: found my own answer
Jordan656 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:04 AM.


Advertisement
Log in to turn off these ads.