rapport v0.6.4 Rapport.Barcode
Link to this section Summary
Functions
Creates a barcode image (PNG) with the given text
Link to this section Functions
Link to this function
create(barcode_type, text, opts \\ [])
Creates a barcode image (PNG) with the given text
It expects the barcode type to be an :atom and it must be :code39
, :code93
, code128
or :itf
,
otherwise ArgumentError
will be raised.
Options
barcode_type
- The barcode type to usetext
- The text to use to generate the barcode