rdfoerster
Programmer
I have the documentation for the printer but the documentation is not much help when you have never worked with bar codes.
The documentation says the following:
ESC(Bn1n2kmsv1v2c data
n=(n1 + (256xn2))
k: Barcode font 0: EAN-13
1: EAN-8
2: Interleaved 2 of 5
3: UPC-A
4: UPC-E
5: Code 39
6: Code 128
7: POSTNET
m: Module width 2: 2 dots
3: 3 dots
4: 4 dots
5: 5 dots
s: Space Adjustment value
-3 <= s <= 3 (1/360 inch units)
v1, v2: Bar Length
v1 + v2 X 256 (1/180 inch units)
I have figured out the following:
k = 5
m = 4
s = 0 or 1
The v and n values are to be determined.
The bar height needs to be .5 to .75 inches which is v. I think the value needs to be v1 = 9 and v2 = 0.
The n values are the number of allowed characters so I believe it needs to be n1=F n2=F for all characters in the ascii chart.
So the finished product is ESC(B 0xff 5 4 0 90 c
Spaces are between the items for readability.
The code is not working so does anyone have any suggestions.
The documentation says the following:
ESC(Bn1n2kmsv1v2c data
n=(n1 + (256xn2))
k: Barcode font 0: EAN-13
1: EAN-8
2: Interleaved 2 of 5
3: UPC-A
4: UPC-E
5: Code 39
6: Code 128
7: POSTNET
m: Module width 2: 2 dots
3: 3 dots
4: 4 dots
5: 5 dots
s: Space Adjustment value
-3 <= s <= 3 (1/360 inch units)
v1, v2: Bar Length
v1 + v2 X 256 (1/180 inch units)
I have figured out the following:
k = 5
m = 4
s = 0 or 1
The v and n values are to be determined.
The bar height needs to be .5 to .75 inches which is v. I think the value needs to be v1 = 9 and v2 = 0.
The n values are the number of allowed characters so I believe it needs to be n1=F n2=F for all characters in the ascii chart.
So the finished product is ESC(B 0xff 5 4 0 90 c
Spaces are between the items for readability.
The code is not working so does anyone have any suggestions.