If the printer works on another PC, then you have to repair the broken PC.

Sorry for the short reply, but details are few in yours.

Bob