Guiding or tensioning the printing foil