If I understand the protocol right you have to do the following:
When Web control administrator rights password is not set (Non-protect
Setup a TCP Channel (default Port is 1024 for this projector)
For Power on the command should be
Scriptresult = "00PON"+chr(13)
Scriptresult = "00POF"+chr(13)
Switch Input to RGB1
Scriptresult = "00IIS:RG1"+chr(13)
Switch Input to DVI
Scriptresult = "00IIS:DVI"+chr(13)
Scriptresult = "00OSH:1"+chr(13)
Scriptresult = "00OSH:0"+chr(13)
Does this work for you?
BTW: I don’t see any Lens functions in the LAN protocol. I used the documents in your link. I found the protocol on page 170.