Does anyone knows any client-side printing method to use instead of server side one? Sample will be good.
Thank you.
Could you find example of client side printing? I am looking for the same thing. It would be great if you can share some sample code if you have done that. I tried following and it was working before but for some reason it's not working now. I suspect on latest update in chrome browser.
vWindow = window.open('', '', 'width=700,height=600,status=yes,toolbar=no,menubar=yes,location=no,resizable=yes,Scrollbars=yes'); | |||
vWindow.document.write('<html><head>'); | |||
vWindow.document.write('<title>' + 'Print' + '</title>'); | |||
vWindow.document.write('</head><body>'); | |||
vWindow.document.write(vMapDiv.getEl().dom.innerHTML); | |||
vWindow.document.write('</body></html>'); | |||
vWindow.print(); |
I am still looking for client side printing. Here is another link I found:
Hope someone got a good example to share.
Thanks.