We compute the decay rates and H-energy distributions of B mesons into the
final state H+X, where H can be any one of the S-wave or P-wave charmonia,
at next-to-leading order in the strong coupling. We fmd that a significant
fraction of the observed J/psi,psi' and chi(c) must be produced through c (
c) over bar pairs in a color octet state and should therefore be accompanie
d by more than one light hadron. At the same time we obtain stringent const
raints on some of the long-distance parameters for color octet production.
[S0556-2821(99)01003-6].