Print Geometry & Barcode Standards Methodology
Accurate die-cut label printing depends on deterministic physical coordinates rather than screen pixel approximations. This document details the public engineering standards and mathematical rules behind every PDF exported by PeelDesk.
1. PDF User Space & Physical Coordinate Math (ISO 32000-1)
Every exported PDF conforms to the default user-space coordinate system defined by ISO 32000-1 (Document management — Portable document format — PDF 1.7), where 1 default user-space unit equals exactly 1/72 of an inch (72 pt/in) and 1 millimeter equals 72 / 25.4 points (2.834645669 pt/mm).
For a sheet with left margin L, top margin T, horizontal pitch P_h, vertical pitch P_v, label height H, and page height PageH, slot position (row r, column c) with printer calibration offsets (dx, dy) is placed at:
y_bottom_pt = PageH − [T + (r × P_v) + (dy_mm × 72 / 25.4)] − H
Because PDF user space places the origin (0, 0) at the bottom-left corner of the page, converting from top-down drafting coordinates explicitly prevents cumulative rounding drift across 10-row and 20-row sheets.
2. Paper Dimension Standards (ANSI US Letter & ISO 216 A4)
- US Letter (ANSI/ASME Y14.1): Exactly 8.5 × 11.0 inches (215.9 × 279.4 mm, or 612 × 792 PDF points).
- ISO A4 (ISO 216 Writing Paper and Printed Matter): Exactly 210 × 297 millimeters (595.28 × 841.89 PDF points).
- Direct Thermal Roll Stock: Exact 1-up physical page dimensions (such as 4.0 × 6.0 in = 288 × 432 pt) with zero outer margins so thermal printer drivers feed cleanly from perforation to perforation.
3. Barcode & 2D Symbology Standards (ISO/IEC & GS1)
Barcodes embedded into printable labels follow strict international symbol specifications so optical laser scanners and mobile cameras decode them reliably on the first pass:
- Code 128: Encoded per ISO/IEC 15417 (Information technology — Code 128 bar code symbology specification), supporting full standard ASCII payloads with automatic start/check-digit encoding.
- UPC-A & EAN-13: Encoded per GS1 General Specifications (ISO/IEC 15420) with strict 11/12-digit (UPC-A) and 12/13-digit (EAN-13) validation and modulo-10 check digit calculation.
- QR Code: Encoded per ISO/IEC 18004 (QR Code bar code symbology specification) with quiet-zone padding preserved inside every label slot.
4. Verified Built-In Template Geometry Table
| Preset | Grid | Label Size | Page Size | Top / Left Margin |
|---|---|---|---|---|
| 5160 / 8160 | 3×10 (30-up) | 2.625" × 1" | 8.5" × 11" | 0.5" / 0.188" |
| 5163 / 8163 | 2×5 (10-up) | 4" × 2" | 8.5" × 11" | 0.5" / 0.156" |
| 5164 | 2×3 (6-up) | 4" × 3.333" | 8.5" × 11" | 0.5" / 0.156" |
| 5167 | 4×20 (80-up) | 1.75" × 0.5" | 8.5" × 11" | 0.5" / 0.3" |
| 5168 | 2×2 (4-up) | 3.5" × 5" | 8.5" × 11" | 0.5" / 0.5" |
| 22806 / 22807 | 3×4 (12-up) | 2" × 2" | 8.5" × 11" | 0.625" / 0.75" |
| 5395 | 2×4 (8-up) | 3.375" × 2.333" | 8.5" × 11" | 0.667" / 0.688" |
| A4 21-Up | 3×7 (21-up) | 63.5 mm × 38.1 mm | 210.0 mm × 297.0 mm | 15.2 mm / 7.3 mm |
| A4 24-Up | 3×8 (24-up) | 70.0 mm × 37.0 mm | 210.0 mm × 297.0 mm | 0.5 mm / 0.0 mm |
| 4×6 Thermal | 1×1 (1-up) | 4" × 6" | 4" × 6" | 0" / 0" |
| 2.25×1.25 Thermal | 1×1 (1-up) | 2.25" × 1.25" | 2.25" × 1.25" | 0" / 0" |
| 2×1 Thermal | 1×1 (1-up) | 2" × 1" | 2" × 1" | 0" / 0" |
| 3×2 Thermal | 1×1 (1-up) | 3" × 2" | 3" × 2" | 0" / 0" |