This commit is contained in:
2020-09-14 23:40:15 +00:00
parent f9af8c939c
commit 059219374b

View File

@@ -189,7 +189,7 @@ Several helpers are pre-defined for use with reports:
Bar code helper used to render any of over 100 types of bar codes on reports.
This helper uses the [bwip-js](https://github.com/metafloor/bwip-js) open source bar code library to generate the bar codes.
This helper uses the [bwip-js](https://github.com/metafloor/bwip-js) open source bar code library to generate the bar codes and insert them and returns them into the generated HTML as an image element.
The helper is coded to accept two parameters, the data object template field name first and the options to pass to the bar code generator as a string of JSON encoded text corresponding to the [options](https://github.com/metafloor/bwip-js#working-with-bwip-js-methods) property of the bar code writer.
@@ -207,6 +207,10 @@ In AyaNova the `text` option of the `options` property is automatically set to t
If you are using bar codes only for internal purposes there are many forgiving options available such as Code39 barcodes (or Code 3 of 9) which do not require a check digit and can store up to 39 digits or QR Code or PDF417 '2d' bar codes which can store alphanumeric and ad-hoc data suitable for scanning with camera devices.
* Size: Some experimentation scaling and size options maybe be required to ensure bar codes are scannable depending on the rendering medium / equipment and scanner.
#### Advanced usage
For full details please refer to the examples and direct links to the open source documentation above on each type of bar code specifically and advanced options usage.
### ayCaps