javascript - How to print directly in a HTML page using PHP? -
i'm developing billing software. can print receipt again click print button in print page printing
for ex:
i'm clicking print button in html page,
next automatically open google chrome print window.
and again click print button,
now printing, want print directly. how remove 2nd , 3rd step via programmatic.
how rectify problem help.
<script type="text/javascript"> function printpage() { window.print(); } </script>
i'm using above code output redirected google chrome print page.
and again click print button printing,
- i want print directly
- for example click print button in html page means automatically printing.
- cannot ask inputs.
- and cannot display other dialog boxes.
anyone me please.
explaining
- am click print button in html page: yes have click on print button request browser perform action
- next automatically open google chrome print window: of course, opened printer/page settings asked in ms word same thing happens while printing asks preferred printer & page
- and again click print button: asked submit confirmation
understand whole process & please being on don't make wish
Comments
Post a Comment