baanjim
4th November 2013, 19:55
Hi,
I want to print data in 2D barcode (QR).
With my exemple it doesn't work.
My code is (in report script)
declaration of a variable tcmcs.str100 test.barcode
And assignation with the bc$ function as follow:
test.barcode = bc$ (1010, 3, "test" , BC2D_SET_MODE (0x01) + BC2D_SET_LEVEL (0x03) + BC2D_SET_COLUMNS (0x01) )

I tried to use the exemple in the 2Dbarcode.bpf file to write my function.
I tried a lot of combinations but it never works (barcode not printed).
I checked the presence of the 2D dll Dls2Dunu.dll in my bin directory. It's ok.
I have an error in the events viewer when executing report:
Message : The picture for barcode type 1010 (QR Code) could not be generated. The error is: Invalid character in data
.

Maybe my option values are not well setted? I put value in decimal mode but i doesn't work...

Thank you for any help :confused:

baanjim
4th November 2013, 20:04
;)
Ok the QR code doesn't work with the "test" value. I must use a variable.
(Note that in 1D it works fine :eek:)

Tomas Toth
10th June 2015, 22:44
Hi
Please don't you know why in the variable cannot be letters, so Alphanumeric ??
If there is one single letter, code does not get printed ???

Tomas Toth
11th June 2015, 10:40
ok, letters solved, and realized that it depends on data type capacity .
Don't you know please what is the capacity for QR code ?