If the computers are networked you can make the printer a network item usable by both computers, if not then you would need a switch box. I haven't seen any switch boxes recently, but there should be some around still since the need would still be there.
Computers are like an array of randoms, ya never know what ya gonna get!!!