Dynamic page height for thermal paper printing
Hi there,
I have created page with the following dimension.
<style>
@page {
size: 7.2cm 10cm;
}
</style>
As I am printing a bill for POS system in a thermal printer, I can't know the page height before hand.
So I have tried something like this:
<style>
@page {
size: 7.2cm auto;
}
</style>
But it didn't work.
Any idea about this?
Thanks.