Printing "Tab" character in a barcode

Stimulsoft Reports.NET discussion
Post Reply
Roland.K
Posts: 12
Joined: Wed Oct 01, 2008 4:39 am

Printing "Tab" character in a barcode

Post by Roland.K »

I'm currently quite dispaired trying to print a simple "tab" character (ASCII-9 / "\t") in a Code128B barcode.

Tried by just pressing tab key in text editor (which correctly leaves "\t" in the code window) and tried with "\t" in the code editor (which left an escaped "\t" - so "\\t" in code window), but first output was just empty (barcode reader produced just a CR-LF) and second showed sth quite strange ("ét")

hope someone can tell me how to achieve this

thanks
Roland.K
Posts: 12
Joined: Wed Oct 01, 2008 4:39 am

Printing "Tab" character in a barcode

Post by Roland.K »

hi there

would be great if someone had an idea

cheers,
roland
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Printing "Tab" character in a barcode

Post by Ivan »

Hello,

[quote="Roland".K]I'm currently quite dispaired trying to print a simple "tab" character (ASCII-9 / "\t") in a Code128B barcode.[/quote]

Please try write the next expression: {"\t"} or {(char)9}.
For example: {"abc\tdef"} or {"abc" + (char)9 + "def"}

[quote="Roland".K]Tried ......., but first output was just empty .........[/quote]

Code128a: can encode ASCII characters 0 to 95.
Code128b: can encode ASCII characters 32 to 127.

So you must use barcode Code128a.
But we found bug in this barcode: ASCII characters 0 to 31 is not displayed.
Patch will be available in next build from Feb, 16.

Thank you.
Post Reply