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
javascript firefox-addon printers printer-control-language


source to share


No one has answered this question yet

Check out similar questions:

263
Find JavaScript function definition in Chrome
7
Printing to Brother Label Printer from a Browser [UPDATED]
five
Update firefox profiles programmatically
2
How to choose a paper tray for your printer
1
output specific data from div and print it through printer
0
Printer Driver - Custom Paper Size
0
How do I set the value of a property in Polymer 2.x?
0
Poor image quality with Brother QL820NWB label printer
0
print only div content of a certain size on a wireless marking printer



All Articles
Loading...
X
Show
Funny
Dev
Pics