-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Code 128 manual subset selection #58
Comments
On 15 April 2016 at 12:38, Simon Mansfield [email protected] wrote:
The specifications discourage such usage. It sounds like what you might find useful would be the ability to Might I ask what the use case is? |
Am 15.04.2016 um 14:40 schrieb Terry Burton:
Simon, Normally, the character changes are chosen automatically to get minimal Example data: 1234567A Perhaps you don't know, that bwipp cares about this automatically and A reason to specify the "charset" is to get contant code length with Those two use-cases are covered. Is your use case one of those ? Hope this helps, |
I need to generate a barcode to the Interlink specification, which states that certain parts of the barcode must be encoded with specific subsets. Here's a copy of the spec: EDIT: I know that their spec is stupid from a readability point-of-view, but I need to adhere to it 😢 |
Am 15.04.2016 um 14:55 schrieb Simon Mansfield:
Ok, thank you. Harald |
@Siyfion I've just remembered that I included a "raw" option (or "encoding=raw") that allows you to specify the codewords directly. See: https://github.com/bwipp/postscriptbarcode/wiki/Code-128 To take Harald's (@oehhar) example above: Example data: 1234567A 0 0 moveto (^105^012^034^056^100^023^033) (raw) /code128 /uk.co.terryburton.bwipp findresource exec |
@terryburton I saw the |
Updated comment above. |
Awesome, thanks! I'll give that a go now. 👍 |
Leaving this fragment from offline here:
|
Terry, just to add a note to this closed issue. We had a situation at a factory where we had to program a fixed scanner to ignore code128 symbols that started in subset-C. The labels it was scanning contained three code128 symbols, with the top one always starting in subset-C. We wanted only the other two bar codes. Why I bring this up? Sometimes, because of automatic encoding, one of the other two bar codes would also start in subset-C.... We unfortunately had no control over those labels, but I think it demonstrates a use-case for at least forcing the starting subset. Cheers, Mark |
On 15 Apr 2016 19:38, "metafloor" [email protected] wrote:
That's useful, thanks! |
The BWIPP library is an encoder not a decoder, so it does not attempt to convert from codewords back to text. You can however supply the Please can you describe the use case (application specification, etc.) that requires you to drive the encoding using the Only the other day I encountered a proprietary application that required the gratuitous use of switch-A/B/C codewords in Code-128 that no longer works with modern scanning equipment. (These implement GS1 Composite, for which there is a standard use of the same codewords for "linkage" purposes.) So I am more inclined to create helper symbologies for applications that require discouraged encoding tweaks than to shoehorn features into the generic encoders without reference to why they are required. It's difficult to anticipate the extent of implementer's stupidity! |
I was wondering whether it is possible to create a Code 128 barcode, but with different subsets used for different parts of it? More specifically, say subset A for the first 8 characters, B for the next 10, etc.
I’ve never come across anything like this before and wondered whether BWIPP would be able to generate such a barcode?
The text was updated successfully, but these errors were encountered: