A printer system comprises a communication interface and printer components. The communication interface receives a humidity value from a toner cartridge. The printer components control printing operation based on the humidity value. To control printing operation, the printer components may configure a dither matrix based on the humidity value. The toner cartridge comprises a humidity sensor and a communication interface. The humidity sensor detects a humidity level and generates the humidity value to correspond to the humidity level. The communication interface transfers the humidity value from the humidity sensor to the printer system.