I am printing a normal page with sp90 driver for thermal printer.
<div>Hello test</div>
<script type="text/javascript">
window.print();
My div contains a receipt.
The page size in sp90 driver for thermal printer is 80 by 3260 mm and there are no other options so it prints me a very long receipt which i want to avoid.
Please help
Is there a way to limit the html page to a particular page size?