The supervisor of elections of each county shall print on ballots to be used in the county at the next general election the names of candidates who have been nominated by a political party and the candidates who have otherwise obtained a position on the general election ballot in compliance with the requirements of this code.