  We study the inclusive photoproduction of neutral and charged pions and
$\eta$ at HERA, via the resolved photon mechanism, in QCD to next-to-leading
order. We present various distributions of phenomenological interest and study
the theoretical uncertainties due to the mass scales, and to photon and proton
sets of structure functions. A new set of fragmentation functions for charged
pions is also presented.
