Does anybody know how to create a code for Barcode 128 (especially 128B) in Financials?
My main problem in this matter is the conversion of values starting at 96 (these values can be needed when calculating the checksum). The values between 64 and 95 can easily be converted with a variable of type CHAR. But how do I convert the values starting at 96 (so called scancodes, like FNC2, FNC3, SHIFT)?
Thanks
0
Comments
Al the specified things can be done, but you need some character translation in your c/al code.
You can find more info at http://www.barcodingfonts.com
Rgds
Benny Giebens
Benny Giebens
What you can do is to use a report to write an ascii file to the hard drive and then call Bartender at the end of the report.
It should be relatively simple to create an OCX to obtain a string representing the integer value passed as a parameter.
Can send you one, if you really need it.
Urmas
urmas.pill@rlk.ee
of course you're right. The problem also exists with value 95.
To Urmas,
it would be great if you could send me the OCX!
--> dirk.manders@datasave.de
Thanks to all of you!
Calculating Code128 is easiest in an array of integers, one for each character of the resulting barcode string, including start character and checksum.
Once you have the entire array calculated, you convert it to text.
Assuming
integer array x[30],
text string y len(30),
integer i,imax
The following code converts the array to text:
for i:= 1 to imax do
y := x;
-jp