Is there a way to limit the html page to a particular page size?

933 views Asked by At

I am printing a normal page with sp90 driver for thermal printer.

<div>Hello test</div>
<script type="text/javascript">

window.print();

My div containsenter image description here 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?

0

There are 0 answers