Zebra Barcode prints, but doesn't scan - qr-code

I need to print a 17 digit barcode. Values are coming from parameters. Barcode is printed ok, all parameters are there, it looks good, but it doesn't scan anything with the scanner.
This is what i tried:
^XA
^BY2,2,5^FO05,800
^BCN,100,Y,N,N^FV#01/ProductionNumber;02/02;03/ProductionNumber;04/Application;05/param_ProdNumber;07/10#^FS
^XZ
Image: https://ibb.co/2nFNvdR?fbclid=IwAR0H5ptpw0uTsiqFpGLhelp5AXABvZb1XBaHl0CFKD8XYsGb2lW0OKHLyiw

Your printer is lopping off the right 3 characters. That's the number 5, the checksum, and the stop character.

Related

Boxing captor arduino nano 33 ble : problem excel

(sorry for bad english)
I make a project for school : it's a boxing captor made with the Arduino nano 33 ble sense. I only use the accelerometer and gyroscope include on the card. I want to know the acceleration of the boxer's hit in order to deduce the hit power of the boxer. Also the inclinaison of the punching bag will be useful.
The captor will be put on the punching bag.
The simple programm of accelerometer works but when i try to edit it in order to transfer the data excel i have a error message "Error :DATA < ASCII 10 or >ACSII 200 with PLX-DAQ....". I can't fix it..
can you help me please ?
thanks you for your help !!
the code is here
The error says that PLX-DAQ won't accept ASCII characters < 10 or > 200.
\t, horizontal tab is decimal 9. Make sure you only send characters which are decimal 10-200 in the ASCII table.
https://en.wikipedia.org/wiki/ASCII
From the PLX-DAQ manual:
For simple error checking, PLX-DAQ will indicate an error anytime that
a string containing characters < ASCII 10 or > ASCII 200 is received.
Values of ASCII 10 (Line Feed) are replaced with ASCII 13 (Carriage
Return) prior to processing.
I suggest you use comma instead of horizontal tab to separate the values.

Selecting character code table in ESC/POS command

I need print non-english chars on print receipts, use thermal POS receipt printer. Xprinter XP-58III thermal POS receipt printer suppport generic ESC/POS commands.
As I know this should be done by setting character code table. In my case, target code page is 21.
The ESC/POS command for setting Code Page is 'ESC t n' (ASCII) or '1B 74 n' (Hex) where 'n' is page n of the character code table.
I case use of Hex form of command: shold I convert '21' to hex value, or I should use this number without converting, i.e. '1B 74 21'?
Also, where should be added thnis command, right after initialization code?
0x1B 0x40 0x1B 0x74 0x21
I use hex editor to add/edit ESC/POS codes inside the binary file.
EDIT: I solved the issue myself. In order to print any non-english characters on the POS receipt printer, we have to fulfill two conditions: 1) set the correct Code Page, and 2) set the corresponding encoding in receipt file or POS software (same encoding as Code Page). The correct Code Page for this POS printer model is 25 [WPC1257].
I solved the issue myself: the problem was in wrong Code Page set. The correct Code Page for this POS printer is 25 [WPC1257]. We have also set the corresponding encoding in receipt file (same encoding as Code Page).
Page 21 would be "Thai Character Code 11", where 21 is represented in decimal and you need to say "0x15" in binary. Then the command will look like "0x1B 0x74 0x15".
Regarding the command position, the ESC/POS commands are executed in place and affects thereafter in general. There may be no problem it you put it just after the initialization command. Just try.

Free 3 of 9 BarCode Not Scanning

Hello every one here i am Generating a BarCode using Font Free 3 of 9 like this in a .rdlc Report Page.
<Textbox Name="ID">
<rd:DefaultName>ID</rd:DefaultName>
<Top>1.1in</Top>
<Width>1.15 in</Width>
<Style>
<FontFamily>Free 3 of 9</FontFamily>
<FontSize>28pt</FontSize>
<TextAlign>Center</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>6</ZIndex>
<Left>2.26406in</Left>
<Height>0.59063in</Height>
<Value>= "*" & Fields!ID.Value & "*" </Value>
</Textbox>
But the Scanner i have isn't reading it its not scanning it at all. Can any one help where is the error. Its a ID that gets to be printed and should be Scan able but its doesn't Scan. what other Font could Replace it ? It creates the BarCode looks fine prints and every thing Converts to PDF but doesn't Scan.
If your barcode ends in "62462", then all the bars and spaces that describe the previous characters are missing, including the initial "*" start symbol. In other words, the png file in the link above only shows the right hand side of the barcode, but I can't tell how much of the left or "start" of the barcode is cut off. I'm guessing the barcode is being clipped by some bounding rectangle.
Increase the width that you give the image generated by the textbox, and you may be okay.
When working with Code 3 of 9, the start and end of the barcode has a very distinctive look because of the asterisks on each side of the data. It looks like this:
If you work with Code 39 long enough, you'll recognize a code 39 barcode a mile away because of the symbol associated with the asterisks. Thin bar, thick space, then thin, thick, thick, thin bars separated by thin spaces.

ZPL Code 128 doesn't match mPDF Code 128 output

I'm trying to print a Code 128 (Subset A?) barcode to a Zebra label printer. It looks to be printing, and can be scanned by ZXing barcode scanner on my phone, but when using a barcode scanner, it won't read.
Generating the same barcode using MPDF (type="C128A"), generates a barcode with different bars that the barcode scanner we're using does read.
Here's my ZPL: (ZPL Output)
^XA
^BY4,2,164^FT70,330^BCN,,Y,N,Y,N
^FD>9171716171724161925^FS
^XZ
And the equivalent barcode tag used in mPDF: (mPDF Output)
<barcode code="110118039" type="C128A" size="1.5"/>
Any ideas what I'm doing differently between the two would be greatly appreciated.
Looks like the issue was scanner configuration at the user end. Despite the differences in bars, both of the above are actually reading correctly.
I noticed a few problems
You have a ">" in your ZPL within the FD field.
The data you have encoded is not the exact number you are trying to get a barcode for. I wonder how you got what you got, and how it's generating the desired number.
I see you are using the UCC Check Digit = Y parameter. Default is N. You probably don't need this parameter.
Proper ZPL:
^XA
^FO100,100^BY3
^BCN,100,Y,N,N
^FD110118039^FS
^XZ

Hex code lose his format

Can somebody say me what is the problem:
I will print out a hex file on the "Epson TM-t88II" printer, but after this all my "Umlaute" (ä/ö/ü/ß) lost its format and are black dots, etc.
My Hex code for an ü is "FC". Is it false?
&00FC is "ü" in many encoding formats, but not all. If your printer does not know what encoding you're using, it may well not understand what you want to print.
Exactly what are you sending to the printer? And what application are you printing from?
The following may also be of interest.
http://www.joelonsoftware.com/articles/Unicode.html

Resources