Posted on 08-03-2021 01:16 PM
Hello everyone,
I want to create a script that can set up a self-service printer. Preferably with python. What path should I follow? I'm curious about your suggestions. If there are source files that I can take as an example, I would be happy if you share them.
Posted on 08-04-2021 06:07 AM
It's a shell script, but we have used it for a good few years - https://github.com/UoE-macOS/jss/blob/master/coreconfig-add-printer.sh
We deploy any needed drivers as pkgs and then use the /usr/sbin/lpadmin command to handle setup.
Posted on 08-04-2021 07:10 AM
thank u Sir