Samples are available to create print layouts for each type of business. Please select a sample that closely resembles the layout you would like to print in your application and edit the sample code to make use of it.
⚠️ Some printer models may not be able to print some samples. Please confirm the APIs available for that model and adjust the layout accordingly when using this samples.
There are some samples of generating labels using the template printing function.
Please combine LabelSampleXX_ForYYYdpi_SampleName_Template.tsx as template and LabelSampleXX_ForYYYdpi_SampleName_FieldData.json as field data.
For samples #1 - #2 and #8 - #18, we also provide source code that does not use the template printing function.
| # | Sample Name | Printing Result Image | Printable Area |
|---|---|---|---|
| 1 | Tamper Proof Label Template / Field Data |
![]() |
72mm(203dpi) / 48.7mm(300dpi)1 |
| 2 | Drink Label1 Template / Field Data |
![]() |
48mm(203dpi) / 48.7mm(300dpi)1 |
| 3 | Drink Label2 Template / Field Data |
![]() |
48mm(203dpi) / 48.7mm(300dpi)1 |
| 4 | Drink Label3 Template / Field Data |
![]() |
72mm(203dpi) / 48.7mm(300dpi)1 |
| 5 | Drink Label4 Template / Field Data |
![]() |
72mm(203dpi) / 48.7mm(300dpi)1 |
| 6 | Drink Label5 Template / Field Data |
![]() |
48mm(203dpi) / 48.7mm(300dpi)1 |
| 7 | Drink Label6 Template / Field Data |
![]() |
48mm(203dpi) / 48.7mm(300dpi)1 |
| 8 | Nutrition Facts Label Template / Field Data |
![]() |
72mm(203dpi) / 48.7mm(300dpi)1 |
| 9 | Food Prep Label Template / Field Data |
![]() |
48mm(203dpi) / 48.7mm(300dpi)1 |
| 10 | Food Delivery Template / Field Data |
![]() |
72mm(203dpi) / 48.7mm(300dpi)1 |
| 11 | Shipping Address Label Template / Field Data |
![]() |
72mm(203dpi) / 48.7mm(300dpi)1 |
| 12 | Inventory Label Template / Field Data |
![]() |
72mm(203dpi) / 48.7mm(300dpi)1 |
| 13 | Food Product Label Template / Field Data |
![]() |
72mm(203dpi) / 48.7mm(300dpi)1 |
| 14 | Expiration Label(JP) Template / Field Data |
![]() |
48mm(203dpi) / 34mm(300dpi)1 |
| 15 | Food Delivery Label(Thai) Template / Field Data |
![]() |
48mm(203dpi) / 48.7mm(300dpi)1 |
| 16 | Shelf Label for Inventory Template / Field Data |
![]() |
48mm(203dpi/300dpi) |
| 17 | Pharmacy Medication2 Template / Field Data |
![]() |
72mm(203dpi) / 48.7mm(300dpi)1 |
| 18 | Barcode Label2 Wide Template / Narrow Template / Field Data |
![]() |
Wide: 72mm(203dpi) / 48.7mm(300dpi)1 Narrow: 48mm(203dpi) / 34mm(300dpi)1 |
| 19 | Prescription Label Template / Field Data |
![]() |
72mm(203dpi) / 48.7mm(300dpi)1 |
| 20 | Visitor Label Template / Field Data |
![]() |
48mm(203dpi/300dpi) |
| 21 | Product Label Template / Field Data |
![]() |
48mm(203dpi/300dpi) |
By adjusting the print position and border size etc., it can be diverted to 300dpi printers.
For samples #1 and #2, we also provide source code that does not use the template printing function.
| # | Sample Name | Printing Result Image | Printable Area |
|---|---|---|---|
| 1 | Japanese Food Label(Lunch Box) Template / Field Data |
![]() |
48mm |
| 2 | Japanese Food Label(Cake) Template / Field Data |
![]() |
48mm |
| 3 | Pharmacy Medication1 Template / Field Data |
![]() |
72mm |
| 4 | Shipping Label1 Template / Field Data |
![]() |
72mm |
| 5 | Shipping Label2 Template / Field Data |
![]() |
72mm |
| 6 | Barcode Label1 Template / Field Data |
![]() |
72mm |
| 7 | Order Label Template / Field Data |
![]() |
72mm |
| 8 | Allergen Warning Template / Field Data |
![]() |
72mm |
| 9 | Cleaned And Sanitised Template / Field Data |
![]() |
72mm |
| 10 | Coffee Order Template / Field Data |
![]() |
72mm |
| 11 | Expiration Date Template / Field Data |
![]() |
72mm |
| 12 | FoodSafety Info Template / Field Data |
![]() |
72mm |
| 13 | Sale 50% Off Template / Field Data |
![]() |
72mm |
| 14 | Barbell Label Template / Field Data |
![]() |
54mm |
By adjusting the print position and border size etc., it can be diverted to 203dpi printers.
| # | Sample Name | Printing Result Image | Printable Area |
|---|---|---|---|
| 1 | Japanese Food Label(Lunch Box) Template / Field Data |
![]() |
48.7mm |
| 2 | Japanese Food Label(Cake) Template / Field Data |
![]() |
48.7mm |
| 3 | Barcode Label1 Template / Field Data |
![]() |
48.7mm |
| 4 | Sale 50% Off Template / Field Data |
![]() |
48.7mm |
| 5 | Barbell Label Template / Field Data |
![]() |
54mm |
There are some samples of generating receipts using the template printing function.
Please combine ReceiptSampleXX_SampleName_Template.tsx as template and ReceiptSampleXX_SampleName_FieldData.json as field data.
| # | Sample Name | Printing Result Image | Printable Area |
|---|---|---|---|
| 1 | Online Order Template / Field Data |
![]() |
72mm |
| 2 | Retail Template / Field Data |
![]() |
72mm |
| 3 | Food Delivery1 Template / Field Data |
![]() |
72mm |
| 4 | Food Delivery2 Template / Field Data |
![]() |
72mm |
| 5 | Pharmacy Store1 Template / Field Data |
![]() |
72mm |
| 6 | Pharmacy Store2 Template / Field Data |
![]() |
72mm |
| 7 | Lunch1 Template Template / Field Data |
![]() |
48mm |
| 8 | Lunch2 Template Template / Field Data |
![]() |
48mm |
| 9 | Order1 Template / Field Data |
![]() |
72mm |
| 10 | Order2 Template / Field Data |
![]() |
72mm |
| 11 | Cafe Template / Field Data |
![]() |
48mm |
| 12 | Lottery Template / Field Data |
![]() |
72mm |
This is a sample generating receipt image from text data.
| # | Sample Name | Printing Result Image | Printable Area |
|---|---|---|---|
| 1 | Graphic Receipt Source Code |
![]() |
48mm |




















































