D-MESON PRODUCTION FROM 400 GEV/C PP INTERACTIONS