Bom dia a todos, tenho uma impressora termica, e consegui colocar ela a imprimir QRCode sem problema nenhum. Porém quando é um QRCode com uma string acima de X caractéres ele não imprime um QRCode de forma correta, meu celular não consegue intrepertar o código. Eu acho que tem a ver com o MODEL SIZE, MODEL ERROR CORRECTION, porém eu não entendo nada… estou usando o seguinte codigo:
bytes.AddRange(new byte[] { 0x1D, 0x28, 0x6b, 0x04, 0x00, 0x31, 0x41, 0x32, 0x00 }); // Select model
bytes.AddRange(new byte[] { 0x1D, 0x28, 0x6b, 0x03, 0x00, 0x31, 0x43, 0x07 }); // Set module size (8)
bytes.AddRange(new byte[] { 0x1D, 0x28, 0x6b, 0x03, 0x00, 0x31, 0x45, 0x39 }); // Set error correction
bytes.AddRange(new byte[] { 0x1D, 0x28, 0x6B, dataPL, dataPH, 0x31, 0x50, 0x30 }); // Start store qr data.
bytes.AddRange(qrBytes);
bytes.AddRange(new byte[] { 0x1D, 0x28, 0x6b, 0x03, 0x00, 0x31, 0x51, 0x30 }); // Print qr data from