Printing of rectangular DataMatrix code

// Expert user has replied. //Solved
T Tomas Smetka 1 year ago
129 2 1

Hello,

I am having issues with printing of rectangular DataMatrix code via ZPL command:

  • when only "a - acspect ration" in BX command (^BXo,h,s,c,r,f,g,a) is defined (without specification of "c" and "r"), the "a" parameter is ignored and DM is printed in square form
  • when "a", "c" and "r" parameters are defined, the whole statement is ignored

The rest of the label is fine.

I am using the ZD421-300DPI printer with  V93.21.17Z firmware.

As it seems, it is similar as thread 34919.

 

Sample code:

^XA
^CWA,E:ARI.TTF

^FO10,40^AAN,29,29^FB450,2,3,L,0^FD@Field01\&@Field02^FS
^FO10,110^AAN,29,29^FB450,2,3,L,0^FD@Field03\&@Field04^FS

^FO470,40^XGE:PIC1.GRF,1,1^FS

^FO10,210^GB570,2,2,B,0^FS

^FT20,280^BXN,5,200,,,,~,2^FH\^FD@QRcode01^FS

^FO330,220^XGE:PIC2.GRF,1,1^FS
^FO410,235^XGE:PIC3.GRF,1,1^FS
^FO510,235^XGE:PIC4.GRF,1,1^FS

^PQ1,0,1,Y
^XZ

 

My questions are:

Are there any problems with the code itself?

Are any special settings needed to be setted in printer configuraton before printing rectangular DM?

Is it possible to print rectangular DM code on my printer at all?

 

Thank you for any help / suggestions you can offer

Best regards

Tomas Smetka

Please Register or Login to post a reply

Accepted Solution

S Steven Si

The rectangular Data Matrix symbology is supported by the ZD421. Here is a sample ZPL 

^XA
^FO100,100
^BXN,10,200,,,,,2
^FDZEBRA TECHNOLOGIES CORPORATION 
333 CORPORATE WOODS PARKWAY^FS
^XZ

 

 

 

2 Replies

S Steven Si

The rectangular Data Matrix symbology is supported by the ZD421. Here is a sample ZPL 

^XA
^FO100,100
^BXN,10,200,,,,,2
^FDZEBRA TECHNOLOGIES CORPORATION 
333 CORPORATE WOODS PARKWAY^FS
^XZ

 

 

 

T Tomas Smetka

Solved - Thank You

The only difference was definition of "escape sequence control character":

^BXN,5,200,,,,,2

  • rectangular DM

^BXN,5,200,,,,~,2

  • square DM

 

Thanks again for Your assistence

This thread could be locked (or something)

CONTACT
Can’t find what you’re looking for?