Browse Source

标签中文

master
han\hanst 3 months ago
parent
commit
d0505a2c36
  1. 4
      src/utils/zplGenerator.js

4
src/utils/zplGenerator.js

@ -255,8 +255,8 @@ export class ZPLGenerator {
fontCmd += ` ^CW${fontLetter},E:${fontFile}` fontCmd += ` ^CW${fontLetter},E:${fontFile}`
console.log(`ZPL字体映射: ${fontFamily} -> ${fontFile}, 字母: ${fontLetter}`) console.log(`ZPL字体映射: ${fontFamily} -> ${fontFile}, 字母: ${fontLetter}`)
} else { } else {
fontCmd += ' ^CWA,E:ARIAL.TTF'
fontLetter = 'A'
fontCmd += ' ^CWJ,E:ARIAL.TTF'
fontLetter = 'J'
console.log('使用默认字体: ARIAL.TTF, 字母: J') console.log('使用默认字体: ARIAL.TTF, 字母: J')
} }

Loading…
Cancel
Save