I am using a TSC TTP-247 label printer. I am able to print barcodes and texts. Now I want to print graphics. For testing I tried to print a square with 32x32 pixels.
Therefore I built up the following string:
N q608 B17,126,0,1,2,4,120,N,"666" A22,328,0,1,2,2,N,"TEXTFIELD" GW49,68,4,32,00000000000000003ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc3ffffffc0000000000000000 P1
I double-checked the raw-data for the graphic and I am sure that this raw-data is correct.
Bits of the graphic: 00000000000000000000000000000000 00000000000000000000000000000000 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00111111111111111111111111111100 00000000000000000000000000000000 00000000000000000000000000000000 Converted in bytes: 00000000 00000000 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 3ffffffc 00000000 00000000
The printer is printing something, but not the expected square. The position and the size of the printed graphic seems to be correct. But the graphic itself not.
Here is a picture of the print result:
Any suggestions? Are there other things I have to think about?
Here are some links: Printer documentation: https://www.tscprinters.com/EN/support/Support_Download/TTP-247%20Series
GW command example: https://support.zebra.com/cpws/docs/eltron/gw_command.htm
Kind regards