The transistor type NPN/PNP determines the polarity of the connections. The orientation of the transistor is the pin layout. I define the pin layout when looking at the top of the transistor with the flat side facing toward you. That is probably not the official way to classify them but it makes more sense to me when I am placing them in a circuit.
- EBC stands for Emitter Base Collector. When I use this acronym I am saying that the pin to the left is the emitter, the middle pin is the base, and the right pin is the collector.
- ECB similar to the above acronym stands for Emitter Collector Base. The emitter pin is again on the left but the middle pin is the collector and the right pin is the base.
I have gone through about 100 transistors that were pulled from old electronics and have never found any other orientations so i have found that there is no need to test for anything but these two orientations.