well known that every printer has a correlated, hidden mark when printing documents. each printer prints documents with an invisible 'digital fingerprint' - would make it easy to see if illegal ballots were printed on non-authorized printers.
there is no reason that the ballot printers could not be printing additional markings for veracity with an addition to the programmed ID.