Context. The origin of the heating of the solar atmosphere is still an unsolved problem. As the photosphere and chromosphere radiate more energy than the solar corona it is challenging but important to reveal all the mechanisms that contribute to plasma heating there. Ion-neutral collisions could play an important role. Aims. Impulsively generated two-fluid magnetoacoustic waves are investigated in the partially ionized solar chromosphere and the associated heating and plasma outflows are studied, which higher up may result in nascent solar wind. Methods. To describe the plasma dynamics, a two-fluid model is applied in which ions+electrons and neutrals are treated as separate fluids. The two-fluid equations are solved numerically using the JOANNA code. Results. We show that magnetoacoustic waves, triggered in the photosphere by localised velocity pulses, can steepen into shocks which heat the chromosphere through ion-neutral collisions. Larger amplitude and wider pulses more effectively heat plasma and generate larger plasma outflows. Rising the altitude at which the pulse is launched, results in opposite effects, mainly in local cooling of the chromosphere, and slower plasma outflows. Conclusions. Even a solitary pulse results in a train of waves. These waves can transform to shock waves and release thermal energy, heating the chromosphere significantly. A pulse can drive vertical flows which higher up can result in the origin of the solar wind.