Folding gluing machines for special applications