P4T thermal ribbon detection

We are using a P4T for both thermal printing and thermal transfer.


Is there a way to detect that a thermal ribbon is inserted in the printer?


We need to be able to insert or remove the ribbon depending on which type label we will be printing.