Design the label configuration software to enable us to provide pre-built templates that load configuration content into editable fields. The editable fields can be saved under a new name. This allows the creation of prebuilt labels, customization of existing labels, and the development of entirely new labels.
The config fields would be:
- label_template_name - "My aliquot labels"
- label_name - "DFP-103"
- label_purpose - "1FL ADRC site data collection"
- label_customer - "1FL ADRC"
- label_height - 0.625
- label_width - 1.823
- sample_image
- zpl - "^XA
^PW380^LL192
^FO26,30^A0N,30,24^FD${barcode}^FS
^FO32,60^BQN,2,2,Q,7^FDQA,${barcode}^FS
^FO94,88^A0N,30,24^FD${ptid} ${type}^FS
^FO318,43^BQN,2,2,Q,1^FDQA,${barcode}^FS
^XZ"
- field_data
- name1, description - barcode, text of the barcode
- name2, description - ptid, Patient ID
- name2, description - type, Specimen type
- ...
- nameN, description
Here is some example JSON to represent that data:
{
"label_template_name": "My aliquot labels",
"label_name": "DFP-103",
"label_purpose": "1FL ADRC site data collection",
"label_customer": "1FL ADRC",
"label_height": 0.625,
"label_width": 1.823,
"zpl": [
"^XA,",
"^PW380^LL192",
"^FO26,30^A0N,30,24^FD${barcode}^FS",
"^FO32,60^BQN,2,2,Q,7^FDQA,${barcode}^FS",
"^FO94,88^A0N,30,24^FD${text1} ${text2}^FS",
"^FO318,43^BQN,2,2,Q,1^FDQA,${barcode}^FS",
"^XZ"
],
"field_data": [
{
"name": "barcode",
"description": "text of the barcode"
},
{
"name": "text1",
"description": "left-most text blob"
},
{
"name": "text2",
"description": "right-most chunk of text"
}
]
}
Design the label configuration software to enable us to provide pre-built templates that load configuration content into editable fields. The editable fields can be saved under a new name. This allows the creation of prebuilt labels, customization of existing labels, and the development of entirely new labels.
The config fields would be:
^PW380^LL192
^FO26,30^A0N,30,24^FD${barcode}^FS
^FO32,60^BQN,2,2,Q,7^FDQA,${barcode}^FS
^FO94,88^A0N,30,24^FD${ptid} ${type}^FS
^FO318,43^BQN,2,2,Q,1^FDQA,${barcode}^FS
^XZ"
Here is some example JSON to represent that data:
{ "label_template_name": "My aliquot labels", "label_name": "DFP-103", "label_purpose": "1FL ADRC site data collection", "label_customer": "1FL ADRC", "label_height": 0.625, "label_width": 1.823, "zpl": [ "^XA,", "^PW380^LL192", "^FO26,30^A0N,30,24^FD${barcode}^FS", "^FO32,60^BQN,2,2,Q,7^FDQA,${barcode}^FS", "^FO94,88^A0N,30,24^FD${text1} ${text2}^FS", "^FO318,43^BQN,2,2,Q,1^FDQA,${barcode}^FS", "^XZ" ], "field_data": [ { "name": "barcode", "description": "text of the barcode" }, { "name": "text1", "description": "left-most text blob" }, { "name": "text2", "description": "right-most chunk of text" } ] }