An incremental encoder on a stepper motor? One question: Why?
If you want position, you need and absolute encoder. But, there’s little need for one with a stepper has you use a home switch or similar other means of establishing an absolute starting point.