0-10v PWM dimming problem

Don't throw away the NPN yet, you need to use two transistors like this:

(Those resistors look a little high to me, I'd use 1k for each of them)

You might also need a pulldown resistor between DIM+ and GND. There might already be one inside the driver but you never know. Measure the voltage at DIM+ when it's switched on, if it's high you need a pulldown.