Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First attempt at centering images and QRs #250

Merged
merged 5 commits into from Aug 31, 2017

Conversation

@MicroJoe
Copy link
Contributor

@MicroJoe MicroJoe commented Aug 13, 2017

Contributor checklist

  • I have read the CONTRIBUTING.rst
  • I have tested my contribution on these devices:
  • ZJ-5890
  • My contribution is ready to be merged as is

Description

This was tested on ZJ-5890 with success. By default centering is deactivated for backward compatibility. Trying to center a QR code in native mode will raise an exception as we do not know ATM if the native rendering is centered by default or not.

20170813_112517

This PR also brings the ability to center images.

This was tested on ZJ-5890 with success. By default centering is
deactivated for backward compatibility. Trying to center a QR code in
native mode will raise an exception as we do not know ATM if the native
rendering is centered by default or not.
@MicroJoe MicroJoe force-pushed the MicroJoe:feature/center-qr branch from 661bb7e to f64c7f6 Aug 26, 2017
@patkan patkan merged commit b648cfd into python-escpos:development Aug 31, 2017
3 checks passed
3 checks passed
codecov/patch 100% of diff hit (target 69.51%)
Details
codecov/project 69.82% (+0.3%) compared to 50c627f
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@patkan
Copy link
Member

@patkan patkan commented Aug 31, 2017

Thank you! :-)

@MicroJoe MicroJoe mentioned this pull request Oct 9, 2017
1 of 1 task complete
@MicroJoe MicroJoe deleted the MicroJoe:feature/center-qr branch Dec 3, 2017
@gigimon gigimon mentioned this pull request Aug 28, 2019
1 of 1 task complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.