Not sure if this is what you are looking for, but it is useful anyway. Print to the SQL output can be done using \qecho.
Example:
\qecho '\nDrop Trigger Functions:' drop function if exists trade_tx_before(); drop function if exists trade_tx_after();