Maintenance of X-ray detectors and X-ray film printers