Page 1 of 1

How to add line break in Barcode

Posted: Wed Apr 23, 2025 4:01 am
by simon ren
Hello,
Could you please advise how to insert a line break in a 2D barcode? Specifically, for a QR code, I need the scanned content to display as:
123
456
rather than 123456. How can I add a line break after "123"?


Thank you.

Re: How to add line break in Barcode

Posted: Wed Apr 23, 2025 11:41 am
by Max Shamanov
Hello,

Could you please send us a sample report with test data that reproduces the issue for analysis?

Thank you.

Re: How to add line break in Barcode

Posted: Mon Apr 28, 2025 1:38 am
by simon ren
QQ截图20250428092751.png
QQ截图20250428092751.png (166.55 KiB) Viewed 1311 times
report .mrt
(8.85 KiB) Downloaded 164 times

Re: How to add line break in Barcode

Posted: Mon Apr 28, 2025 1:41 pm
by Lech Kulikowski
Hello,

Try to use the following expression:
{"123" + "\r\n" + "456"}

Thank you.

Re: How to add line break in Barcode

Posted: Thu Jun 12, 2025 2:50 am
by simon ren
Hello,

After configuring as you instructed, the scan results still aren't wrapping.
Image
Image

Are there any other methods?

Thank you.

Re: How to add line break in Barcode

Posted: Thu Jun 12, 2025 6:46 am
by Lech Kulikowski
Hello,

Try to use the following expression:
{"12345" + "\r\n" + "678901"}

Thank you.