This is how I try to change the paper size using qz.configs
var config = qz.configs.create("EPSON LX-300+ /II", { size: { width: 8.15, height: 13}, units : 'in' });
I run config.getOptions and it show this
altPrinting:false
colorType:"color"
copies:1
density:0
duplex:false
encoding:null
endOfDoc:null
fallbackDensity:600
interpolation:"bicubic"
jobName:null
margins:0
orientation:null
paperThickness:null
perSpool:1
printerTray:null
rasterize:true
rotation:0
scaleContent:true
size:Object
height:13
width:8.15
__proto__:Object
units:"in"
It seems the paper size already stored but somehow doesn't make any effect.
This is my ESCP which is not running too
var data = new Array(
'\x1B' + '\x40',
'\x1B' + '\x30', // ESC 0
'\x1B' + '\x43' + '\x00' + '13', // ESC C NUL 13
'\x1B' + '\x32', // ESC 2
'\x1B' + '\x4E' + '\x36', // ESC N 6
'\x1B' + '\x30',
'HELLO WORLD!!!!!!' + '\x0A',
'This is Me!!!!!!' + '\x0A',
'This world is beautiful!!!!!!' + '\x0A',
'Every thing is amazing!!!!!!' + '\x0A',
'HELLO WORLD!!!!!!' + '\x0A',
'This is Me!!!!!!' + '\x0A'
);
Am I using wrong method to set the paper size?
Thanks
--
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.