You don't need extender if the Projector is controlled via TCP/IP. If you have to connect RS-232, you will need an extender.
You have provided no details (protocol document, etc) so I cannot provide much assistance other than pointing you to the ProntoScript Developers Guide in the File Section.
You will want to start by reading up on TCPSocket class there and look at some of the Examples.