Browser Print JS: print multiple labels at once

// Expert user has replied.
N Nikolay Nedkov Kolev 2 months ago
96 1 0

Hi everyone,

I was wondering if there is a way to print multiple labels at once. Immagine I have 5 products I wanna print the labels for. I was wondering if there is a way to queue them / stack them so that they can be printed with just one simple click. Either through BrowserPrint-Zebra-1.1.250.min.js or BrowserPrint-3.1.250.min.js.

Can someone point me in the right direction?

Maybe it's as simple as a loop..would be great if there was some sort of async / await pattern so that, as soon as the first label gets printed, I can start with the second one safely.

Please Register or Login to post a reply

1 Replies

S Steven Si

Certainly this is achievable. At hight level, you can use the ZebraDesigner for Developers to design one label template for each one product, or one label template for all products, depending on your use case. Then on the application's UI interface, you can have 5 buttons, one for each one of the five products. Each button invokes a label template and populates variables on the template for specific values for a product, and then sends the result label to the printer to print. You can also add printer status check to the function of each button to make sure the printer is in a ready-to-print state before sending the result label to print. You can also add delay or wait time there as well to suit your use case.

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