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