khtml2png requires the KDE libraries (kdelibs). KDE is a *nix desktop environment so you probably won’t find it installed on a server (and it’s definitely not installed on the DH server my account is on). Something like this is really meant to be installed on a desktop system.
For something like this, you’re much better off installing something on your own system. I can personally recommend Paparazzi for OS X and I’m sure someone here can offer a similar suggestion for Windows.
If you want useful replies, ask smart questions.