How to configure an IPP-driverless printer with static IP address in CUPS?

I've found a command-line way to add the printer:

lpadmin -p myprintername -E -v ipp://10.1.2.3/ipp/print -m everywhere

Do NOT make the mistake to omit /ipp/print at the end there. I had omitted it and then any print job I send will just infinitely loop in the number of pages and never prints... 😕

enter image description here

(this number of pages keeps growing every second and my CPU is at 100%...)