<html>
<head>
<script
src =
"https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
$('#sudo').click(function(){
//alert("hi");
window.print();
return
false;
});
});
</script>
<body>
<div>
<a
href="javascript:void()" id="sudo">Print a
Page</a>
</div>
</body>
</html>