The process of reprinting and assembling ballot packages likely would take more than two weeks, state attorneys have said. The ruling could be appealed.