A computer program product comprising computer-readable instructions adapted to control a printing system comprising a first roller and a second roller, wherein at least one of said first roller and said second roller comprises a seam, said seam corresponding to a variation of a diameter of said first roller and/or said second roller, respectively along a circumference thereof, said printing system further comprising a nip area where said second roller is in rolling contact with said first roller under pressure, said nip area defining a gap for inserting a media to be printed;
- wherein said computer-readable instructions are adapted to cause a control means to control a size of said gap by varying a relative position of said first roller and said second roller when said at least one seam passes through said nip area, and to adjust said gap in accordance with a length of said media to be printed and/or in accordance with a length of an image to be printed.