Airline Captain is listed in Debretts Guide.
He is to be addressed as 'Captain'.
Flight Engineers, First Officers and Second Officers are to be addressed as 'Esquire' abbreviated 'Esq'.
It is a formal Title.
I will scan and post it when I have the time.