Title: is_online() fails with raise NotImplementedError() · Issue #622 · python-escpos/python-escpos · GitHub
Open Graph Title: is_online() fails with raise NotImplementedError() · Issue #622 · python-escpos/python-escpos
X Title: is_online() fails with raise NotImplementedError() · Issue #622 · python-escpos/python-escpos
Description: I have: [X ] searched open and closed issues for duplicates Bug description It looks like the function is missing in the File "driver": File "/usr/lib/python3.11/site-packages/escpos/escpos.py", line 177, in _read raise NotImplementedErr...
Open Graph Description: I have: [X ] searched open and closed issues for duplicates Bug description It looks like the function is missing in the File "driver": File "/usr/lib/python3.11/site-packages/escpos/escpos.py", li...
X Description: I have: [X ] searched open and closed issues for duplicates Bug description It looks like the function is missing in the File "driver": File "/usr/lib/python3.11/site-packages/escpos...
Opengraph URL: https://github.com/python-escpos/python-escpos/issues/622
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"is_online() fails with raise NotImplementedError()","articleBody":"I have:\r\n- [X ] searched open and closed issues for duplicates\r\n\r\n### Bug description\r\nIt looks like the function is missing in the File \"driver\":\r\n\r\n\u003e File \"/usr/lib/python3.11/site-packages/escpos/escpos.py\", line 177, in _read\r\n\u003e raise NotImplementedError()\r\n\u003e NotImplementedError\r\n\r\n\r\n### Steps to reproduce\r\n```\r\nfrom escpos.escpos import EscposIO\r\nfrom escpos import printer\r\n\r\nwith EscposIO(printer.File(\"\u003cPath\u003e\", profile=\"TM-U220B\")) as x:\r\n while not x.printer.is_online():\r\n pass\r\n```\r\n\r\n### Device info\r\n **Printer:** Epson Model TM-U220B\r\n\r\n **python-escpos version:** 3.1\r\n\r\n **python version:** 3.11.7\r\n \r\n **operating system:** Fedora-38\r\n","author":{"url":"https://github.com/tuxmaster5000","@type":"Person","name":"tuxmaster5000"},"datePublished":"2024-01-14T11:30:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/622/python-escpos/issues/622"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:607f0bc0-c43f-d793-e81c-df4acb618daa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A056:BB1BD:10BF410:16CB034:6A4D663A |
| html-safe-nonce | fd006da66b195c451c3e01f7dbf13fec1668aed927dd92890a67abbb9ab86ed3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDU2OkJCMUJEOjEwQkY0MTA6MTZDQjAzNDo2QTRENjYzQSIsInZpc2l0b3JfaWQiOiI5MDcxODM1ODQyODU5NTkxMjI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 75cb371845d39622b07e8d8035caba3d12bef5f56fa3c57f0b90a948f6d68c8b |
| hovercard-subject-tag | issue:2080689568 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-escpos/python-escpos/622/issue_layout |
| twitter:image | https://opengraph.githubassets.com/abe7024a92f564765cae9f5d0ced238e613da3602ecd7c627c07c5e958f0003f/python-escpos/python-escpos/issues/622 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/abe7024a92f564765cae9f5d0ced238e613da3602ecd7c627c07c5e958f0003f/python-escpos/python-escpos/issues/622 |
| og:image:alt | I have: [X ] searched open and closed issues for duplicates Bug description It looks like the function is missing in the File "driver": File "/usr/lib/python3.11/site-packages/escpos/escpos.py", li... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tuxmaster5000 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7db3950e3f59095e20a9789440c3dd554efc62d434882ead06ae05b5815605b9 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-escpos/python-escpos git https://github.com/python-escpos/python-escpos.git |
| octolytics-dimension-user_id | 16302939 |
| octolytics-dimension-user_login | python-escpos |
| octolytics-dimension-repository_id | 32363483 |
| octolytics-dimension-repository_nwo | python-escpos/python-escpos |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 32363483 |
| octolytics-dimension-repository_network_root_nwo | python-escpos/python-escpos |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cd8f6a71db61d6012a0cbb134be844fdbe9b8a45 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width