How to create rectangular 16x48 DataMatrix Industry code
pdfChip supports over 100 symbologies (types of barcodes and matrix codes). In addition, a set of about 100 specific barcode object parameters – plus the extra list of special options in the "options" parameter – make it possible to create many more specialized subtypes of barcodes.
This article illustrates how to create a DataMatrix code of type "Industry", with a rectangular size of "16x48" cells.
The special parameters necessary to create a DataMatrix code of type "Industry" with a rectangular size of 16x48 cells are:
- dm_format: defines "Industry" as the format to be used here
- dm_size: sets the desired size, in this case 16 by 48 cells
- dm_rectangular: sets the form of the DataMatrix code to be rectangular
<object type="application/barcode" >
<param name="type" value="Data Matrix">
<param name="data" value="Put actual data here">
<param name="modulewidth" value="0.25577mm">
<param name="dm_format" value="Industry">
<param name="dm_size" value="16x48">
<param name="dm_rectangular" value="true">
</object>
Note: The actual xqsize in this case is very small (ca. 12mm x 4mm).
The attachment below contains an HTML source file for this rectangular DataMatrix Industry code.