Instead of using echo %username%/%userdomain%, you can also use “whoami”. This will give you both domain and username at once.
It’s a great article on solving a problem that is relevant for many Nprinting users/developers. I simply don’t understand why the possibility of running an Nprinting task from somewhere else, isn’t a “build in” function in NPrinting. Eventhough your example isn’t the most complicated, it’s still not an easy accessible option in NPrinting. It’s a little bit the same as for Qlikview and QlikSense, where it’s not that straight forward to run a reload task from an external event.