In one embodiment, an aerosol trap for an inkjet printer includes a conductor at least partially surrounding ink ejection nozzles such that, when the conductor is charged, aerosol generated when ink is ejected from the nozzles is contained by the conductor, and a source of electric power operatively connected to the conductor.