i have tried

<input type="button" value="Print this page" onclick="printpage()">

but it shows no output
and when i use

its open printer diup box, if is good for laser printer/color printer, but it cteate problem for DMP printer i want solution for DMP printer