Add comments and createInternalStickerZPL() param

This commit is contained in:
Eden Kirin
2023-08-18 11:22:44 +02:00
parent 71506f60c2
commit ce10a8faa0
2 changed files with 9 additions and 3 deletions

View File

@ -149,8 +149,7 @@ function imageToGRF(imgUrl, options) {
});
}
async function createInternalStickerZPL(options) {
const templateName = "sticker-70x35";
async function createInternalStickerZPL(templateName, options) {
const template = TEMPLATES[templateName];
const agencyLogoZPL = await imageToGRF(options.agencyLogoUrl, {