|
-
Mar 5th, 2003, 06:06 AM
#1
Thread Starter
Fanatic Member
javascript > print
hi!!!
i have a button on my page where i wrote this code
onclick="window.print()"
to print the page but when i click it
i get another window to ask properties about page
is there any way to print the page directly with out showing this window.....
-
Mar 5th, 2003, 10:07 AM
#2
Member
No. And that's a good thing. Otherwise someone could write:
Code:
onload="while (true) window.print()"
and the user will not be given the choice to print them or not.
-
Mar 5th, 2003, 11:43 PM
#3
Thread Starter
Fanatic Member
thanks for replay..
But i think it should be any thing for that purpose.....
and the statment u wrote for print ...
we can do many more things like this.. but why we do ????
any way.. i hope there will be any solutions for that....
thanks again.
-
Mar 7th, 2003, 07:15 AM
#4
New Member
There is definately not a way of doing that, i've looked into this before.
Anyway, its not much trouble for the user to click 'OK' anyway is it?
-
Mar 8th, 2003, 12:53 AM
#5
Thread Starter
Fanatic Member
ok thanks to all u . for replaying...
but my cheif says that i didn't want to click ok button when i click the print button.
i will tell him again that it is not possible.
thanks again..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|