- Components
- Barcode
- Bars only
Bars Only Barcode
Render clean bars without the human-readable line for tight layouts where the value is printed elsewhere — value swapped per API call. Try imejis free.
Updated

What this style sets
A style is the barcode component with a few properties set. Send these, or start from the style in the editor.
{
"sku.displayValue": false
}Good for
- Compact ticket stubs
- Labels where the number prints separately
- Dense multi-barcode sheets
Try your own data
Change the bars only barcode here with the same controls the editor shows. The preview updates as you type, and you get the API request for your changes.
Examples
Each example is the same bars only barcode with different values. The JSON is what you send.
Compact ticket stub
A slim entry code on a cinema ticket where the ID prints elsewhere.
{
"sku.displayValue": false,
"sku.value": "TKT-2026-000481"
}Asset tag strip
A navy bars-only strip for an IT asset label with the ID engraved beside it.
{
"sku.displayValue": false,
"sku.value": "AST-77-1204",
"sku.barColor": "#1E3A8A"
}New values, every render
Encode a different SKU/ticket per render via '<key>.value'; format and colors can also be overridden. Send only the properties you want to change; everything else keeps its design value. The API guides cover every language.
curl -X POST "https://render.imejis.io/v1/$IMEJIS_DESIGN_ID" \
-H "dma-api-key: $IMEJIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sku.value": "SKU-2026-0715",
"sku.displayValue": false
}' \
-o image.pngconst res = await fetch(`https://render.imejis.io/v1/${process.env.IMEJIS_DESIGN_ID}`, {
method: "POST",
headers: {
"dma-api-key": process.env.IMEJIS_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
"sku.value": "SKU-2026-0715",
"sku.displayValue": false
}),
})
if (!res.ok) throw new Error(`render failed: ${res.status}`)
const image = Buffer.from(await res.arrayBuffer())import os
import requests
response = requests.post(
f"https://render.imejis.io/v1/{os.environ['IMEJIS_DESIGN_ID']}",
headers={
"dma-api-key": os.environ["IMEJIS_API_KEY"],
"Content-Type": "application/json",
},
json={
"sku.value": "SKU-2026-0715",
"sku.displayValue": False
},
)
response.raise_for_status()
with open("image.png", "wb") as f:
f.write(response.content)Other barcode styles
Bars Only Barcode questions
What does the Bars only style change on the barcode component?
No human-readable text — for tight layouts where the value is printed elsewhere. It sets 1 property on the barcode component: displayValue. Everything else keeps the component's defaults, so your data and layout carry over.
How do I render the bars only barcode through the API?
Add a barcode component to a design, then send its data together with the style's properties as flat overrides (for example sku.displayValue) in the render request. Each render can carry different data while keeping the Bars only look.
Which barcode formats are supported?
The format property accepts any bwip-js symbology id (bcid) — 'code128' by default, plus 'ean13', 'upca' and the rest of the bwip-js catalog.
Can I encode a different value on each API call?
Yes — pass '<key>.value' in the modifications JSON; the format and colors can be overridden per render too.
Where the barcode component fits
Free tools built on it, guides that use it, and the components that sit beside it.


