How do you print to an HP 4000 series printer without a parallel port?

These days parallel ports on laptops are disapearing. So how do you connect to that legacy HP 4000 printer if you don't have a parallel port?