Ashok K
Ashok K

Reputation: 1

Illegal character- Try using extended mode if you need to encode the full ASCII character set

I am unable to generate barcode(code39) for 'space' character. For example: "BAR CODE" I am passing it with = or _ or ~ symbols like below BAR_CODE BAR=CODE BAR~CODE

For all the above, getting an error as "Illegal character- Try using extended mode if you need to encode the full ASCII character set" Image of a stack trace Can you please suggest this.

Thanks& Regards, Ashok.

Upvotes: 0

Views: 1480

Answers (1)

David Greenfeld
David Greenfeld

Reputation: 111

In my case, calling .ToUpper() on the barcode text, solved the problem.

Upvotes: 2

Related Questions