With the serial number of the printer, they can track it through retail channels to the buyer. If someone paid cash, they can review the surveillance footage at the point of sale at the time the sale was made. And when they find you in possession of the printer that emitted the printout, they can conclude you printed whatever it was.