-
print
I'm not sure if here it is the place to leave this question, but it has relation with web pages.
I need to put a print button in a web page and print that web page directly, I don't want to appear the printer dialog, is it possible, how do I achieve that.
Your help is really appreciated.
Best regards
-
Re: print
Here is the code I got from Steve Ledger that automatically creates a button which calls up the Print dialog.
<form><input type="button" value=" Print this page "
onclick="window.print();return false;" /></form>
-
Re: print
Gary,
Thank you very much for your answer, but I need to hide the print dialog, the idea is that user just click the web page's button and nothing else, I want to avoid he/she be able to change printer settings, etc.
Best regards
-
Re: print
I'm afraid that isn't possible Javier. The Windows print dialogue always displays before the print job is sent to the spool manager. The user may have several printers connected and need to choose which one to send the job to. They also may want to select duplex mode or to print more than one copy.
This is an OS level operation which you can't get around.
-
Re: print
Steave,
Thank you very much for your answer.
Best regards