{"id":18074231,"url":"https://github.com/binarskugga/printableqrgenerator","last_synced_at":"2025-08-03T22:33:35.998Z","repository":{"id":77237565,"uuid":"156135264","full_name":"BinarSkugga/PrintableQRGenerator","owner":"BinarSkugga","description":"Generates tables of QR codes for automated serial sticker printing. Can be configured with Avery formats provided some mearsurements.","archived":false,"fork":false,"pushed_at":"2018-11-10T22:51:02.000Z","size":482,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-03T10:01:02.412Z","etag":null,"topics":["avery","bulk","code","generator","pdf","pdf-generation","printable","qr"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BinarSkugga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-04T23:28:31.000Z","updated_at":"2021-10-13T02:25:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"c86d83a7-b423-4383-85f7-bfc6f3bfe247","html_url":"https://github.com/BinarSkugga/PrintableQRGenerator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BinarSkugga/PrintableQRGenerator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinarSkugga%2FPrintableQRGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinarSkugga%2FPrintableQRGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinarSkugga%2FPrintableQRGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinarSkugga%2FPrintableQRGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BinarSkugga","download_url":"https://codeload.github.com/BinarSkugga/PrintableQRGenerator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinarSkugga%2FPrintableQRGenerator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268623294,"owners_count":24280074,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["avery","bulk","code","generator","pdf","pdf-generation","printable","qr"],"created_at":"2024-10-31T10:11:49.683Z","updated_at":"2025-08-03T22:33:35.942Z","avatar_url":"https://github.com/BinarSkugga.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# New features\nPlease let me know via an issue if you want a new feature ! You can even make it yourself and make a pull request ! :)\n\n# Simple use\n``` java\npublic class ExampleQRGenerator extends QRSerialGenerator\u003cUUID\u003e {\n\n\t@Override\n\tprotected UUID nextValue(UUID previous) {\n\t\treturn UUID.randomUUID();\n\t}\n\n\t@Override\n\tprotected String toLabel(UUID current) {\n\t\treturn \"UUID v\" + current.version();\n\t}\n\n}\n```\n``` java\n// This example works with the Avery template #5167\nQRSerialGenerator\u003cUUID\u003e generator = new ExampleQRGenerator();\n\ngenerator.setPageSize(new RectangleReadOnly(8.5f, 11f));\ngenerator.setOutsetMargin(new RectangleReadOnly(5f / 16f, 0.5f));\ngenerator.setInsetMargin(new RectangleReadOnly(5f / 16f, 0));\ngenerator.setStickerSize(new RectangleReadOnly(1.75f, 0.5f));\n\ngenerator.setLineSize(4);\ngenerator.setBatchSize(800);\ngenerator.setEcc(QrCode.Ecc.LOW);\n\ngenerator.generate(\"simple-generator.pdf\");\n```\n\n\u003e Click on the image to test scan it.\n\n![Result](https://raw.githubusercontent.com/BinarSkugga/PrintableQRGenerator/master/result.png)\n\n# From a collection\n``` java\npublic class ExampleQRGeneratorCollection extends QRSerialCollectionGenerator\u003cSimplePojo\u003e {\n\n\tpublic ExampleQRGeneratorCollection(List\u003cSimplePojo\u003e items) {\n\t\tsuper(items);\n\t}\n\n\t@Override\n\tprotected String toValue(SimplePojo current) {\n\t\treturn \"SIMPLE-\" + current.getId().toString();\n\t}\n\n\t@Override\n\tprotected String toLabel(SimplePojo current) {\n\t\treturn current.getName() + \" \" + current.getLastName().charAt(0) + \".\";\n\t}\n\n}\n```\n``` java\n// This example works with the Avery template #5167\nList\u003cSimplePojo\u003e items = Arrays.asList(\n\t\tnew SimplePojo(UUID.randomUUID(), \"Charles\", \"Smith\"),\n\t\tnew SimplePojo(UUID.randomUUID(), \"Louis-Philippe\", \"Potvin\"),\n\t\tnew SimplePojo(UUID.randomUUID(), \"Jonathan\", \"Métras\"),\n\t\tnew SimplePojo(UUID.randomUUID(), \"Alexandre\", \"Marchand\"),\n\t\tnew SimplePojo(UUID.randomUUID(), \"Frédéric\", \"Deschênes\")\n);\nQRSerialCollectionGenerator\u003cSimplePojo\u003e collectionGenerator = new ExampleQRGeneratorCollection(items);\n\ncollectionGenerator.setPageSize(new RectangleReadOnly(8.5f, 11f));\ncollectionGenerator.setOutsetMargin(new RectangleReadOnly(5f / 16f, 0.5f));\ncollectionGenerator.setInsetMargin(new RectangleReadOnly(5f / 16f, 0));\ncollectionGenerator.setStickerSize(new RectangleReadOnly(1.75f, 0.5f));\n\ncollectionGenerator.setLineSize(4);\ncollectionGenerator.setLabelFontSize(10);\ncollectionGenerator.generate(\"simple-collection-generator.pdf\");\n```\n\n\u003e Click on the image to test scan it.\n\n![Result Collection](https://raw.githubusercontent.com/BinarSkugga/PrintableQRGenerator/master/result-collection.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarskugga%2Fprintableqrgenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinarskugga%2Fprintableqrgenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarskugga%2Fprintableqrgenerator/lists"}