You could open the document in your favourite PDF reader on your laptop and take it to the self-service checkout at your local supermarket. That should work.

Search for "java read barcode" - there...