Encoder driver stepper motor, not work Arduino DUE - HELP!

These pins are set out in the mini-16MHz 5V 328 version should work on DUO i think.

The should, but a Duo and Due are not the same thing. You need to determine if the Due even supports external interrupts. There are hints in the comments on the Due page that suggest that it does not.