add a few error checks in EnumPrinterData()