Skip to main content

Festival Pass

A Solstice festival pass on the same event-ticket as the match ticket, in the orange palette: what changes is the data and the motif behind it.

  • The days it admits, lit from data. The three day fields sit on valid-day-boxes: each box takes its style from the record - on-orange lights it, off greys and hatches it - so a Friday-and-Saturday pass shows Sunday voided at a glance at the gate. One template prints every combination of days.
  • A sun on the horizon. sun-rays fans a low sun's rays behind the festival's name, clipped to the main panel and inked faintly in the palette.
  • The holder and the pass. The name, the pass number microprinted along the tear lines, a QR code to the pass's own page and a Code 128 for the wristband exchange.
  • Signed, archival and accessible. An invisible certifying PAdES signature, PDF/A-2a and PDF/UA-1.

Features used: PDF/A-2a, PDF/UA-1 conformance, watermarks, columns, SVG, barcodes (code128, qrcode), a digital signature, data binding, components

How it's built​

Three page watermarks - event-ticket-art, sun-rays and valid-day-boxes - under the one event-ticket. The day boxes name their state in the data:

{
"use": {
"name": "valid-day-boxes",
"params": {
"day1": "$data.days.fri.state",
"day2": "$data.days.sat.state",
"day3": "$data.days.sun.state"
}
}
}

Festival Pass Sheet​

Three Solstice passes from one booking, printed on one Letter sheet: a weekend with camping, a Friday and Saturday with camping, and a Sunday day ticket, each the pass above bound to its own record. The design is written once; every pass differs only where its data does.

  • One component, three records. The sheet's content is one table whose rows come from $data.tickets: each row places event-ticket with that record's pass type, days, price, camping field and holder.
  • A palette per pass. Orange for the weekend, teal for the Friday-and-Saturday camping pass, plum for the Sunday day ticket: the palette is one value in each record, and it colours the stub, the header, the day boxes it lights, the badge, the sun, the footer and the stock behind the pass.
  • The days each pass admits. Each pass's valid-day-boxes takes its three states from its own record, so the weekend pass lights all three days, the camping pass voids Sunday and the day ticket voids Friday and Saturday.
  • The art behind each pass. The stock, the sun and the day boxes are page watermarks, one set per pass, each centred on its pass by spacing and bound to that pass's record, so every microprint names its own pass.
  • A line to cut along. A dashed rule runs edge to edge between each two passes, labelled on a white break at its centre: the cut-line component, placed in the 9pt gap left under each pass.
  • Signed, archival and accessible. An invisible certifying signature, PDF/A-2a and PDF/UA-1, like the single pass.

How the sheet is built​

Each pass is one record of $data.tickets, a table row per record, its parameters read from the row's own $item:

{
"table": {
"style": "ticketSheet",
"widths": [1],
"source": "$data.tickets",
"rows": [[{
"style": "ticketSlot",
"columns": { "widths": [1], "rows": [[{ "use": { "name": "event-ticket", "params": { "palette": "$item.pass.palette", "ticketNo": "$item.pass.number", "f1": "$item.pass.type", "badge1": "$item.pass.badge1", "holder": "$item.holder.name" } } }]] }
}]]
}
}

The cut line, one component placed in each gap from the page's top:

{
"use": { "name": "cut-line", "x": 0, "y": 260.5, "width": 576, "height": 10 }
}