Don
I pulled out my old trans and took a look and checked the Bentleys. There is a bolt/pin that threads down to engage a groove on the speedo pinion. Pull that and the pinion is free to pull out.
Now there's the rub, it looks like there is an o-ring that will cause drag and also the fit of the pinion.
I see three choices, 2 prying devices to attempt to gently prise it out, being careful of the threads, find a nut that will thread on (difficult because of size perhaps and the fact that your threads may not be in top form) and you can pry against the nut. Or take off the tail shaft housing.
You might try wrapping the threads with several layers of duct tape and using a pliers. Ohh that is so savage.