at the risk of stating the obvious, you could try the free download of HP WebJet Admin, I know it doesn't provide an elegant, integrated scripting solution but, it will retrieve a lot of information about your printers and keeps in a SQL backend