trying to control printing