Hey
I'm new to Casper (only been using it for a few weeks) and so far I'm
enjoying the amount of things it does for me.
The one thing I'm not so happy with is the method for creating printers.
It's great for individual printers but no so great for lots of printer (we
have lots!); well unless I'm missing something obvious. I know everyone uses
scripts and I am using them to create printers (with lpadmin not jamf
binary) but I still would like the individual printers for self service.
Currently we have several windows print servers (that serve several hundred
printers) and I've written a quickie JScript that extracts the printer
details from the server and then creates printer scripts based on their
subnets (/24 only). If anyone is interested, they are available at:
http://dl.dropbox.com/u/1826667/casper/printer_scripts.zip
This works fine. The scripts find their own PPDs (provided they exist; it's
a pretty crude method I'm using and it has to be run from a mac) and create
the printer. But I would like to create individual printers for self-service
in case someone needs a printer not on their subnet (some sites have more
than one subnet on their level) or if they original scripts fail for some
reason. I can use the scripts I generate to populate a machine and then
import them into casper admin but there are *hundreds* of checkboxes and
this is supposed to be as automated as possible (hence the scripts and the
scraping of the print servers). You can't Applescript Casper Admin so that's
out of the question.
I've looked into the Casper API but it does not support adding to printers
(only reading). I could create individual scripts for each printer (the
script can easily be modified to do that) but then I have to create
something to automate adding the scripts into Casper Admin and the policy
creation. I have looked into adding the printers via MySQL directly (most of
my efforts are currently in this direction) but I feel I have now moved from
shaving the yak to cleaning the windows of the Empire State Building.
Does anyone else manage a site with a large amount of printers? How do you
do it? Do you just bite the bullet and do all the grunt work? I don't mind
if it's once off but we want to automate as much as possible because we want
to be able to manage the printers from a single location (the windows
servers) and then create (or update) our scripts and printers automatically
from that.
Any ideas?
Sven Schott
