Identifying label paper Brother QL-570
I am developing a webapp where I want to allow the user to print directly to a label printer (Brother QL-570). The label will contain a barcode and some text, and for that I am currently looking into the jsprintsetup Firefox addon.
I was able to install the printer correctly, but I was unable to set the paper detection for the Brother Small Address Label (62x29mm) and I cannot figure out how to find the correct way to set it up.
My script looks like this:
jsPrintSetup.setPrinter('Brother QL-570 LE');
jsPrintSetup.setOption('orientation', jsPrintSetup.kPortraitOrientation);
jsPrintSetup.definePaperSize(200, 200, 'XX', 'XX','Small Address Label', 62, 29, 1);
jsPrintSetup.setPaperSizeData(200);
But I'm stuck. Help would be appreciated.
+3
source to share
No one has answered this question yet
Check out similar questions: