Compressing of packagings under the aid of foil welders