Vector PDF output-এর জন্য DataMatrix barcode API
Product, medical, retail এবং warehouse workflow-এর জন্য PDF label ও document-এ DataMatrix এবং GS1 DataMatrix barcode render করুন।
/api/v1/pdf/render Product label, warehouse label বা document-এর ভিতরে DataMatrix বা GS1 DataMatrix payload-কে vector PDF barcode element হিসেবে render করুন; encoded business payload আপনার system own করে।
কখন এই API ব্যবহার করবেন
- PDF document বা label-এ 2D DataMatrix barcode দরকার।
- আপনার application encoded identifier, lot, serial বা product payload আগে থেকেই জানে।
- Template Render দিয়ে repeated DataMatrix label layout দরকার।
- PDF-এ embedded raster image নয়, vector barcode output চান।
এটি কী replace করে না
- gPdf থেকে regulatory certification, device labeling approval বা GS1 certification দরকার।
- gPdf-কে business identifier generate করতে বা external registry check করতে হবে।
- Scanner fleet management দরকার।
কোন endpoint call করবেন
/api/v1/pdf/render
JSON Render এই workflow-এর default path।
/api/v1/template-render
Workflow-তে related API path, template contract অথবা capabilities lookup দরকার হলে ব্যবহার করুন।
নূন্যতম request
POST /api/v1/pdf/render - product label-এ GS1 DataMatrix barcode।
{
"pages": [
{
"size": "label_100_100",
"elements": [
{
"type": "barcode",
"format": "gs1-datamatrix",
"content": "(01)09506000134352(10)LOT26A",
"x": 10,
"y": 14,
"width": 34,
"height": 34
},
{
"type": "text",
"x": 10,
"y": 56,
"content": "GTIN 09506000134352\nLOT LOT26A",
"style": { "font_size": 9, "font_family": "NotoSans-Regular" }
}
]
}
]
}
gPdf কী করে
- PDF-এ vector DataMatrix এবং GS1 DataMatrix barcode rendering।
- Barcode-এর চারপাশে label বা document layout।
- Repeated product বা warehouse label-এর জন্য template binding।
- Print, archive বা download workflow-এর জন্য binary PDF output।
আপনার system-এর দায়িত্ব
- Encoded payload content, application identifier, serial, lot এবং regulatory text।
- Scanner testing, module size validation, label stock এবং acceptance criteria।
- Barcode consume করে এমন industry-specific compliance workflow।
Production checklist
- Rendering-এর আগে payload syntax verify করুন।
- Production size, DPI এবং material-এ print ও scan করুন।
- Long identifier এবং multiple product-language variant test করুন।
- Certification ও regulatory review gPdf-এর বাইরে রাখুন।
- Approved label family-এর জন্য Template Render ব্যবহার করুন।
দাবির সীমা
- gPdf DataMatrix barcode render করে; regulatory compliance certify করে না।
- Barcode payload semantics এবং scanner acceptance আপনার system own করে।
- Vector rendering physical print validation replace করে না।
PDF-এ DataMatrix একটি rendering job
DataMatrix barcode প্রায়ই product বা logistics identifier বহন করে। গুরুত্বপূর্ণ boundary হলো payload। আপনি যে value পাঠান, gPdf তা থেকে vector barcode render করে; value-এর meaning কী এবং সেটি external requirement পূরণ করে কি না, তা আপনার system সিদ্ধান্ত নেয়।
FAQ
- gPdf কি DataMatrix barcode support করে?
- হ্যাঁ। Public schema-তে datamatrix এবং GS1 DataMatrix barcode format alias আছে।
- gPdf কি regulatory content validate করে?
- না। gPdf barcode render করে। Payload correctness এবং regulatory review আপনার system own করে।
- DataMatrix label কি Template Render ব্যবহার করতে পারে?
- হ্যাঁ। Repeated label layout যদি শুধু business data গ্রহণ করে, Template Render ব্যবহার করুন।
- তবু কি scan testing দরকার?
- হ্যাঁ। Production printer, material এবং scanner দিয়ে সবসময় validate করুন।