The following examples demonstrate how it is possible to generate and save any type of data right in the browser using the W3C saveAs() FileSaver interface, without contacting any servers.
Another angle: sometimes the code might be from a purchase or invoice, like an order number. If that's the case, the user might need help tracking an order. But the user mentioned a "paper," so it's more likely a product manual.