How printf to specific USART?

Hello,
I have STM32F103 with three active USART + one SWO port.
I need to single UART send different data, ideally using printf, but I do not know how to redirect flow from print to a specific USART you do?
I would welcome an application example with more UART communication.

The second query.
Looking for example of how to redirect printf to SWO, for STM32F103 too.

More questions in this forum