Hello, I'm using this code to print for generate report. But it print all on the windows including print button,main menu
navbar, and etc.So I really need help if you guys have better code to print output content only.
<input type="button" onClick="window.print()" value="Print The Report"/>
It does exactly what it says it does. It prints the current window (the one that has focus) to the printer.
Nothing more, nothing less.
If you want to print content only, you will need to create a window with your content only in the window.
Did you have a complete coding examples ???
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread