How to connect printer with TCP ip portocol

How to connect printer with TCP ip portocol