Printing receipts from a JavaScript web application using a mobile ZQ300 printer

// Expert user has replied.
E Eddie Lascu 3 years 4 months ago
50 1 0

I have a mobile printer ZQ300 that needs to be integrated into a Web Application developed in JavaScript (Angular). In certain scenarios I need to print some receipts from the application. Can anyone share any examples or point me to some online resources that would describe how this is done? I have some experience with POS devices using the Microsoft POS for .NET library but that cannot be used in my scenario. I need to find a different solution.
Any help would be greatly appreciated.
TIA,
Eddie

Please Register or Login to post a reply

1 Replies

S Steven Si

First of all, it's recommended to use ZebraDesigner for Developers 3 tool to design the receipt template in ZPL. The receipt template has 3 parts, the receipt header, the receipt body and the receipt footer. Each part is an independent ZPL scripts and can be saved in a separate file. For details of the receipt templates, check out the tool.
For a web app, I would assume that the ZQ300 Series printer is connected to a Wi-Fi. Then you could use a cloud-based print solution to print receipts in JavaScript. Check out the following article and the JavaScript demo for the cloud-based solution - SendFileToPrinter API. Hope this helps.

Use the SendFileToPrinter API for Your Cloud-Based Printing Needs
PrintFromCloud - A JavaScript example demonstrates how to use the SendFileToPrinter API to print labels and receipts from anywhere to any Link-OS printers connected to the Zebra Data Services cloud platform.

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