jlhaslip
Feb 6 2008, 06:50 AM
| | I am not a javascript expert, (far from it, in fact), but simply wanted to suggest that using javascript to 'select' a printer may not be an option, due to the controls about whether the Browser (javascript) can make certain choices for the User. If javascript can select the default printer, it could also de-select the printer and javascript is not allowed to do various things such as this. it is a designed feature to limit the ability of the web softwares to 'control' your web viewing. |
Reply
delivi
Feb 6 2008, 04:36 PM
I a simple link with this code is enought to print the content of the page CODE <a href="java script:print();">Print this Page</a> This will work in IE, FF & Opera but not in safari
Reply
galexcd
Feb 6 2008, 06:44 PM
Of course you couldn't print without displaying the box first. If javascript had that kind of power could you imagine the abuse websites could do? Print out 40 pages of pure black while your surfing the net and you wouldn't even know until you hear the printer going. QUOTE(delivi @ Feb 6 2008, 08:36 AM)  This will work in IE, FF & Opera but not in safari It works fine in safari.
Reply
tefanclub
Mar 7 2008, 12:12 PM
thanks
Reply
Recent Queries:--
php page print - 2.94 hr back. (1)
-
php print button code - 5.07 hr back. (1)
-
print web page php - 8.99 hr back. (1)
-
make button to print a page with out the button - 10.96 hr back. (1)
-
print page php - 11.78 hr back. (2)
-
php print page - 11.79 hr back. (2)
-
php print new page - 23.71 hr back. (1)
-
create print button php - 24.07 hr back. (1)
-
php print a page automatically - 25.14 hr back. (1)
-
php print this page - 27.52 hr back. (1)
-
php print page to printer code - 28.35 hr back. (1)
-
"print web page" php - 28.40 hr back. (1)
-
how to print a web page in php - 28.98 hr back. (1)
-
create print button for html page - 29.64 hr back. (1)
Similar Topics
Keywords : button, print, current, web, page
- Multiple Drop Down Menus W/ Submit Button
(6)
Dynamic Button Size
(1) In my application I have a custom tag that generates all the action buttons that the page needs. My
problem is that in IE the space between the left side of the button and the image inside the button
are not consistant. Some buttons have 3 or 4 more pixels of padding on the left side then others.
This causes my buttons to be too large and hence the area the buttons are generated in stretches too
far. I could wrap the buttons around to another line or add scroll bars.. but if it will fit in FF I
think it should fit in IE as well. So my question is can I set the padding....
Refresh Page After Back Button Hit
(11) Hi. I have a page that is dynamically build through DOM manipulation. So, when I browse outside the
page, and then click back, those dynamically created DOM objects are gone. Since I am also using JSP
/ Servlet technology, I can rebuild this page easily, which I have done. Here is my dilemma. If
the user leaves the dynamic page, then clicks back on their browser, I need the page they are going
back to to refresh. I can't figure out how to do this. I've tried using the META tag, but it
won't do it. Help would be appreciated. Thanks. ....
Submit Button
(3) I have a form on my page. I do not have a submit button, but when I hit enter on my text field, it
is like I am clicking on a submit button. My page refreshes to the original state, and my values are
reset. I found this out because I made a submit button and tried it. Is there a way to get around
this? I am trying to use a javascript that captures the key strokes. That works, but then the submit
like event still fires after my code runs, nullifying any changes my code has made. html4strict
Code: CODE 1. <form name="FormPictureInfo"> 2.....
Radio Button
(4) I am trying to maintain the radio button selection on a Submit, but the form refreshes to its
default selection. BTW, After a Submit is clicked, the radio form stays visible on the top of the
screen while the query results are displayed on the bottom half of the screen (we're using an
internal, embedded link). That's when the default selection comes into place. Any help would be
appreciated. Please respond Kvarnerexpress.....
Substitute Form Button For An Image
homemade images in forms buttons (3) Hi, I have the next formular : CODE <form method='post'
action='index.php?mode=2&id=1'> <input type='hidden'
name='name' value='Canon Digital Ixus 700'/> <input
type='hidden' name='id' value='1'/> <input
type='hidden' name='qty' value='1'> <input
type='hidden' name='cost' value='40'> <input
type='submit' value='Add to ca....
Enter Keypress Submits Wrong Button
(2) Ive got a form, with a submit button on the left and a submit button on the right. By default on the
enter keypress, the form submits the left submit button, but i want it to submit the right button.
How would i accomplish this? kvarnerexpress....
Looking for button, print, current, web, page
|
|
Searching Video's for button, print, current, web, page
|
advertisement
|
|