{"id":17463876,"url":"https://github.com/frenkydema/sunmi_cloud_printer","last_synced_at":"2025-04-19T19:56:05.494Z","repository":{"id":52993267,"uuid":"520775338","full_name":"FrenkyDema/sunmi_cloud_printer","owner":"FrenkyDema","description":"Package for use sunmi cloud printer","archived":false,"fork":false,"pushed_at":"2023-11-30T00:49:43.000Z","size":146,"stargazers_count":4,"open_issues_count":4,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T12:35:08.737Z","etag":null,"topics":["android","android-studio","barcode","dart-package","flutter","sunmi"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/sunmi_cloud_printer","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FrenkyDema.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2022-08-03T07:11:42.000Z","updated_at":"2024-12-02T03:02:45.000Z","dependencies_parsed_at":"2024-08-22T23:14:19.342Z","dependency_job_id":"e5d16e77-1e6c-4961-b27d-4a9eda9af458","html_url":"https://github.com/FrenkyDema/sunmi_cloud_printer","commit_stats":{"total_commits":56,"total_committers":3,"mean_commits":"18.666666666666668","dds":0.2857142857142857,"last_synced_commit":"c04bbd936cd87f70133dd650c28a2ad9fdbd205a"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrenkyDema%2Fsunmi_cloud_printer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrenkyDema%2Fsunmi_cloud_printer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrenkyDema%2Fsunmi_cloud_printer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrenkyDema%2Fsunmi_cloud_printer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FrenkyDema","download_url":"https://codeload.github.com/FrenkyDema/sunmi_cloud_printer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249787075,"owners_count":21325569,"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","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":["android","android-studio","barcode","dart-package","flutter","sunmi"],"created_at":"2024-10-18T10:44:01.866Z","updated_at":"2025-04-19T19:56:05.474Z","avatar_url":"https://github.com/FrenkyDema.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sunmi_cloud_printer\n\nA package for 80mm Kitchen Cloud Printer - SUNMI\n\n## Important\n\n**THIS PACKAGE WILL WORK ONLY IN ANDROID!**\n\n---\n\n## Class Name\n\n```dart\nSunmiCloudPrinter\n```\n\n## Example\n\n```dart\nFuture\u003cvoid\u003e initPlatformState() async {\n    await SunmiCloudPrinter.setNetPrinter(\"IP_ADDRESS\");\n    await SunmiCloudPrinter.connect();\n}\n\n@override\nWidget build(BuildContext context) {\n    return ElevatedButton(\n        onPressed: () async =\u003e {\n            await SunmiCloudPrinter.printText(\"Connection Test !\"),\n            await SunmiCloudPrinter.lineWrap(3),\n        },\n        child: const Text(\"Print connection test\")\n    );\n```\n\n## Installation\n\n```bash\nflutter pub add sunmi_cloud_printer\n```\n\n## What this package do\n\n- [x] Write some text\n- [x] Change font size\n- [x] Jump (n) lines\n- [x] Draw a divisor line\n- [x] Bold mode on/off\n- [x] Print all types of Barcodes\n- [x] Print Qrcodes with custom width and error-level\n- [x] Print image from asset or from web\n- [x] Print rows like receipt with custom width and alignment\n- [ ] Able to combine with some esc/pos code that you already have!\n- [x] Cut paper - Dedicated method just to cut the line\n- [ ] Printer serial no - Get the serial number of the printer\n- [x] Printer version - Get the printer's version\n\n---\n\n## Tested Devices\n\n```bash\nSunmi NT311\n```\n\nInspired from [sunmi_printer_plus](https://github.com/brasizza/sunmi_printer)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrenkydema%2Fsunmi_cloud_printer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrenkydema%2Fsunmi_cloud_printer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrenkydema%2Fsunmi_cloud_printer/lists"}