FastReport icon indicating copy to clipboard operation
FastReport copied to clipboard

FastReport.OpenSource "Barcode" object, DataMatrix type, control codes handling

Open vvche69 opened this issue 6 years ago • 5 comments

The "Barcode" object, with type "DataMatrix" treats sequence "&1;" in incoming data as a control code FNC1. Sometimes it's not necessary and incoming string must be encoded "as is", There is a property "AutoEncode", but it works only for Code128 barcodes. Is it possible to add this property to DataMatrix barcodes?

Thank you.

vvche69 avatar Dec 09 '19 06:12 vvche69

I've added the feature to a task list for development team.

Detrav avatar Dec 09 '19 07:12 Detrav

Thank you.

vvche69 avatar Dec 09 '19 07:12 vvche69

Upon reflection, I think there would be another problem - how to create GS1-DataMatrix barcodes? GS1-DataMatrix contains FNC1 as a first symbol, so in such case we need a sequence "&1;" to create FNC1, but only if such sequence starts an input string. If "&1;" is located inside an input string, it shouldn't be treated as special code. Conflicting requirements?

Or maybe, is it possible to implement a separate type for GS1-DataMatrix barcodes?

vvche69 avatar Dec 09 '19 17:12 vvche69

Hello. Please download the latest version and check. Perhaps this bug was fixed.

KirillKornienko avatar Apr 29 '20 11:04 KirillKornienko

Hello. Please download the latest version and check. Perhaps this bug was fixed.

Добрый день! У объекта Barcode c типом "DataMatrix" появилась возможность задать тип GS1? Сходу не увидел, если можно, покажите, пожалуйста, как? Спасибо.

vvche69 avatar Apr 29 '20 17:04 vvche69