electron-pos-printer
electron-pos-printer copied to clipboard
Paper size
How can you determine a variable paper size?
As for example that of a POS document
For me setting paper size in micrometers worked, i.e. for 100m x 75mm labels I set:
const options = {
..
pageSize: { height: 75000, width: 100000 }
};
contents are not fitting in the center how do i center the contents in the center leaves alot of space on the right