flametitan said:
I’m of the opinion that C-3PO knows there’s a Princess on the ship, as well as some level of familiarity with her exploits, but never met her personally so he wouldn’t recognize her by face.
As far as Lucas was concerned he knew quite well who she was, but was programmed to lie about her.
ZkinandBonez said:
Lucas does however state that Threepio was “programmed not to mention having knowledge of the Princess”
The radio-play of ANH from 1981 even had Leia and captain Antilles specifically go up to Threepio and give him orders/re-programming to lie about knowing her.