I know in node we can do something set size: [width,height]
like this.
But while I replace this in python
options = {'page-size':'A4'}
with options = {'page-size':[width,height]}
I get an error.
I want to set a width of 60mm for POS
I know in node we can do something set size: [width,height]
like this.
But while I replace this in python
options = {'page-size':'A4'}
with options = {'page-size':[width,height]}
I get an error.
I want to set a width of 60mm for POS
as said here and here, the correct syntax is: