Q0 is a photo-transistor which receives IR light from a multimeter. If Q0 is illuminated then current flows through R1 and turns Q1 and Q2 on and the output R will be pulled down to positive voltage, this means mark will be transmitted. If Q0 is not illuminated then there will be negative voltage at the output R so space will be transmitted.