If she is a minor, ask her pediatrician how to proceed about this. Whether you can force her or not, not quite sure. What measures will you use to force her; bribes, physical force, beating, blackmail? All of them are wrong. I strongly suggest if you're having issues that you can not control with your daughter to seek professional help from a psychologist.
Just do what another parent did to my friend, tell her this: "If you don't take a drug test, I'm gonna kick you out!"