activex control and the size of pdf417

Anything related to Barcode ActiveX programming

activex control and the size of pdf417

Postby rene on Thu Aug 14, 2014 3:22 am

i am trying to make a barcode for invoice slip for croatia but i have some problems.

croatian standard for this barcodes is:

- width of a barcode is 58mm(max height is 26mm)
- aspect ratio is 3:1
- width of module is 10mils
- 9 cols
- 14 rows
- ecl 4
- binary data coding

when i input all this i get message "size parameter is too small"

here are the parameters i use:
aspectratio:0
cols:9
module width:10 mils
rows:14
security level:4
target DPI:600
yheight:3.1


width:5,8cm
height:1,93cm

What am i doing wrong? where can i switch to binary data coding?

thx,

rene
rene
 
Posts: 2
Joined: Thu Aug 14, 2014 2:36 am

Re: activex control and the size of pdf417

Postby glitch on Thu Aug 14, 2014 9:26 am

You do not need to specify binary encoding. The encoder selects the best encoding by itself. This behavior is required by the PDF417 spec.

The error basically says that the data is too big to be encoded under the given parameters. Either you need to lower the ECL value, or increase the number of rows/cols. You can set the rows to 0 so that the barcode can grow vertically.
The information above is provided "AS IS", with no warranties, and confers no rights.
User avatar
glitch
Support Engineer
 
Posts: 198
Joined: Wed May 14, 2008 2:42 pm

Re: activex control and the size of pdf417

Postby rene on Mon Aug 18, 2014 2:33 am

OK, i got that, now i have other problem, th barcode must be 58mm wide and i cant get it that wide

i can get 55mm or 62 but not 58mm

how do u mean that it selects automaticly? dont i have any control over it? How do i know which encoding it is automaticly chosen?
rene
 
Posts: 2
Joined: Thu Aug 14, 2014 2:36 am

Re: activex control and the size of pdf417

Postby glitch on Mon Aug 18, 2014 9:04 am

If you must get exact 58mm, you can change the module width to 58/55 * 10 = 10.5 mils.

The encoding is automatically chosen based on the algorithm in the PDF417 spec. You need special decoder tools to view the encoding.
The information above is provided "AS IS", with no warranties, and confers no rights.
User avatar
glitch
Support Engineer
 
Posts: 198
Joined: Wed May 14, 2008 2:42 pm


Return to Barcode ActiveX Control

Who is online

Users browsing this forum: No registered users and 1 guest