Skip to main content

Admission Ticket

A gala ticket from the Verdania Philharmonic, printed the way tickets and banknotes are protected: with line work a photocopier or a scanner does not carry over faithfully. Every feature is plain vector drawing bound from the ticket's data, so one template prints every seat, and each one draws the same in the PDF and in Word.

  • Engraved gold foil. ADMIT ONE is set in textRenderingMode: "fillclip": the letters are filled in gold, then fine diagonal rules drawn after them are clipped to the letters, so the engraving stands only inside the foil.
  • A latent seat number. The band beside TILT TO READ YOUR SEAT looks like an even tint. Its field is ruled across and the seat code down, at the same pitch and weight, so tilting the ticket or copying it brings the seat up. It is the latent-band component the certificates use, its text the seat code from data.
  • Guilloche rosettes. Behind the main panel and around the seal, rings of 36 hairline ellipses turned about one centre. The petals name no style, so each placement inks them with its own: one component draws all three rings.
  • A microprinted perforation. The tear line between the ticket and its stub is a dashed rule with a line of 2.2-point microprint down either side, set along a path: the serial and the organiser's name, bound from data.
  • A seal that verifies. The stub's verification-seal carries the ticket record in a DataMatrix code, and its ring links to the ticket's own page, the URL bound from data. Below it, the serial as a Code 128 symbol and in OCR-B.
  • Add to calendar. The concert travels inside the PDF as an iCalendar file (RFC 5545), listed in the viewer's attachments panel: one event with the start and end time, the hall's address, the seat in its description, the ticket's verification page and a reminder two hours before. Opening it adds the gala to the holder's calendar. It is attached as a supplement - extra data beside the page, not another rendering of it - with its text/calendar media type.
  • Live links. The venue line opens the hall's map, and the printed verification address opens the ticket's own page, both written as [link, URL] around the text and coloured in the ticket's navy. The seal's ring links to the same page, so a tap anywhere on the seal or its DataMatrix code goes there.
  • Archival and accessible. The ticket claims PDF/A-4, PDF/UA-2 and both levels of Well-Tagged PDF. With a calendar file inside, the engine claims PDF/A-4f, the level of part 4 that admits embedded files of any type. The event is a heading, each drawing names what it is, and each link carries its own text as its description, so a screen reader announces the foil, the band, the seal and where each link goes.

Features used: PDF/A-4f, PDF/UA-2, WTPDF 1.0 accessibility, WTPDF 1.0 reuse conformance, watermarks, columns, SVG, barcodes (code128, datamatrix), attachments, links, data binding, components

How it's built​

The ticket is assembled from small components, each placed by name with its own parameters:

  • guilloche-rosette, ticket-perforation, engraved-foil, ticket-seat-details, ticket-stub, and the shared latent-band and verification-seal;
  • admission-ticket-art, the sheet behind the ticket - its wash, rosettes and perforation - placed as a page watermark;
  • admission-ticket, the ticket itself, whose parameters are every value printed on it.

The document then holds nothing but the two placements, so a sheet of tickets is the same two placements three times. The values the links open are data too: map for the venue and verify for the ticket's page.

{
"use": {
"name": "admission-ticket",
"params": {
"organiser": "$data.organiser.name",
"title": "$data.event.title",
"date": "$data.event.date",
"seat": "$data.ticket.seat",
"seatCode": "$data.ticket.seatCode",
"serial": "$data.ticket.serial",
"map": "$data.venue.map",
"verify": "$data.ticket.verify"
}
}
}

Inside the component the two lines read their links from those parameters:

[
{ "p": "[link, $data.map][color, #1E3A5C]$data.venue, $data.address[/color][/link]", "style": "where" },
{ "p": "Verify this ticket at [link, https://$data.verify][color, #1E3A5C]$data.verify[/color][/link]", "style": "fine" }
]

The calendar event is one entry of the document's attachments:

{
"attachments": [
{
"fileName": "season-gala-stalls-b-k-17.ics",
"filePath": "attachments/admission-ticket-gala-b-k-17.ics",
"description": "The concert as a calendar event (iCalendar, RFC 5545): open it to add the gala and your seat to your calendar, with a reminder two hours before",
"relationship": "supplement",
"mimeType": "text/calendar"
}
]
}

Admission Ticket Sheet​

Three consecutive seats of the Verdania Philharmonic's gala, row K seats 17 to 19, printed on one sheet to be cut apart. Each ticket is the ticket above placed again with its own data, so the design is written once and every seat differs only where its data does.

  • One design, three seats. The sheet places the admission-ticket component three times, each with the event's values and its own seat's: the seat number, the latent seat in the tilt band, the serial in the perforation's microprint, the Code 128 symbol and the seal's DataMatrix payload and verification link.
  • The art behind each ticket. Each ticket's sheet - wash, guilloche rosettes, perforation - is the admission-ticket-art component placed as a page watermark. A watermark that does not repeat is placed by spacing: where its centre sits from the page's bottom-left corner, so each mark is centred on its ticket.
  • Tickets a ticket apart. The ticket's body is a fixed 220pt high with 50pt below it - its bottom margin, an 18pt gutter and the next ticket's top margin - so three placements stand exactly where their art is.
  • A line to cut along. Between each two tickets a dashed rule runs edge to edge, labelled on a white break at its centre: the cut-line component, placed in the middle of the gutter.
  • One calendar event for the party. The sheet carries one iCalendar file (RFC 5545), not three: the three seats are one performance, so one event names them all - Stalls B, row K, seats 17, 18 and 19 - with the hall's address and a reminder two hours before. Three events would put the same concert in the calendar three times.
  • Live links on every ticket. Each venue line opens the hall's map and each verification address opens its own ticket's page, the address bound from that seat's data, so the sheet holds nine links: two lines and a seal per ticket.
  • Archival and accessible. The sheet claims PDF/A-4, PDF/UA-2 and both levels of Well-Tagged PDF, like the single ticket; with the calendar file inside, the engine claims PDF/A-4f.

How the sheet is built​

Each art mark, centred on its ticket from the sheet's bottom-left corner:

{
"scope": "page",
"repeat": false,
"spacing": [288, 396],
"content": { "use": { "name": "admission-ticket-art", "params": { "microprint": "$data.second.microprint" } } }
}

The one calendar event for the three seats:

{
"attachments": [
{
"fileName": "season-gala-stalls-b-k-17-19.ics",
"filePath": "attachments/admission-ticket-gala-b-k-17-19.ics",
"description": "The concert as one calendar event for the three seats (iCalendar, RFC 5545): open it to add the gala to your calendar, with a reminder two hours before",
"relationship": "supplement",
"mimeType": "text/calendar"
}
]
}