Zum Hauptinhalt springen
Rezept Nummer 190

Rezepte · Kapitel 10 · Ausgabe und Integration

Ein Fanzine in Schwarz und Neonpink

Ein Auftrag mit zwei Platten, Schwarz und ein fluoreszierendes Pink: Fotos als Duplex, ein überdruckendes Schwarz und ein Pink, das in Folio leuchtet.

Auf dieser Seite
Ausgabe
Canvas · PDF
Postext
Getestet mit Postext 1.84.0
Erfordert ≥ 1.84.0 · postext-pdf ≥ 1.84.0
Lizenz
Aktualisiert am 13. Nov. 2026
Code MIT · Text CC BY 4.0

S. 1 von 8

  • Englisches Beispiel: noch keine deutsche Ausgabe
  • Endformat 148 × 210 mm
  • 2 Spalten, Spaltenabstand 5 mm
  • IBM Plex Sans 8,8/12,4
  • Archivo Black
  • IBM Plex Mono
  • 8 Seiten
  • Stufe
  • Postext 1.84.0
  • In 166 ms gesetzt
  • 212 Zeilen Code

Kurz gesagt

Ein kleines Musikheft, gedruckt mit nur zwei Farben, Schwarz und einem grellen Neonpink. Die Fotos erscheinen in Schwarz und Pink, das Pink leuchtet in der 3D-Ansicht, und die Druckdatei hat genau zwei Platten.

Was Sie setzen

Ausgabe 7 von Pink Noise, einem erfundenen Musik-Fanzine: acht Seiten A5, rückstichgeheftet, gedruckt auf einer Maschine mit zwei Trommeln. Die eine druckt Schwarz, die andere ein fluoreszierendes Pink, und sonst erreicht nichts das Papier. Das Pink setzt den Umschlagtitel, das Band über dem Einstieg ins Interview, die Fragen, das Zitat und die Rückseite; ein Rasterton von 30 % füllt den Kasten mit den Terminen. Die drei Fotos sind graue Vorlagen, die als Duplex drucken, Schwarz in den Tiefen und Pink in den Mitteltönen. Folio legt das Heft aufgeschlagen auf einen dunklen Tisch, auf dem sich das Pink vom Papier abhebt.

Dieses Rezept beantwortet

  • Wie drucke ich ein Zine nur in Schwarz und Neonpink, mit den Fotos als Duplex?

Die kurze Antwort

script.js · Zeilen 20–32im vollständigen Code
// The pink is a spot ink; the ink table says it is fluorescent, as the printer will be told.
// The screen paints its hex, Folio makes it stand brighter than the paper, and the PDF puts it
// on a plate of its own. The ink table also takes the name the poster files gave it.
const PINK = { name: 'PANTONE 806 C', cmyk: { c: 0, m: 77, y: 0, k: 0 } };
const pink = (hex, tint) => ({ hex, model: 'spot', spot: { ...PINK, tint } });
// The job prints these two plates and nothing else. Pictures print as duotones: each
// plate takes the grey of a pixel through its curve, [tone, ink] in percent.
const CURVES = { Black: [[0, 0], [45, 8], [100, 92]], // the shadows
  'PANTONE 806 C': [[0, 0], [35, 45], [70, 80], [100, 60]] }; // the middle tones
const PRINT = { standard: 'pdfx4', outputProfile: 'fogra51',
  inks: [{ name: 'PANTONE 806 C', aliases: ['Fluo pink'], finish: { kind: 'fluorescent' } }],
  plates: { inks: ['Black', 'PANTONE 806 C'], images: ['Black', 'PANTONE 806 C'],
    curves: CURVES } };

Zutaten

Schrift
Archivo Black, IBM Plex Sans, IBM Plex Mono (SIL OFL 1.1)
Dateien
  • crowd-900.jpg
  • guitarist-600.jpg
  • posters-560.jpg
  • A crowd at a basement gig, on the cover (Generated With Diffusion Models, eigener Text)
  • A guitarist on a small stage (Generated With Diffusion Models, eigener Text)
  • An alley wall layered with posters (Generated With Diffusion Models, eigener Text)

