edward
2014-11-2 11:45:54
6/2145

Since version 20141102, VariPrint start to support GS1 Datamatrix, below is the operation guide for your reference.

1. Important setting, from Version20141102, there will have this item after installation.

2. Use black 2D controller to drag a box and do setting."@@" is in fact the FNC1 character which need in GS1 Datamatrix. @@ is the VariPrint's own definiation, it will be replaced to certain character by the internal programming.

Attention: the sample only include GTIN, Expiry and BATCH/LOT with pre-defined length. Sample data: @@01088065540148291716031710AG4009

If data length is varaible, it should add second or more @@ to separate like

reference:

3. Change code to DataMatrix and do setting to "Black line width inching" item.

4.If all of data come from database, here is the import method,

For eample, the database like the following format,

In the expression setting,

If you want to make the human readable code under the GS1 Datamatrix, you can use variable text controller to drag a box, in its expression setting,

the preview is


At the bottom of this thread, we list all of setting rule for your reference,

P1--- Dot gain compensation value, the unit is pixel (Only valid in the Professional version)
P2--- 0, it is fixed setting
P3--- 1, it is fixed setting
P4--- Size limitation, we will calculate the final size to close to the setting size based on prinitng resolution. Equal or less then the setting size. The unit is mm. Attention: If this parameter is set to 0, the final barcode size will be calculated according to box size set and will close it.
P5--- The size type of the datamatrix
-2: calculate the square type size according to the data automatically.
-1: calculate the rectangle type size according to the data automatically.
0 :  SIZE 10 * 10 (Aspect ratio: rows * columns)
1 :  SIZE 12 * 12
2 :  SIZE 14 * 14
3 :  SIZE 16 * 16
4 :  SIZE 18 * 18
5 :  SIZE 20 * 20
6 :  SIZE 22 * 22
7 :  SIZE 24 * 24
8 :  SIZE 26 * 26
9 :  SIZE 32 * 32
10 :  SIZE 36 * 36
11 :  SIZE 40 * 40
12 :  SIZE 44 * 44
13 :  SIZE 48 * 48
14 :  SIZE 52 * 52
15 :  SIZE 64 * 64
16 :  SIZE 72 * 72
17 :  SIZE 80 * 80
18 :  SIZE 88 * 88
19 :  SIZE 96 * 96
20 :  SIZE 104 * 104
21 :  SIZE 120 * 120
22 :  SIZE 132 * 132
23 :  SIZE 144 * 144
24 :  SIZE 8  * 18
25 :  SIZE 8  * 32
26 :  SIZE 12 * 26
27 :  SIZE 12 * 36
28 :  SIZE 16 * 36
29 :  SIZE 16 * 48

P6--- Encoding Type No.
Fastest decode=-2
Smallest size=-1
  Ascii=0
  C40=1
  Text=2
  X12=3
  Edifact=4
  Base256=5

P7--- GS1 Datamatrix or Datamatrix
 1=GS1 Datamatrix
 0=Datamatrix

P8--- Add white outline around the barcode or not
 1=Add
 0=Not add
* Add white ouline means extend the array, e.g. original setting array is 12 x 12, after adding white outline, the array becomes 14 x 14. The goal of adding this feature is to avoid adnormal crop of the  black position line due to printing process error sometime.

P9--- Reverse display

1=reverse display

0= normal display  

edward

GS1_DataMatrix_Introduction_and_technical_overview 50.png


GS1_DataMatrix_Introduction_and_technical_overview 51.png

GS1_DataMatrix_Introduction_and_technical_overview 52.png

GS1_DataMatrix_Introduction_and_technical_overview 53.png

GS1_DataMatrix_Introduction_and_technical_overview 54.png

edward

Remarks for special data case:


  1. If the data itself include " as the content, how to take?

For example, the data is 

010888001073806821IFt*O"v93c01p

Notice: Here  is a hidden separator before 93, you can't see it.


Step 1: Must add “” to bracket above string, change it to "010888001073806821IFt*O"v93c01p", Why? because in VariPrint, it will treat " as the seperator in default. there is a " between O and v, O"v.


How to do?

Open Excel to open above txt file, save to csv,  the process will automatically add above "" to the string if already include ".

But in this way, the data will change to  "010888001073806821IFt*O"v 93c01p", it will change the hidden hidden separator to a space before 93. So we need to process this space in the Step 2 inside VariPrint


2023-12-21 20-18-22.png


Step 2: Create a parameter to change back above space to the hidden separator charactor code 29, the parameter is as follow, Note: Here the fieldname is Column_1 in this case,

ReplaceStringToHex($Key database.Column_1$, ,29), and give this parameter name as A1,

Weixin Image_20231221202002.png


Step 3. Design GS1 Datamatrix, set up the expression as @@$parameter.A1$, and set up the GS1 Datamatrix accordingly.


2023-12-21 20-20-58.png


2023-12-21 20-22-14.png



Finish!






edward

Remarks for sepcial data case,


If the data itself include PAD as the content, how to take? 


Go to VariPrint installation folder, edit setting.ini, remove parameter line: GSFNC2=FNC1|232|PAD|129|#|35, save and restart VariPrint.


Note: In this default setting.ini, we treat PAD and # as the separator in default. but we find some customer's data actually use PAD as the content. so we MUST remove this parameter.



2023-12-21 20-28-36.png

2015-7-23 11:45:35

UPDATE:

If you want to do size smooth setting by setting box width and height, we add this feature in veriosn20150723.

edward
2018-5-5 20:26:10

 Case study1


If the customer provide you with the data as follow

0106266573400010212322608900541200000017200601102410
0106266573400010212322608900545000030017200601102410
0106266573400010212322608900543004000017200601102410


Since the data volumn is very big, so we use "Static Width DB" to input the data file.

s1.png


Then use black 1D controller to drag a box, set up the expression of the barcode content,


@@$Key database.FNC1$$Key database.GTIN$@@$Key database.FNC2$$Key database.UID$@@$Key database.FNC3$$Key database.ExpireDate$@@$Key database.FNC4$$Key database.LOTNumber$


s2.png

Note: for safty, please use @@ to seperate each FNC string.


Then start to set GS1 Datamatrix using above way. Here we use 0,0,1,12,-2,0,1,0

s3.png


Use GS1 Datamatrix APP to verify, it's OK.

s4.jpg


s5.jpg

edward
2019-8-2 11:27:30

a1.png

Page 1 of 1

Reply

Post