Programmable palletizer with pneumatic axes