| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:fbd1c3fc-6e25-f8ca-e2f5-b9d6fdaf4c4c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A63A:7FD8A:619934:84F950:6A4DD04D |
| html-safe-nonce | 33cfa8fc3af581c337b2797e908fd8b801964b75e5f319e198da9b9e43043b06 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjNBOjdGRDhBOjYxOTkzNDo4NEY5NTA6NkE0REQwNEQiLCJ2aXNpdG9yX2lkIjoiNzA4NjU3NDc5MzI1NjcxODQxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 567ada4caf45e9f91e65ca0e17609a6f24ad653d7e1fcdc99ed6f3ee052e25b9 |
| hovercard-subject-tag | pull_request:2376789283 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-escpos/python-escpos/pull/680/files |
| twitter:image | https://avatars.githubusercontent.com/u/28852446?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/28852446?s=400&v=4 |
| og:image:alt | Description
This PR adds Kanji-related feature.
ESC/POS's Kanji feature is implemented.
Tested with
EPSON TM-m10 (Japanese model)
Supports only ISO-2022-JP and Shift-JIS encoding
Note
... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python-escpos/python-escpos/pull/680/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-escpos%2Fpython-escpos%2Fpull%2F680%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-escpos%2Fpython-escpos%2Fpull%2F680%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python-escpos%2Fpython-escpos |
| Reload | https://github.com/python-escpos/python-escpos/pull/680/files |
| Reload | https://github.com/python-escpos/python-escpos/pull/680/files |
| Reload | https://github.com/python-escpos/python-escpos/pull/680/files |
| Please reload this page | https://github.com/python-escpos/python-escpos/pull/680/files |
|
python-escpos
| https://github.com/python-escpos |
| python-escpos | https://github.com/python-escpos/python-escpos |
|
Notifications
| https://github.com/login?return_to=%2Fpython-escpos%2Fpython-escpos |
|
Fork
312
| https://github.com/login?return_to=%2Fpython-escpos%2Fpython-escpos |
|
Star
1.3k
| https://github.com/login?return_to=%2Fpython-escpos%2Fpython-escpos |
|
Code
| https://github.com/python-escpos/python-escpos |
|
Issues
63
| https://github.com/python-escpos/python-escpos/issues |
|
Pull requests
24
| https://github.com/python-escpos/python-escpos/pulls |
|
Discussions
| https://github.com/python-escpos/python-escpos/discussions |
|
Actions
| https://github.com/python-escpos/python-escpos/actions |
|
Projects
| https://github.com/python-escpos/python-escpos/projects |
|
Security and quality
0
| https://github.com/python-escpos/python-escpos/security |
|
Insights
| https://github.com/python-escpos/python-escpos/pulse |
|
Code
| https://github.com/python-escpos/python-escpos |
|
Issues
| https://github.com/python-escpos/python-escpos/issues |
|
Pull requests
| https://github.com/python-escpos/python-escpos/pulls |
|
Discussions
| https://github.com/python-escpos/python-escpos/discussions |
|
Actions
| https://github.com/python-escpos/python-escpos/actions |
|
Projects
| https://github.com/python-escpos/python-escpos/projects |
|
Security and quality
| https://github.com/python-escpos/python-escpos/security |
|
Insights
| https://github.com/python-escpos/python-escpos/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython-escpos%2Fpython-escpos%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython-escpos%2Fpython-escpos%2Fissues%2Fnew%2Fchoose |
| kymok | https://github.com/kymok |
| python-escpos:master | https://github.com/python-escpos/python-escpos/tree/master |
| kymok:feature/kanji-commands | https://github.com/kymok/python-escpos/tree/feature/kanji-commands |
|
Conversation
21
| https://github.com/python-escpos/python-escpos/pull/680 |
|
Commits
8
| https://github.com/python-escpos/python-escpos/pull/680/commits |
|
Checks
0
| https://github.com/python-escpos/python-escpos/pull/680/checks |
|
Files changed
| https://github.com/python-escpos/python-escpos/pull/680/files |
| Please reload this page | https://github.com/python-escpos/python-escpos/pull/680/files |
|
Feature/kanji commands
| https://github.com/python-escpos/python-escpos/pull/680/files#top |
|
Show all changes
8 commits
| https://github.com/python-escpos/python-escpos/pull/680/files |
|
42db405
Add Kanji-related feature code
kymok Mar 6, 2025
| https://github.com/python-escpos/python-escpos/pull/680/commits/42db405bf96e62e3a4daa8c72dae1fc47192291d |
|
515b0a1
Add Kanji-related test
kymok Mar 6, 2025
| https://github.com/python-escpos/python-escpos/pull/680/commits/515b0a135774af954df4ace5ac1d31e26478ee0a |
|
e561fb1
Add kanji-related example
kymok Mar 6, 2025
| https://github.com/python-escpos/python-escpos/pull/680/commits/e561fb1fa2222afc8c9ec1a163401f68645a3744 |
|
f3e48d8
Sort imports
kymok Mar 7, 2025
| https://github.com/python-escpos/python-escpos/pull/680/commits/f3e48d8845d537d6652a7af5284e690716cb87e4 |
|
3ebc29b
Fix tox warnings & errors
kymok Mar 7, 2025
| https://github.com/python-escpos/python-escpos/pull/680/commits/3ebc29bdb8e40aae5788afd3ea545f26fab1d1af |
|
c7aad43
Merge branch 'master' into feature/kanji-commands
patkan Mar 16, 2025
| https://github.com/python-escpos/python-escpos/pull/680/commits/c7aad43e177db8ae323762be1a2a23a4713162f3 |
|
bd83c97
fix return types; add user defined kanji function
kymok Apr 19, 2025
| https://github.com/python-escpos/python-escpos/pull/680/commits/bd83c979eda97443038b5450c0a618263f0ea865 |
|
9d77f63
Merge branch 'master' into feature/kanji-commands
kymok May 4, 2025
| https://github.com/python-escpos/python-escpos/pull/680/commits/9d77f630c8b7db09ad858fb9866b609286ec43cc |
|
Clear filters
| https://github.com/python-escpos/python-escpos/pull/680/files |
| Please reload this page | https://github.com/python-escpos/python-escpos/pull/680/files |
| Please reload this page | https://github.com/python-escpos/python-escpos/pull/680/files |
|
kanji.py
| https://github.com/python-escpos/python-escpos/pull/680/files#diff-0cfa0e58e4e020f5febed5f2cc66ec9adbc9de96562d58256cc56c094a8e4da4 |
|
software_columns.py
| https://github.com/python-escpos/python-escpos/pull/680/files#diff-af054d883ec7123b265f97101675c8c5e1c7b1996b986bb70b6e386001268cf8 |
|
setup.cfg
| https://github.com/python-escpos/python-escpos/pull/680/files#diff-fa602a8a75dc9dcc92261bac5f533c2a85e34fcceaff63b3a3a81d9acde2fc52 |
|
constants.py
| https://github.com/python-escpos/python-escpos/pull/680/files#diff-847ebfb525fcff6c15383aec7adec0024173b5e6c7d30d9b45b10348f95ca847 |
|
escpos.py
| https://github.com/python-escpos/python-escpos/pull/680/files#diff-91425ded8755c4787655c26fd1d5c170d51b6953802ca2ba55ad9dd8bab0191e |
|
test_function_kanji.py
| https://github.com/python-escpos/python-escpos/pull/680/files#diff-faec298f43dce77a19f8b46e356838c03205d7cea743517a5b05ad0d7468028e |
|
tox.ini
| https://github.com/python-escpos/python-escpos/pull/680/files#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449 |
| examples/kanji.py | https://github.com/python-escpos/python-escpos/pull/680/files#diff-0cfa0e58e4e020f5febed5f2cc66ec9adbc9de96562d58256cc56c094a8e4da4 |
|
View file
| https://github.com/python-escpos/python-escpos/blob/9d77f630c8b7db09ad858fb9866b609286ec43cc/examples/kanji.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python-escpos/python-escpos/pull/680/{{ revealButtonHref }} |
| examples/software_columns.py | https://github.com/python-escpos/python-escpos/pull/680/files#diff-af054d883ec7123b265f97101675c8c5e1c7b1996b986bb70b6e386001268cf8 |
|
View file
| https://github.com/python-escpos/python-escpos/blob/9d77f630c8b7db09ad858fb9866b609286ec43cc/examples/software_columns.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python-escpos/python-escpos/pull/680/{{ revealButtonHref }} |
|
| https://github.com/python-escpos/python-escpos/pull/680/files#diff-af054d883ec7123b265f97101675c8c5e1c7b1996b986bb70b6e386001268cf8 |
| setup.cfg | https://github.com/python-escpos/python-escpos/pull/680/files#diff-fa602a8a75dc9dcc92261bac5f533c2a85e34fcceaff63b3a3a81d9acde2fc52 |
|
View file
| https://github.com/python-escpos/python-escpos/blob/9d77f630c8b7db09ad858fb9866b609286ec43cc/setup.cfg |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python-escpos/python-escpos/pull/680/{{ revealButtonHref }} |
|
| https://github.com/python-escpos/python-escpos/pull/680/files#diff-fa602a8a75dc9dcc92261bac5f533c2a85e34fcceaff63b3a3a81d9acde2fc52 |
| src/escpos/constants.py | https://github.com/python-escpos/python-escpos/pull/680/files#diff-847ebfb525fcff6c15383aec7adec0024173b5e6c7d30d9b45b10348f95ca847 |
|
View file
| https://github.com/python-escpos/python-escpos/blob/9d77f630c8b7db09ad858fb9866b609286ec43cc/src/escpos/constants.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python-escpos/python-escpos/pull/680/{{ revealButtonHref }} |
|
| https://github.com/python-escpos/python-escpos/pull/680/files#diff-847ebfb525fcff6c15383aec7adec0024173b5e6c7d30d9b45b10348f95ca847 |
| src/escpos/escpos.py | https://github.com/python-escpos/python-escpos/pull/680/files#diff-91425ded8755c4787655c26fd1d5c170d51b6953802ca2ba55ad9dd8bab0191e |
|
View file
| https://github.com/python-escpos/python-escpos/blob/9d77f630c8b7db09ad858fb9866b609286ec43cc/src/escpos/escpos.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python-escpos/python-escpos/pull/680/{{ revealButtonHref }} |
|
| https://github.com/python-escpos/python-escpos/pull/680/files#diff-91425ded8755c4787655c26fd1d5c170d51b6953802ca2ba55ad9dd8bab0191e |
|
| https://github.com/python-escpos/python-escpos/pull/680/files#diff-91425ded8755c4787655c26fd1d5c170d51b6953802ca2ba55ad9dd8bab0191e |
|
| https://github.com/python-escpos/python-escpos/pull/680/files#diff-91425ded8755c4787655c26fd1d5c170d51b6953802ca2ba55ad9dd8bab0191e |
|
| https://github.com/python-escpos/python-escpos/pull/680/files#diff-91425ded8755c4787655c26fd1d5c170d51b6953802ca2ba55ad9dd8bab0191e |
|
| https://github.com/python-escpos/python-escpos/pull/680/files#diff-91425ded8755c4787655c26fd1d5c170d51b6953802ca2ba55ad9dd8bab0191e |
|
| https://github.com/python-escpos/python-escpos/pull/680/files#diff-91425ded8755c4787655c26fd1d5c170d51b6953802ca2ba55ad9dd8bab0191e |
|
| https://github.com/python-escpos/python-escpos/pull/680/files#diff-91425ded8755c4787655c26fd1d5c170d51b6953802ca2ba55ad9dd8bab0191e |
| patkan | https://github.com/patkan |
| Mar 16, 2025 | https://github.com/python-escpos/python-escpos/pull/680/files#r1997643837 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-escpos/python-escpos/pull/680/files |
| patkan | https://github.com/patkan |
| Mar 16, 2025 | https://github.com/python-escpos/python-escpos/pull/680/files#r1997643862 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-escpos/python-escpos/pull/680/files |
| patkan | https://github.com/patkan |
| Mar 16, 2025 | https://github.com/python-escpos/python-escpos/pull/680/files#r1997639248 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-escpos/python-escpos/pull/680/files |
| patkan | https://github.com/patkan |
| Mar 16, 2025 | https://github.com/python-escpos/python-escpos/pull/680/files#r1997643939 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-escpos/python-escpos/pull/680/files |
| patkan | https://github.com/patkan |
| Mar 16, 2025 | https://github.com/python-escpos/python-escpos/pull/680/files#r1997643983 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-escpos/python-escpos/pull/680/files |
| patkan | https://github.com/patkan |
| Mar 16, 2025 | https://github.com/python-escpos/python-escpos/pull/680/files#r1997644028 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-escpos/python-escpos/pull/680/files |
| patkan | https://github.com/patkan |
| Mar 16, 2025 | https://github.com/python-escpos/python-escpos/pull/680/files#r1997644074 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-escpos/python-escpos/pull/680/files |
| patkan | https://github.com/patkan |
| Mar 16, 2025 | https://github.com/python-escpos/python-escpos/pull/680/files#r1997644097 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-escpos/python-escpos/pull/680/files |
| patkan | https://github.com/patkan |
| Mar 16, 2025 | https://github.com/python-escpos/python-escpos/pull/680/files#r1997644109 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-escpos/python-escpos/pull/680/files |
| patkan | https://github.com/patkan |
| Mar 16, 2025 | https://github.com/python-escpos/python-escpos/pull/680/files#r1997643386 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://python-escpos--680.org.readthedocs.build/en/680/dev/todo.html | https://python-escpos--680.org.readthedocs.build/en/680/dev/todo.html |
| Please reload this page | https://github.com/python-escpos/python-escpos/pull/680/files |
| patkan | https://github.com/patkan |
| Mar 16, 2025 | https://github.com/python-escpos/python-escpos/pull/680/files#r1997644135 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-escpos/python-escpos/pull/680/files |
| patkan | https://github.com/patkan |
| Mar 16, 2025 | https://github.com/python-escpos/python-escpos/pull/680/files#r1997644151 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-escpos/python-escpos/pull/680/files |
| patkan | https://github.com/patkan |
| Mar 16, 2025 | https://github.com/python-escpos/python-escpos/pull/680/files#r1997644169 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python-escpos/python-escpos/pull/680/files |
|
| https://github.com/python-escpos/python-escpos/pull/680/files#diff-91425ded8755c4787655c26fd1d5c170d51b6953802ca2ba55ad9dd8bab0191e |
| Please reload this page | https://github.com/python-escpos/python-escpos/pull/680/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |