-
Notifications
You must be signed in to change notification settings - Fork 310
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
Question: GS1 Barcode Stacked barheight Option #53
Comments
I looked at the original postscript source code and do not see where there is an option to set the bar height of the linear parts of the symbol. @terryburton Is it possible to control the linear bar heights in the databar* symbols? |
With the current code the bar height is always 34X. X being the minimum separator module height as per specification:
Adjusting the ratio of the bar height in relation to the separator pattern height is non-standard. It's an easy feature to add but what's the use case? |
@terryburton its done in coupon systems where you must fit the GS1 barcode on a limited real-estate. Similar to UPC-A/UPC-E barcodes truncating and resizing so that they can fit on smaller packaged goods. |
@terrancesnyder So am I right in thinking that it would suffice to provide an option to specify the bar height as a factor of the separator module height, say barxmult, default 34 (for GS1 DataBar Expanded)? @metafloor The extra whitespace padding above the symbol appears to be BWIP-JS specific. |
@terryburton yes that would work great! |
In release 2016-12-15 of BWIPP I've added a barxmult option to GS1 DataBar Stacked Omnidirectional (default barxmult=33) and GS1 DataBar Expanded Stacked (default barxmult=34). https://github.com/bwipp/postscriptbarcode/releases/tag/2016-12-15 I've going to hold off documenting this non-standard option until I can find more evidence that adjustment of the bar heights relative to the separator pattern is a common scenario that scans reliably in practise. |
We'll go ahead and use our $10,000 barcode quality checker and let you know how things worked out. |
Tried the defaults and searched the docs, any hints on how to do a GS1 barcode, and condense the height of each bar of the stack to make it smaller. Similar to the general barcode height options on other barcodes like UPCA/E?
Below are examples of when we applied "height=20" and left the defaults. Notice the padding around the GS1 when height is applied also the stretch of the gs1 as well.
The text was updated successfully, but these errors were encountered: