Print shifting left and right when printed on a Canon MG4200

I have an issue printing from LibreOffice, both from writer and from calc.
When printing the print is shifted a little left or right every other centimeter. Which means that some text lines looks like they are in cursive and straight lines are not printed straight.

My PC is a Thinkbook 14 with Windows 11 Pro and I use a Canon MG4200 printer.

I have tried to remove the printer and reinstall, this helped on another issue I had, but not the shifting.

Any idea what to do?

Try aligning the print head, See Canon Support