If the input is always a square wave of 10V you could put it through a CMOS inverter powered by 12V to get a 12V square wave. This, however, implies that you will not be drawing much current from it. What is it driving? How much current is required. If more current is required, two discrete...