Announcements
This one is super easy, F&O has a really great method for this that I have used a couple of times.
Look at WhsDocumentRouting, and specifically the static method printZPLLabelToPrinter.
Let me know if it works out for you.
class PrintZPLLabel { public static void main(Args _args) { // ZPL code for the label str zplCode = '^XA^FO50,50^ADN,36,20^FDHello, World!^FS^XZ'; // Printer name (as registered in Network printers) str printerName = 'YourPrinterName'; // Call the method to print the ZPL label WhsDocumentRouting::printZPLLabelToPrinter(printerName, zplCode); } }
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 345 Most Valuable Professional
CU10121822-0 304
André Arnaud de Cal... 283 Super User 2026 Season 2