Device and method for dispensing a liquid, comprising a liquid container a plurality of dispensing openings connecting to the liquid container for controlled dispensing of the liquid to a substrate, and at least one membrane which connects onto the dispensing openings and which is displaceable between a first sealing position, in which the dispensing openings are covered by the membrane, and a second opened position in which the dispensing openings are left clear by the membrane, which device is also provided with a medium-filled control system which connects to the membrane such that the membrane is displaceable between the first and the second position by means of pressure variation on the medium.