Installing and configuring CUPS with an HP PhotoSmart 8150 was ridiculously easy, since CUPS comes complete with HPIJS (the HP linux print drivers). The printer is attached via a USB hub on port 1.
Installing CUPS
To start, install CUPS and its documentation package. Strangely enough, the docs include a lot of the files required to run the CUPS web interface.
ipkg install cups
ipkg install cups-doc