Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Insertion of horizontal tab in Code128 barcode in designer

Avatar

Former Community Member

Hi All,

I need to insert horizontal tab in code 128 A barcode in designer.

I am using below javascript in calculate event.

this.rawValue = "ABC"+"     "+"123";

I am getting below error while opening pdf.

"Invalid barcode value:ABC     123 is an invalid value for barcodes of type code128A"

Can anyone tell me how to insert horizontal tab in code128 A barcode without such error popup.

1 Reply

Avatar

Level 1

Try a lowercase i.

As long as your barcode reader accepts Code128A codes, the following will give you a tab:

25.00iNONVAT

This will give you:  25.00          NONVAT

Great for Excel