Pdf417 Quantity Of Values Follow

0
Avatar
Legacy Poster

I am creating a PDF417 Barcode on a 4 X 6 label and it seems that I can only load 86 values into the barcode before I get a Encode error input data too long. I may have to load more than 86 values into this Barcode. Is there a setting to allow me to load more or is there a maximum of characters or values?

6 comments

0
Avatar
Ian Cummings
Moderator
Comment actions Permalink

When you say 86 values, do you mean data sources  with more than one character in each?  A PDF-417 barcode symbol with error correction set to zero supports up to 1850 text characters, 2710 digits, or 1108 bytes.

0
Avatar
Legacy Poster
Comment actions Permalink

86 values each of which are 15 characters long so 1290 characters but I'm also putting a carriage return line feed after each value (vbCrLf) do I need to do this?

0
Avatar
Ian Cummings
Moderator
Comment actions Permalink

That's kind of for you to say rather than me.  However, as your values are of fixed length I guess you don't need a delimiter to separate them out on the data capture side. Note that a vbCrLf is two characters, so perhaps a one character delimiter might be better...

0
Avatar
Legacy Poster
Comment actions Permalink

Actually I realize I need the vbCrLf in the data because the values have to be on separate lines, so I decided to do 2 PDF417 Barcodes on the same Label. I'm new to VB Script so I'm trying to figure out how to start the second barcode using the 87th value of my Excel file, any ideas would be appreciated, this is what I'm using to get my values.

 

strNames = strNames + Cstr(rs.fields("IMEI")) + vbCrLf

       rs.MoveNext()

 

 I would like to do this by starting with the 87th value of my IMEI field

0
Avatar
Ian Cummings
Moderator
Comment actions Permalink

I guess you could use a combo of rs.MoveFirst() and rs.Move(87) to get the cursor where you want in the recordset.

0
Avatar
Legacy Poster
Comment actions Permalink

This worked thank you.

Please sign in to leave a comment.