@ -436,11 +436,9 @@ export function addCPCLText(x, y, fontName, fontSize, rotation, content) {
var strCmd = '';
if (rotation == 1) {
strCmd += 'T90 ';
}
}else if (rotation == 2) {
if (rotation == 2) {
strCmd += 'T180 ';
}else if (rotation == 3) {
if (rotation == 3) {
strCmd += 'T270 ';
} else {
strCmd += 'T ';