It's easy to drive your TrendNet camera using curl. This is how you can make it scan to different preset positions.
Note that Curl must be used in Digest mode.
Assuming you have a ~/.netrc file containing your device username and password, first fetch the preset elements (look for the xml section).
curl --digest -n http://camera.local/eng/liveView.cgi