How do I proceed when an error happens in the print screen?
If you haven't gotten through this issue. Could you elaborate a little more?
every time I try to take a screenshot, an error appears (D3DERR_INVALIDCALL)
Are you using the printscreen key or F12? (if you are using F12, try printscreen. It should copy the image to your clip board. You can then paste it into paint.
If that doesn't help. Try updating/repairing/Reinstalling your DirectX.