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

Support for configuring guard bars for EAN-13 #196

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mjamro
Copy link

@mjamro mjamro commented Mar 15, 2024

I've added support for configuring appearance of the guard bars for EAN-13 to match the standard. I need the first digit to be the same size as other digits and placed on the quiet area.

EAN-8 implementation will be similar. If you approve this approach i can make the necessary changes.

Default mode (backward compatible)

EAN13_GuardBarDefault

New mode - first char on the quiet zone

Because we need more space to fit the first char outside of the code a margin is added to both ends of the code. This could result in smaller code as on the image below.

EAN13_GuardBarNewMode

Guard bars disabled

EAN13_GuardBarsDisabled

@mjamro mjamro changed the title Support for configuring guard bars. Support for configuring guard bars for EAN-13 Mar 15, 2024
@barnhill
Copy link
Owner

This looks like it would only apply to EAN/UPC barcodes which is fine. My only concern is that its configured on the outer barcode object and even if configured wouldnt do anything to any other types. Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants