Here's a couple of screenshots of how to program the keyless entry pin/code on a 1996 subaru legacy gtb door handle.
Chances are that this will work for anything from 1994 to late 90's.