well, i would check your original adapter to see what's written on that
look up your model and compaq support site
HP Support & Drivers
in US voltages are usually 110v - europe is 220-240v
(these are normal for countries liste, I personally do not recommend setting to these, as I have no responsibility for your machine - these are just for reference)
I would see if you could email support or find the info through google specific to your model laptop
refer to the manual to determine the proper voltage setting.
download the manual from compaq support