We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 345532e commit f204335Copy full SHA for f204335
1 file changed
eln/stock/printer/helper.js
@@ -114,4 +114,14 @@ module.exports = {
114
localStorage.setItem('lastPrinterFormat', f.printer);
115
return String(f.printer);
116
},
117
+
118
+ async loadZebraManager(zebraPrinterProxy) {
119
+ if (window.zebraManager) return window.zebraManager;
120
+ return new Promise((resolve) => {
121
+ const script = document.createElement('script');
122
+ script.src = `${zebraPrinterProxy.url}/embed.js`;
123
+ script.onload = () => resolve(window.zebraManager);
124
+ document.head.appendChild(script);
125
+ });
126
+ },
127
};
0 commit comments