Last year I flew from Birmingham International (UK) to Istanbul Atatürk Airport (TK) for my final destination, which was Suvarnabhumi Airport (TH). When checking in, in the UK, I was given onea boarding pass and that was for my flight from Birmingham to Turkey. Once I arrived in Turkey I went through the Transfertransfer funnel, through security (I think immigration I cannot really remember) then into the Transit Terminaltransit terminal.
Once there, I went straight over to the Turkish AirlineAirlines desk, handed them my passport and they printed a boarding pass right there for me. This sounds relevant in your case, don't worry after all you are in Turkey. They can and will be able to issue you a boarding pass in the Transittransit lounge (after security).