Optical encoder from printer

Greetings,

I have found much linear/rotary encoder from printers such as Canon, Epson and HP. Now I wish to be able to read the signals by powering up these devices and play with them for a while.

Having done some work, I manage to find the pinout and conisder " they are right".

I have some trouble with the concept of pull up/down resistor with the application of digital signal.

Do I need to add some 2 pull up/down resistor from DATA1/2 to avoid floating issue? How should I connect them?

Here's the file and the picture.

Thank you for your time.

Quadra enco.fzz (4.6 KB)