Open GoogleCodeExporter opened 9 years ago
[deleted comment]
I'm using sample.html and the following is the printPDF() function I used:
function printPDF() {
if (notReady()) { return; }
// Append our pdf (only one pdf can be appended per print)
qz.setPaperSize("3.38in", "2.13in"); // ID Card
qz.setOrientation("landscape");
qz.appendPDF(getPath() + "misc/Landscape.pdf");
//qz.setOrientation("Portrait");
//qz.appendPDF(getPath() + "misc/Portrait.pdf");
//qz.setCopies(3);
qz.setCopies(parseInt(document.getElementById("copies").value));
// Automatically gets called when "qz.appendPDF()" is finished.
window['qzDoneAppending'] = function() {
// Tell the applet to print PostScript.
qz.printPS();
// Remove reference to this function
window['qzDoneAppending'] = null;
};
}
Original comment by khaledmi...@gmail.com
on 29 Apr 2015 at 7:14
@khaledminasr,
We do not have experience with this hardware. The cards we have experience
printing on were the magnetic-stipe credit-card style printers.
To achieve what you are requesting would require some investigation and
possible driver configuration.
Original comment by tres.fin...@gmail.com
on 29 Apr 2015 at 1:24
Original issue reported on code.google.com by
khaledmi...@gmail.com
on 29 Apr 2015 at 7:06Attachments: