getPrinterNames() not showing all printers

If it runs on the gateway then it's running as whatever service user Ignition is running as, which I'm guessing has something or everything to do with your problem.

See system.print.getDefaultPrinterName() returns null - #9 by michael.flagler also