HI
Can any1 tell me how to use the Printer Functions
I want to have a link, and when a customer click on the link it must print out the selected page
Almost like in windows if you right click and select PRINT TARGET , But in a link
Thanks
JS Version:
<a href="javascript:window.print();">Print</a>
Originally posted by LordShryku JS Version: <a href="javascript:window.print();">Print</a> [/B]
Originally posted by LordShryku JS Version:
[/B]
But where do you specify the URL to print
This really isn't PHP. Asking in a Javascript forum might get you results faster.
That will print the current window. I don't know of a way to print a foriegn url without focus, so I'd suggest having the link open the window in a hidden iframe, popup window, whatever, then print and close.
The whole idea is to start printing invoices after they are created by php, Without any popups, Just one button , and all invoices gets printed
I have tried the PHP printing functions but i cannot get them to work
OK, I managed to get the PHP printing function to work after adding the extension, but its not going to work cause printing must be done on the endusers Printer
again
Also: Getting the browser to open a new window/in another frame/do something when I click the mouse...