kryss,
You can spend $35 on a K-to-EOS adapter. And another $35 for a M42-to-EOS adapter. Both can have focus confirmation capability that’s of dubious value.
I have both of these and use them with a Canon 7D and a Canon 5DMK2. There are significant limitations when using these lenses on Canon.
--The 7D is more accommodating because it has a smaller internal mirror box that allows the aperture lever of K-mount lenses and
some M42s to clear.
--For use with the 5DMK2 you would have to perform radical surgery on your K-mount lenses chopping off the lever. There are instructions online.
--For both Canon bodies, the use of these lenses are only in stop down mode and manual focus. I have found that to be OK for a special lens or two (like my Voigtlander 125mm) but tiresome over the long term. So, I have begun purchasing EOS mount lenses that replicate the focal lengths of my K-mount lenses.
If tethering while shooting macros and portraits is your core requirement, consider simply using a K20D. It's a fine camera, plenty capable of producing professional work. I still use mine, especially for closeups and selling fine art. That's far cheaper and easier than purchasing a Canon and trying to extract added value from your large Pentax lens collection.
An alternative is to sell just about all your equipment and purchase a 645D. While I'll still hang on to my Canon 7D for sports and wildlife, I'm debating very much doing that right now.
M