how to connect printer with bbb without using GUI Display

Hello

I am using beaglebone black for command line printing through a console.
for HP printer I installed HPLIP and CUPS.

But in linux there was attached HP printer then automatically ask to install other suitable online installation. but in BBB I am not use any HDMI GUI display…!
then how to solve it without using GUI only with command line.

Thank you.