Printing on a remote HP4000 from Photon, using the Spooler

Hi,

I am looking to print on a remote HP4000 (printer with an ethernet card),
from Photon, using the spooler.

So far, I was unable to have this working.

I am using the full tcp/ip stack, but I tried with the tiny stack as well.

TIA.