Vertical/horizontal production machine for empty bags