Applying Bayesian networks for intelligent adaptable printing systems