I'm trying to use qz-tray for printing a raw html that contains a table that can go over 2-3 pages.. I put a table head so that it repeats on every page.. But once i send to data to qz tray, i don't see the heads being repeated, also the print is quite pixelated.
const config = qz.configs.create('printerName');
const data = [{
type: 'html',
format: 'plain',
scaleContent: false,
data: htmlToRender,
}];
return qz.print(config, data);