How to Cross compile Hp printer

Sushant
Hello,

I have interested to compile a hp1022nw for mini2440 board..

I have collect the some packages hplib-3.9.12.tar.gz how is cross complile