cancel
Showing results for 
Search instead for 
Did you mean: 

How can I add CR in WD Java Barcode

former_member300754
Participant
0 Kudos

hi there,

Please advise me how to add CR in barcode?

At the time the barcode is scanned, the lines will be separated by CR? At this moment, I just print out the barcode without CR.

Please help me out of this,

Thanks in advance.

Peerasit

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member300754
Participant
0 Kudos

No solution.

former_member300754
Participant
0 Kudos

    String text1 = "|314567";
    String text2 = "45678";
    String text3 = "9830";
    
    String bar = "";
    bar = text1 + (char)9 + text2 + (char)9 + text3;
    wdContext.currentZtest_Barcode_InputElement().setBarcode_unicode(bar);

Usering "(char)13" in between the strings.