By "ip printer," I assume you mean a printer that is directly connected to the network. It would help to know what make and model printer.
If it's an HP, use HPLIP, which is available in the Debain repos.
Here's a link to the Debian wiki
on that subject. It's a little terse.
It's a good idea to give your printer a static ip address. That makes life a lot easier.