Originally the printer will have come with a relatively short blue cable. These IMO work very reliably. If however you have a generic cable which looks like it was scraped from the bottom of an old cable box, I’d definitely look there first. Number 1 cause of no connection to a computer is cable issues. If looking for a new cable, find one that’s relatively short and fat indicating minimal loss of power and signal over the length of the cable.