Data not found

39 views
Skip to first unread message

santiago arango

unread,
Feb 9, 2014, 10:28:57 PM2/9/14
to ruby-...@googlegroups.com
When i use a 128C generator whit this string "00012345678900000024148200000000006000201307105" throws me the error "Data not found", i don't know if it has a limit number or what's wrong?


thank you so much. 

Tore Darell

unread,
Feb 10, 2014, 7:50:59 AM2/10/14
to ruby-...@googlegroups.com
It's "Data not valid", and it's because you have an odd number of digits. 128C requires an even number of digits as it encodes two at a time. You can either pad it or use different charsets.

Barby::Code128B.new("0#{Barby::Code128::CODEC}0012345678900000024148200000000006000201307105")



On Mon, Feb 10, 2014 at 4:28 AM, santiago arango <santiag...@gmail.com> wrote:
When i use a 128C generator whit this string "00012345678900000024148200000000006000201307105" throws me the error "Data not found", i don't know if it has a limit number or what's wrong?


thank you so much. 

--
You received this message because you are subscribed to the Google Groups "Barby" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-barby+...@googlegroups.com.
To post to this group, send email to ruby-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ruby-barby.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages