Text2 Barcode includes a special series of commands for certain actions
This command sends the job to a specific printer.
PRINTERNAME: p
Parameter | Description |
---|---|
p | ip or driver or mac address |
PRINTERNAME: 192.168.1.10 ^XA ^CI0 ^FO20,20 ^ADN,18,10^FDProduct Description No. 1^FS ^FO40,85 ^ADN,36,20^FD$ 12.00^FS ^FO290,65 ^ABN,11,7^FD2023-12-01^FS ^FO20,130 ^BY2^BCN,39,Y,N^FDCOD1002^FS ^XZ
This command will resize the elements of a zpl tag.
RESIZE f
Parameter | Description |
---|---|
f | Resizing factor. Values less than 1.0 are used to reduce the size of the elements and values greater than 1.0 are used to increase the size of the elements. Example: RESIZE 1.5 to convert from 200 to 300 dpi |
RESIZE 0.75 ^XA ^CI0 ^FO20,20^ADN,18,10^FDProduct Description No. 1^FS ^FO40,85^ADN,36,20^FD$ 12.00^FS ^FO290,65^ABN,11,7^FD2023-12-01^FS ^FO20,130^BY2^BCN,39,Y,N^FDCOD1002^FS ^XZ
^XA ^CI0 ^FO15.0,15.0^ADN,18,10^FDProduct Description No. 1^FS ^FO30.0,63.8^ADN,36,20^FD$ 12.00^FS ^FO217.5,48.8^ABN,11,7^FD2023-12-01^FS ^FO15.0,97.5^BY1.5^BCN,29.3,Y,N^FDCOD1002^FS ^XZ
Split the code of a tag to execute individually.
xDivider
PRINTERNAME: 192.168.1.10 SIZE 51 mm, 25 mm CODEPAGE UTF-8 TEXT 23,18,"D.FNT",0,1,1,MID$(DESCRIPTION$,1,30) TEXT 23,43,"D.FNT",0,1,1,MID$(DESCRIPTION$,31,LEN(DESCRIPTION$)) BARCODE 22,135,"128M",36,2,0,2,4,CODE$ TEXT 40,82,"4",0,1,0,PRICE$ TEXT 290,85,"B.FNT",0,1,1,4, DAY$ + "/" + MONTH$ + "/" + YEAR$ PRINT 1,1 xDivider PRINTERNAME: 192.168.1.11 SIZE 51 mm, 25 mm CODEPAGE UTF-8 TEXT 23,18,"D.FNT",0,1,1,MID$(DESCRIPTION$,1,30) TEXT 23,43,"D.FNT",0,1,1,MID$(DESCRIPTION$,31,LEN(DESCRIPTION$)) BARCODE 22,135,"128M",36,2,0,2,4,CODE$ TEXT 40,82,"4",0,1,0,PRICE$ TEXT 290,85,"B.FNT",0,1,1,4, DAY$ + "/" + MONTH$ + "/" + YEAR$ PRINT 1,1
This command receives data through a text box.
@INPUT('phone', 'Contact')
Parameter | Value | Description |
---|---|---|
Type | text multiline phone number date time |
Input Type |
Name | String | Input Name |
^XA ^CFA,30 ^FO20,20^FDCel: @INPUT('phone','Contacto')^FS ^XZ