generate_barcode
Barcode Generator — Generate a barcode (Code128, EAN-13, DataMatrix, PDF417, etc.) as a PNG image. [category: generate]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Which barcode standard to make. Code 128 takes any text or number; EAN-13 needs 12-13 digits and EAN-8 needs 7-8; UPC-A needs 11-12; Code 39 takes capitals and digits; ITF-14 needs 13-14 digits; Data Matrix, PDF417 and QR are the square ones that hold any text. Anything we do not recognise is made as a Code 128. | code128 |
| height | No | How tall the bars are, in pixels. The width follows automatically. | |
| content | Yes | The data to encode | |
| showText | No | Print the encoded digits underneath the bars, so a cashier can key them in if a scan fails. |