Zubereitung

#1 · Zwei Platten, und das Pink leuchtet

Der Code steht oben in der kurzen Antwort. print.plates nennt die Platten, die der Auftrag druckt, Black und PANTONE 806 C, und das PDF hat genau diese beiden Auszüge und keine weiteren (Zweifarbendruck). Das Pink ist eine Sonderfarbe; seine Veredelung steht in der Farbtabelle, wie sie im Auftrag an die Druckerei stünde, und macht es zu einer Leuchtfarbe: Es bekommt eine eigene Platte, und Folio beleuchtet es heller als das Papier (Veredelungen). images legt die Fotos auf beide Platten, und CURVES formt jede: Schwarz nur in den Tiefen, Pink in den Mitteltönen und in den dunklen Partien zurückgenommen, damit das Pink das Schwarz nie verschmutzt.

#2 · Auch der Bildschirm zeigt das Duplex

script.js · Zeilen 280–305im vollständigen Code
// The PDF separates the grey original through CURVES. The screen would paint it grey, so the
// picture registered for the canvas and Folio is the same grey run through the same curves:
// the black over the pink, multiplied as inks lie on paper. The PDF still gets the original.
const ink = (curve, tone) => { // a curve read at a tone, both 0–1
  const i = curve.findIndex(([x]) => x / 100 >= tone);
  const [[x0, y0], [x1, y1]] = [curve[Math.max(0, i - 1)], curve[Math.max(0, i)]];
  return (x1 === x0 ? y1 : y0 + ((tone * 100 - x0) * (y1 - y0)) / (x1 - x0)) / 100;
};
const PINK_RGB = [0xff, 0x3e, 0xa5];
async function loadDuotone(fileId, url) {
  await loadImage(fileId, url); // the grey bytes, kept for the PDF
  const grey = await createImageBitmap(new Blob([imageBytes(fileId)]));
  const canvas = new OffscreenCanvas(grey.width, grey.height);
  const g = canvas.getContext('2d');
  g.drawImage(grey, 0, 0);
  const img = g.getImageData(0, 0, canvas.width, canvas.height);
  for (let i = 0; i < img.data.length; i += 4) {
    const tone = 1 - img.data[i] / 255;
    const [k, p] = [ink(CURVES.Black, tone), ink(CURVES['PANTONE 806 C'], tone)];
    for (let c = 0; c < 3; c++) {
      img.data[i + c] = 255 * (1 - k) * (1 - p * (1 - PINK_RGB[c] / 255));
    }
  }
  g.putImageData(img, 0, 0);
  registerResourceImage(fileId, canvas.transferToImageBitmap());
}

Canvas und Folio malen ein Bild so, wie seine Datei ist; ein graues Foto erschiene dort also grau, obwohl es in Pink und Schwarz druckt. Das Rezept registriert ein zweites Bild für den Bildschirm: dasselbe Grau, durch dieselben CURVES gelesen, das Schwarz über dem Pink multipliziert, so wie Druckfarben auf dem Papier übereinanderliegen. Das PDF bekommt weiterhin die graue Vorlage aus imageBytes und separiert sie selbst.

#3 · Schwarz über Pink

