Skip to content

Why does my barcode get an extra character on the end? #169

Discussion options

You must be logged in to vote

/partno (0UM55XDVAG) def
30 480 moveto partno (includecheck) /code39 /uk.co.terryburton.bwipp findresource exec

If you do not want a check digit to be calculated then don't ask the library to include one. Refer to the documentation, specifically for the includecheck option: https://github.com/bwipp/postscriptbarcode/wiki/Code-39

This should work:

/partno (0UM55XDVAG) def
30 480 moveto partno () /code39 /uk.co.terryburton.bwipp findresource exec

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by terryburton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #169 on September 10, 2021 21:08.