This commit is contained in:
@@ -134,3 +134,20 @@ Render outputs
|
||||
PDF: https://jsreport.net/learn/pdf-recipes
|
||||
Outputs 5 different pdf converters because they all support different feature sets which is ominous
|
||||
|
||||
|
||||
|
||||
BAR CODE STUFF
|
||||
Bar codes: https://github.com/metafloor/bwip-js
|
||||
https://stackoverflow.com/questions/19017512/use-canvas-inside-a-handlebars-template
|
||||
https://github.com/metafloor/bwip-js#browser-usage
|
||||
https://www.scandit.com/blog/types-barcodes-choosing-right-barcode/
|
||||
https://github.com/metafloor/bwip-js/wiki/BWIPP-Barcode-Types
|
||||
|
||||
let opt = {
|
||||
bcid: "code128", // Barcode type
|
||||
text: "0123456789", // Text to encode
|
||||
scale: 3, // 3x scaling factor
|
||||
height: 10, // Bar height, in millimeters
|
||||
includetext: true, // Show human-readable text
|
||||
textxalign: "center" // Always good to set this
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user