symbology
symbology copied to clipboard
Unable to set custom text
Hello,
The documentation states that the text
property in the config
object allows customizing the human readable text shown under the barcode. However, it appears that setting anything to the property has no effect:
try {
const { data } = await createStream({
symbology: SymbologyType.CODE128,
text: "custom_text", //has no effect, original input used for barcode generation will appear instead
}, input, OutputType.PNG)
console.log('Result: ', data)
return data;
} catch (err) {
console.error('Error: ', err)
return undefined
}