JS PDF coordinaten
<script src=”https://cdnjs.cloudflare.com/ajax/libs/jspdf/0.9.0rc1/jspdf.js”></script>
var doc = new jsPDF();
var page = 1;
var exportText = ‘Export at ‘ + sld.format_date(0, “ddmmyyyy”) + ” ” + sld.format_date(0, “tijd”);
doc.setFontSize(20);
doc.text(20, 20, ‘San Lucar – Orders ‘ + selected_date);
doc.addImage(logo, ‘JPEG’, 160, 10, 35, 15, “template”, “NONE”, 0);
doc.setFontSize(10);
doc.setTextColor(“282828”);
doc.save(“SL_” + timestamp + “.pdf”);
Upload je foto
Klik waar de baseline tekst moet komen