Hey guys , i am still stuck i tried everything and still cannot find a solution to my problem , but step by step , my question is how to use this commnd :
ASCII GS k m n d1 ... dn
Hex 1D 6B m n d1 ... dn
Decimal 29 107 m n d1 ... dn
I am not clear how to use the d1 and dn in this line .
I have not read the manual, but to me the "d1 .. dn" is a substitute for "data first .. data count", meaning the payload of the command.
EDIT: The manual says:
d indicates the character code of the bar code data to be printed.
Which would suggest that you need to convert some bar code data into a character code. the "1 .. n" still means that an array of characters representing the entire bar code is expected.
So i dont need to use it ? because when i try to print with the function and making everything there is no barcode printed just empy space , you know its like line feed
As I - as a non-expert in printers - understand the command, the "n" (after "m") in the command, defined how many bars are to be printet in the bar code. The "d1 .. dn" are the characters representing the bar code. Eg. if a bar code has 10 bars it would be something like:
GS k m 10 ABCDEFGHIJ
Where "ABCDEFGHIJ" are the characters defining the bar code. Wheter or not you need this feature is up to you, I would definitely try to get it working just for the fun of it
Still nothing , it just prints the numbers , and there is no empty space . But one interesting thing is when i set the barcode height the empy space moves.
have you tried 0x2 as well ? and just to make sure the warning on page 449 : TM-H5000 :A bar code can be printed only when the paper roll is selected as the print sheet.