How To Install A Printer Driver in CentOS

I thought at first that I can run anything that I can think of in CentOS by just plugging it into the USB port.
However, when I plugged in my HP Printer, the printer did not work and I suspect that it is because it doesn't have a printer driver.
How can I install a printer driver in CentOS?
