task #2740 add tag code in name of pdf file

This commit is contained in:
Cayo Puigdefabregas 2022-02-28 12:16:33 +01:00
parent c6538333f7
commit 560d9fae05
1 changed files with 1 additions and 1 deletions

View File

@ -65,5 +65,5 @@ function printpdf() {
min_tag_side = (Math.min(height, width)/2) + border;
pdf.addImage(imgData, 'PNG', border, border, img_side, img_side);
pdf.text(tag, max_tag_side, min_tag_side);
pdf.save('Tags.pdf');
pdf.save('Tag_'+tag+'.pdf');
}