Skip to content

Add support for C39 in templates#170

Open
rkowalski4 wants to merge 4 commits into
reingart:masterfrom
makimo:master
Open

Add support for C39 in templates#170
rkowalski4 wants to merge 4 commits into
reingart:masterfrom
makimo:master

Conversation

@rkowalski4
Copy link
Copy Markdown

This pull request adds support for barcode following C39 in templates (BCC39). It also extends an interface to be consistent with barcodes in template - I25 (BCI25) is explicitly added which call the same function as BC. BC is not changed to provide backwards compatibility.

This pull request also introduces a change in code39 method from FPDF class (responsible for barcode generation following C39 standard). Since now, it is not required to escape text on your own (adding '*' at the beginning and at the end of the string). This change does not provide backwards compatibility.

Rafał Kowalski added 4 commits November 5, 2020 13:17
This commit adds extra template handlers: BCC39 and BCI25. First generetes BCC39 barcode. Second one is added to keep API consistency and call BC under the hood
@alexanderankin
Copy link
Copy Markdown

if its possible for you to pr this against https://github.com/alexanderankin/pyfpdf/issues then i may release it as i am maintaining fpdf2

@Lucas-C
Copy link
Copy Markdown

Lucas-C commented Jan 3, 2021

That's nice how you added documentation on code39 & interleaved2of5 methods!

I second @alexanderankin suggestion: could you please submit this PR against his fork (which is fpdf2 on Pypi) and we'll merge it.

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.

3 participants