I suspect, that without using the UI, you are down to reading vast quantities of manual pages, and manually editing config files. Your script may have to manipulate those too. There may be command line tools, but your are going to have google for them and read the manuals for them as well. Start by going to the Cups web site, and reading the documentation properly.
To be quite fair, you are not in for an easy ride, and are about to hit a steep learning curve. The UI was built so most users wouldnt have to worry about this stuff.
Danny
|