script.js · Zeilen 60–74im vollständigen Code
const BAND = 134; // mm from the top of the bleed to the black band
const cover = { ...bare, id: 'cover', advancedDesign: { enabled: true, minHeight: mm(150),
  slot: { elements: [
    { kind: 'image', id: 'photo', resourceId: 'crowd', fit: 'cover', focus: { x: 0.35, y: 0.5 },
      placement: at('bleed', 'top-left', 0, 0, { width: 'fill', height: mm(BAND + 4) }) },
    { kind: 'box', id: 'band', style: { backgroundColor: col('black') },
      placement: at('bleed', 'top-left', 0, BAND + 3, { width: 'fill', height: mm(90) }) },
    text('issue', '{attr.issue}', label(8, col('pink')), at('page', 'top-left', 12, 12)),
    text('title', '{titleText}', { fontFamily: DISPLAY, fontSize: pt(70), lineHeight: 0.82,
      textTransform: 'uppercase', color: col('pink') },
    at('page', 'top-left', 10, BAND + 9, { width: mm(130) })),
    text('lines', '{attr.lines}', { fontFamily: SANS, fontWeight: 700, fontSize: pt(11),
      lineHeight: 1.25, color: col('paper') }, at('page', 'top-left', 12, BAND + 55,
      { width: mm(110) })),
  ] } } };

Das Schwarz ist allein die K-Platte, angelegt als CMYK-Farbe mit overprint: true. Wo schwarze Schrift oder das schwarze Band des Umschlags auf das Pink trifft, druckt es darüber, statt es auszusparen, und ein Bogen, der etwas aus dem Passer läuft, zeigt keinen weißen Blitzer. Der pinke Titel spart das Schwarz dagegen aus, wie es Schrift auf einem dunklen Band tun soll.

#4 · Folio auf einem dunklen Tisch

script.js · Zeilen 119–125im vollständigen Code
const folio = {
  tilt: 22, yaw: -14,
  paper: { type: 'uncoated', grammage: 100, shade: '#ffffff' },
  binding: { type: 'saddleStitch', cover: 'pages' },
  surface: { type: 'plain', color: { hex: '#2b2b30', model: 'hex' } },
  lighting: { environment: 'overcast', intensity: 1.05 },
};

Eine Leuchtfarbe braucht etwas Dunkelheit um sich, damit sie als solche wirkt. Das Heft liegt beim Interview aufgeschlagen auf einer glatten, dunklen Fläche, im flachen Licht eines bedeckten Himmels, und das pinke Band und das Pink im Foto heben sich vom weißen Papier ab.

Das ganze Rezept

Sandbox
// ═══ Postext Cookbook · Nº 190 · A zine in black and fluorescent pink ════════════════════
// https://postext.dev/en/cookbook/fluorescent-pink-zine
// Code: MIT · Text: original (CC BY 4.0) · Photographs: diffusion models
// Fonts: Archivo Black, IBM Plex Sans, IBM Plex Mono (SIL OFL 1.1) · Needs postext ≥ 1.84.0
//
// A music zine printed on two plates, black and a fluorescent pink. The pink is a spot ink
// with a fluorescent finish; the job prints those two plates and nothing else, so the grey
// photographs print as duotones and every other colour is projected onto the two inks.
import {
  buildDocumentWithFonts, renderPageToCanvas, registerResourceImage,
} from 'https://esm.sh/postext';
import { renderToPdf, decompressWoff2 } from 'https://esm.sh/postext-pdf';
import { createFolioFromDocument } from 'https://esm.sh/postext-folio';

const LANG = 'en'; // @lang: the language of the sample document ('en' | 'es')
const RECIPE = 'fluorescent-pink-zine';

// ─── 1 · Design ─────────────────────────────────────────────────────────────
// #region answer: two plates: black and a fluorescent pink that glows
// The pink is a spot ink; the ink table says it is fluorescent, as the printer will be told.
// The screen paints its hex, Folio makes it stand brighter than the paper, and the PDF puts it
// on a plate of its own. The ink table also takes the name the poster files gave it.
const PINK = { name: 'PANTONE 806 C', cmyk: { c: 0, m: 77, y: 0, k: 0 } };
const pink = (hex, tint) => ({ hex, model: 'spot', spot: { ...PINK, tint } });
// The job prints these two plates and nothing else. Pictures print as duotones: each
// plate takes the grey of a pixel through its curve, [tone, ink] in percent.
const CURVES = { Black: [[0, 0], [45, 8], [100, 92]], // the shadows
  'PANTONE 806 C': [[0, 0], [35, 45], [70, 80], [100, 60]] }; // the middle tones
