I want it to be printed automatically, skipping the print dialog. Already tried self.print but it's still not working as i wanted to. Or if there is any alternative for this
<script type="text/javascript">
window.onload=function(){self.print();}
</script>