type |
bcid, symbology, kind |
Symbology ID or bwip-js type. Default is code128. |
value |
text, data, code, v |
Barcode payload text. URL-encode special characters. |
format |
ext, fmt, file, output |
png, svg, webp, or jpeg (jpg). Default is png. |
scale |
s |
Number from 1 to 10. Default is 3 (1D) or 5 (2D). |
height |
h |
Bar height in mm from 4 to 100. Default is 12 for 1D. |
includetext |
label, showtext, hrtext |
1 or 0. Default is 1 (1D) or 0 (2D). |
padding |
pad, margin |
Integer from 0 to 40. Default is 10. |
fg |
color, barcolor |
3-digit or 6-digit hex color. Default is 000000. |
bg |
bgcolor, backgroundcolor |
Hex color or transparent. Default is ffffff. |
rotate |
rot |
N (0), R (90), I (180), or L (270). Default is N. |
download |
dl |
1 starts a file download on initial page load. |
minimal |
clean, embed |
1 shows only the barcode image in the viewport. |
filename |
name |
Custom download base name without extension. |