We use a pulsed nitrogen laser to produce atomic ions by laser ablation, measuring the relative ion yield for several elements, including some that have only recently been proposed for use in cold trapped ion experiments. For barium, we monitor the ion yield as a function of the number of applied ablation pulses for different substrates. We also investigate the ion production as a function of the pulse energy, and the efficiency of loading an ion trap as a function of radiofrequency voltage.