Label Printing
  • 20 Oct 2022
  • 3 Minutes to read
  • Contributors

Label Printing


A label is a small piece of paper attached to an object and giving information about it. With this feature in Quixy, one can choose to print labels on-demand.

Pre-Requisites for configuration

  • The app for which you configure Label Print (Automatic Print) should have a Text Box Field to capture the Printer Name.

Pre-Requisites for using the feature

  • You should have a Zebra Printer connected to your device.

How to configure label prints?

  • Go to view page of an application
  • Click on the 3-dot menu and select Quick Flows.

  • You will land on the Quick Flows page. Click on the Create aQuick Flow button.

  • You will land on the Quick Flows configuration page.

  • There are five different types of Quick Flows, select the Automatic Print option to configure the label prints.

  •  Once you select the Automatic Print option, platform will ask you the configuration details.

  • Start by giving a Name.
  • Next, select the Printer.
NOTE

The options that display in the Select Printer drop-down field are the text box fields present in the app. As requested in the beginning of this article, you need to have a separate text box field in the app to capture the printer name, the same text box field need to be selected in the Select Printer drop-down. 

Name that text box as Printer Name.

  • Select the Work Flow Step (i.e., Step 1 or Step 2) and Work Flow Step Action (i.e., Submit).
  • Now, in the blank Box at the bottom, you need to enter the ZPL code. This code triggers the Zebra Printer to print data on the label.

 

NOTE
Zebra Programming Language (ZPL) is the command language used by all ZPL compatible printers. It is a command based language used by the printers as instructions to create the images printed on the labels
  • The sample ZPL code is given below.
NOTE

##À
TSC ÿÿ 

SIZE 72 mm
REFERENCE 0,0
DENSITY 7
SET RIBBON ON
DIRECTION 0,0
SHIFT 0,0
##
CLS
CODEPAGE 1252
TEXT 41,54,"0",0,12,12,"Sheds Verification App-Dispatch Note"
BAR 41,118,493,3
CODEPAGE 1252
TEXT 41,154,"0",0,10,10,"Date:"
CODEPAGE 1252
TEXT 41,210,"0",0,10,10,"Shed Name:"
CODEPAGE 1252
TEXT 128,150,"0",0,12,11,""
CODEPAGE 1252
TEXT 41,370,"0",0,11,10,"Dispatch Vehicle Number: "
CODEPAGE 1252
TEXT 371,370,"0",0,12,11,""
CODEPAGE 1252
TEXT 202,208,"0",0,12,11,""
CODEPAGE 1252
TEXT 41,262,"0",0,10,10,"Name of mother plant dispatched to: "
CODEPAGE 1252
TEXT 50,312,"0",0,12,11,""
CODEPAGE 1252
TEXT 41,421,"0",0,11,10,"Driver Name:"
CODEPAGE 1252
TEXT 41,472,"0",0,11,10,"Seal Number:"
CODEPAGE 1252
TEXT 235,421,"0",0,12,11,""
CODEPAGE 1252
TEXT 235,466,"0",0,12,11,""
CODEPAGE 1252
<grid gridname= gridrowheight=>
TEXT 50,,"0",0,10,10,"Batch No: "
CODEPAGE 1252
TEXT 184,,"0",0,12,12,""
CODEPAGE 1252
TEXT 50,,"0",0,10,10,"VAP: "
CODEPAGE 1252
TEXT 140,,"0",0,12,12,""
CODEPAGE 1252
TEXT 50,,"0",0,10,10,"Count: "
CODEPAGE 1252
TEXT 140,,"0",0,12,12,""
CODEPAGE 1252
TEXT 50,,"0",0,10,10,"Grade: "
CODEPAGE 1252
TEXT 140,,"0",0,12,12,""
CODEPAGE 1252
TEXT 50,,"0",0,10,10,"Disp. Meat Boxes from Shed: "
CODEPAGE 1252
TEXT 389,,"0",0,12,12,""
CODEPAGE 1252
TEXT 50,,"0",0,10,10,"Disp. Meat Qty from Shed: "
CODEPAGE 1252
TEXT 353,,"0",0,12,12," KG"
CODEPAGE 1252
TEXT 50,,"0",0,10,10,"Returned HL Boxes (not processed): "
CODEPAGE 1252
TEXT 467,,"0",0,12,12,""
TEXT 50,,"0",0,10,10,"Returned HL Qty (not processed): "
CODEPAGE 1252
TEXT 439,,"0",0,12,12," KG"
CODEPAGE 1252
</grid>
PRINT 1,1
## ##
  • The Zebra Printers are the small sized printers that is normally seen in a grocery store, refer to the image below.

  • Once the configuration is completed, save the Quick flow.

How to use the feature?

To trigger the zebra printer to print a label, you need to submit a record in the app, at the configured workflow step and workflow step action, the ZPL code will trigger the zebra printer to print a label. 

Now, you can add a record in the app using Quixy mobile app or Quixy web app to print a label.

Quixy Mobile App

You need to connect the zebra printer to mobile phone using Bluetooth. In mobile's Bluetooth section, you will find the printer's name.

You need to provide the exact name of the printer in the Printer Name Field while adding the record in the app.

This printer name would be automatically captured by the Printer Field in the configuration page.

Now, when you add a record in the app, the printer would be triggered automatically to print a label.

Quixy Web App

If you connect the printer to your PC using Bluetooth, follow the same process as you did in mobile app.

If you connect the printer to your PC using USB, to know the printer name, install the JS Print Manager software and in that software you will get to know the printer name.

Follow the same steps as mobile app to print a label. 


Was this article helpful?