You need to sign in to do that
Don't have an account?

hi re
Hi All,
please help me out...bellow scenario
In my visualforce page i display 10 Records with check box,by using wrapper class and i selecting 5 Records and Click on Printer button,it will print 5 Records details in my printer.
please help me out...bellow scenario
In my visualforce page i display 10 Records with check box,by using wrapper class and i selecting 5 Records and Click on Printer button,it will print 5 Records details in my printer.
<button onclick="myFunction()">Print this page</button>
<script>
function myFunction() {
window.print();
}
</script>
You can have a look on the following
To create another vf page and pass the selected records to that vf page use the below link
https://developer.salesforce.com/forums/ForumsMain?id=906F0000000BFqzIAG
Let me know if you have any question.
Don't forget to select best answer to make our efforts visible in the developer forum.
Please mark this as solution by selecting it as best answer if this solves your problem, So that if anyone has this issue this post can help