Now I have another problem. Z-axis isn't moving while printing - it keeps printing layers on the same level. In "pronterface" software it works ok, goes up and down when tested, homing works fine. I also tried directly from the printer. Every movement in every direction works but still while printing the Z axis doesn't move.
Maybe it's a stepper driver? Any ideas what could cause the problem?