meda query print