electron-pos-printer icon indicating copy to clipboard operation
electron-pos-printer copied to clipboard

Paper size

Open didierpasuy opened this issue 3 years ago • 2 comments

How can you determine a variable paper size?

As for example that of a POS document

didierpasuy avatar Jan 21 '21 14:01 didierpasuy

For me setting paper size in micrometers worked, i.e. for 100m x 75mm labels I set:

const options = {
   ..
   pageSize: { height: 75000, width: 100000 }
};

kalnado avatar Apr 22 '21 10:04 kalnado

contents are not fitting in the center how do i center the contents in the center leaves alot of space on the right

sKY02644 avatar Jan 06 '22 10:01 sKY02644