Sorry for my ignorance, when I said "just starting to saturate" I meant "just starting to conduct", high voltage drop across transistor low collector current etc.
What I actually need is for the output of the optocoupler to be TTL compatible, because it is to feed other TTL logic circuits in a CNC application I'm working on. This part is for the parallel port breakout board so I don't fry my laptop if I get a short from the 36V 9A motor supply.
The circuit so far is described as this.
Parallel port output > Tri-State buffer / line driver > Opto-Coupler > Drive Logic with separate and independent Vcc and GND either side of the Optocoupler. I could use another buffer on this side of the opto I suppose.
The tri-state buffer is needed for power up and down stability, so the CNC machine can't move during a reboot, the software I'm using outputs a 12.5kHz signal on a parallel port output pin when ready to send data to the CNC machine and I'm feeding that into a 1mS timed charge pump to the Tri-state enable lines, also because my laptop has 3.3V and 5V output voltages from the parallel port, so I thought I'd standardise at 5V. so the breakout board could be used on desktop PC's as well, without overdriving the opto LED's.
25 years ago I was an Army Radio Telecommunications Technician, it's surprising how much you forget if you don't use it.