Carriage Return on Barcode 128 in Javascript

Avatar

Avatar
Level 1
watcharaphon
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile

Avatar
Level 1
watcharaphon
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
watcharaphon
Level 1

20-06-2021

Hello,
I would like to request advice on AEM Forms with Barcode 128. To generate Barcode 128 on Form, I will require to show "|" character and Carriage Return but barcode was not generated with both in data.
- What is carriage return for javascript syntax of Barcode 128? Barcode 128 with javascript can not use "\n" or "\r" or "\012" or "\015" for carriage return.
- For Barcode 128A can use with Carriage Return but missing "|" : What is syntax for "|" on Barcode 128A? When Text data initial with "|" on Barcode 128A, it was removed in Barcode.

For example :
Barcode.rawvalue = "|" + xxx.rawvalue + "\n" ;

I hope if advise can be provided via this support channel.

 

Regards,
Toom

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 100
Employee
Kosta_Prokopiu1
Employee

Likes

165 likes

Total Posts

369 posts

Correct reply

107 solutions
Top badges earned
Affirm 100
Validate 1
Establish
Give Back 5
Give Back 3
View profile

Avatar
Affirm 100
Employee
Kosta_Prokopiu1
Employee

Likes

165 likes

Total Posts

369 posts

Correct reply

107 solutions
Top badges earned
Affirm 100
Validate 1
Establish
Give Back 5
Give Back 3
View profile
Kosta_Prokopiu1
Employee

22-06-2021

Check this URL regarding the supported characters:

Code 128 - Wikipedia

Kosta_Prokopiu1_0-1624355447014.png

and check String.fromCharCode()

JavaScript FromCharCode Function (tutorialgateway.org)

Answers (0)