Each capsule is printed with a black and white bar code embedded on the rim. The laser scans the code for cup size, water temperature, rotational speed, flow rate, and the amount of time the water is in contact with the coffee grounds.