const PRINT = { standard: 'pdfx4', outputProfile: 'fogra51',
  inks: [{ name: 'PANTONE 806 C', aliases: ['Fluo pink'], finish: { kind: 'fluorescent' } }],
  plates: { inks: ['Black', 'PANTONE 806 C'], images: ['Black', 'PANTONE 806 C'],
    curves: CURVES } };
// #endregion
// Black is the K plate alone, and it overprints: on the pink it prints over the ink instead of
// knocking a hole that a sheet out of register would show as a white rim.
const palette = {
  black: { hex: '#1b1a1d', model: 'cmyk', cmyk: { c: 0, m: 0, y: 0, k: 100 }, overprint: true },
  pink: pink('#ff3ea5'),
  pink30: pink('#ffc5e4', 30),
  paper: { hex: '#ffffff', model: 'hex' },
};
const col = (id) => ({ ...palette[id], paletteId: id });
const colorPalette = [...Object.entries(palette).map(([id, value]) => ({ id, name: id, value })),
  { id: 'main-color', name: 'pink (defaults)', value: palette.pink }];

const [TRIM_W, TRIM_H] = [148, 210]; // A5, an A4 sheet folded once
const MARGIN = { top: 16, bottom: 18, inner: 14, outer: 12 };
const LEAD = 12.4; // pt

Das zusammengesetzte script.js läuft unverändert: Fügen Sie es in das Modulskript einer beliebigen Seite ein, oder öffnen Sie das Rezept auf CodePen. Ordner des Rezepts auf GitHub ↗ (öffnet sich in einem neuen Tab)

Varianten

#Die Fotos nur in Schwarz drucken

Mit einer einzigen Bildplatte drucken die Fotos als einfache Graustufen in Schwarz, und das Pink bleibt Schrift und Kästen vorbehalten.

-  plates: { inks: ['Black', 'PANTONE 806 C'], images: ['Black', 'PANTONE 806 C'],
+  plates: { inks: ['Black', 'PANTONE 806 C'], images: ['Black'],

#Stattdessen ein Neongelb

Ändern Sie die Druckfarbe und ihre Bildschirmfarbe; Platten, Veredelung und Kurven folgen dem Namen.

-const PINK = { name: 'PANTONE 806 C', cmyk: { c: 0, m: 77, y: 0, k: 0 } };
+const PINK = { name: 'PANTONE 803 C', cmyk: { c: 0, m: 0, y: 92, k: 0 } };

Benennen Sie PANTONE 806 C ebenso in CURVES, in PRINT und in den Hex-Werten der Palette um.

Häufige Fehler

  • Eine Farbe, die keine der beiden Platten druckt, wird auf die zwei Druckfarben projiziert. Ein Prozessblau, das in einem Stil stehen geblieben ist, kommt als dunkles Pinkschwarz heraus; lesen Sie die Befunde offPlateColor der Preflight-Prüfung, bevor Sie die Datei schicken.
  • Eine Leuchtfarbe hat keine getreue CMYK-Ersatzfarbe. Ein Proof oder ein RGB-PDF zeigt den Hex-Wert, der stumpfer ist als die Farbe auf dem Papier.

Nachweise

Text
Eigener Text, CC BY 4.0
Bilder
  • A crowd at a basement gig, on the cover · Generated With Diffusion Models · eigener Text
  • A guitarist on a small stage · Generated With Diffusion Models · eigener Text
  • An alley wall layered with posters · Generated With Diffusion Models · eigener Text
Schriften
Archivo Black (SIL OFL 1.1) · IBM Plex Sans (SIL OFL 1.1) · IBM Plex Mono (SIL OFL 1.1)
SandboxPDF