Skip to content

UPC/UPCA final output doesn't include guard bars #179

Description

@logikonabstractions

I'm being told (not a barcode format specialist) that the standard presentation for a UPC/UPCA code should look like this:

image

If I generate this barcode using the following code however, I get this:

image

Issues:

Added "F" at the end?

Any way to turn this off?

Guardbars not displayed

As I seem to understand, the standard/typical presentation for those code should include guardbars. I tried adding the "guardbars" keywords but it seems the UPC class doesn't accept that argument.

Code:

python-barcode create 686254053919 upc

Also generated as part of a server-side rendering, with same result:

UPCA(str(value["code"]), writer=SVGWriter(), guardbars=True).write(file)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions