The JSON based Preflight report is based on a development from calibrate.
Basic Structure:
{
"info": {
"plates": [], // list of created separations
"page": [], // list of pages with sizes and created separation
"pdfxInfo": {} // info about PDF/X status and OutputIntent if applicable
},
"process": {}, // Information about the preflight process
"results": {
"checks": [], // info ab
"fixups": []
},
"aggregated": {}
}
for every page, the pdf pageboxes are listed:
The values are defined in pt. For better readability, the value in mm and inch is included.
"trimbox": {
"width": 595.28,
"height": 841.89,
"widthMm": 210,
"heightMm": 297,
"widthIn": 8.268,
"heightIn": 11.693,
"unit": "pt",
"values": "effective" // these dimension are calculated honoring the userunit and rotate property of the page
"hOffset": 0, // Offset of this box to the PDF origin, which is usually in the lower left corner
"vOffset": 0,
"defined": true
}
hOffset and vOffset - defines the offset of the lower left corner from the PDFs origin
INFO: please consider that the PDFs mediaBox might also have an offset when calculation the relaive distance between any page box and the mediaBox.
values - a value of effective means, that the pages rotation and userUnit (scaling) factors were taken into account when caluclation the PDFs dimensions.
defined - if false, then the page boxes dimensions are ibherited from the next defined outer box.
INFO: if not other box is defined, then the dimensions of the mediaBox are inherited, as every PDF has a mediaBox.
the checks and fixups collection provide infos about the performed modifications and the resulting preflight process. In case of check objects, it lists all objects that triggered a preflight hit with information about the relative location on the page and the page the hit occured on
{
"id": "RUL187", //unique ID, might change for every call
"name": "Die Auflösung eines Halbtonbildes ist zwischen 200ppi und 300ppi.",
"description": "Die Auflösung eines Farb- oder Graustufenbildes ist zu gering. Dies kann für vernünftige Druckergebnisse unzureichend sein.",
"customId": "resolutionHalftoneLevel2", // unique custom id. If the same fixup or check is used multiple times, the syntax is <uniqueCustomId>_<usage>
"severity": "Info", // Error, Warning, Info, Ok (for fixups only)
"objects": [
{
"type": "Image", // Image, TextFill, TextStroke, PageInfo, DocInfo, Stroke, Fill
"position": { // relative position to the PDFs origin, which is the lower left corner, no position is defined for type = PageInfo or DocInfo
"llx": 230.016,
"lly": 259.936,
"urx": 430.073,
"ury": 431.311
},
"pageRefId": "PAG2", // reference to the page in the page collection, no refernce is defined if type = DocInfo
"image": { // for images only
"resolutionHorizontal": 272.442,
"resolutionVertical": 268.884,
"colorspace": "DeviceCMYK"
}
}
],
"pageRefIds": [ // list of all pages where this check created a hit
"PAG2"
],
"count": 1 // number of total hits - might not list all objects if number of objects is above 500
}
{
"info": {
"mime": "application/pdf",
"filename": "Flyer_A4.pdf",
"filepath": "",
"version": "1.5",
"created": "2013-09-20T13:12:21-02:00",
"modified": "2021-04-19T16:22:40Z",
"plates": [
{
"name": "Cyan",
"type": "process"
},
{
"name": "Magenta",
"type": "process"
},
{
"name": "Yellow",
"type": "process"
},
{
"name": "Black",
"type": "process"
}
],
"page": [
{
"nr": 1,
"id": "PAG1",
"userunit": 1,
"rotate": 0,
"plates": [
{
"name": "Cyan",
"type": "process"
},
{
"name": "Magenta",
"type": "process"
},
{
"name": "Yellow",
"type": "process"
},
{
"name": "Black",
"type": "process"
}
],
"trimbox": {
"width": 595.28,
"height": 841.89,
"widthMm": 210,
"heightMm": 297,
"widthIn": 8.268,
"heightIn": 11.693,
"hOffset": 0.458,
"vOffset": 0.458,
"unit": "pt",
"values": "effective"
},
"mediabox": {
"width": 661.28,
"height": 907.89,
"widthMm": 233.3,
"heightMm": 320.3,
"widthIn": 9.184,
"heightIn": 12.61,
"hOffset": 0,
"vOffset": 0,
"unit": "pt",
"values": "effective"
}
},
{
"nr": 2,
"id": "PAG2",
"userunit": 1,
"rotate": 0,
"plates": [
{
"name": "Cyan",
"type": "process"
},
{
"name": "Magenta",
"type": "process"
},
{
"name": "Yellow",
"type": "process"
},
{
"name": "Black",
"type": "process"
}
],
"trimbox": {
"width": 595.28,
"height": 841.89,
"widthMm": 210,
"heightMm": 297,
"widthIn": 8.268,
"heightIn": 11.693,
"hOffset": 0.458,
"vOffset": 0.458,
"unit": "pt",
"values": "effective"
},
"mediabox": {
"width": 661.28,
"height": 907.89,
"widthMm": 233.3,
"heightMm": 320.3,
"widthIn": 9.184,
"heightIn": 12.61,
"hOffset": 0,
"vOffset": 0,
"unit": "pt",
"values": "effective"
}
}
],
"pdfxInfo": {
"pdfxVersion": "PDF/X-4",
"trapped": false,
"pdfxOutputintent": {
"id": "OI1",
"outputProfilename": "ISO Coated v2 (ECI)",
"outputConditionIdentifier": "dIDS_OUTPUTCOND_FOGRA39L_long",
"colorspace": "CMYK"
}
}
},
"process": {
"name": "PDF/X-ready V2 CMYK requirements and corrections",
"description": "PDF/X-ready V2 CMYK requirements and corrections",
"application": "pdfToolbox",
"timestamp": "2021-04-19T16:22:43Z",
"duration": "00:00:11",
"language": "ge"
},
"result": {
"checks": [
{
"id": "RUL187",
"name": "Die Auflösung eines Halbtonbildes ist zwischen 200ppi und 300ppi.",
"description": "Die Auflösung eines Farb- oder Graustufenbildes ist zu gering. Dies kann für vernünftige Druckergebnisse unzureichend sein.",
"customId": "resolutionHalftoneLevel2",
"severity": "Info",
"objects": [
{
"type": "Image",
"position": {
"llx": 230.016,
"lly": 259.936,
"urx": 430.073,
"ury": 431.311
},
"pageRefId": "PAG2",
"image": {
"resolutionHorizontal": 272.442,
"resolutionVertical": 268.884,
"colorspace": "DeviceCMYK"
}
}
],
"pageRefIds": [
"PAG2"
],
"count": 1
},
{
"id": "RUL173",
"name": "Gerade Seite darf kein Schwarz erzeugen.",
"description": "Laut Anforderung darf auf diesen geraden Seiten kein Schwarz verwendet werden.",
"customId": "processBlackContentEven",
"severity": "Error",
"objects": [
{
"type": "PageInfo",
"pageRefId": "PAG2"
}
],
"pageRefIds": [
"PAG2"
],
"count": 1
},
{
"id": "RUL157",
"name": "Mehrfarbiger Text ist kleiner als 8pt (Kleinbuchstaben sind kleiner als 1.23mm).",
"description": "Mehrfarbiger Text ist kleiner als 8pt (Kleinbuchstaben sind kleiner als 1.23mm) und wirkt sich auf die Lesbarkeit aus.",
"customId": "minTextSizeMultiColor",
"severity": "Warning",
"objects": [
{
"type": "TextFill",
"position": {
"llx": 206.12,
"lly": 368.298,
"urx": 208.275,
"ury": 370.453
},
"pageRefId": "PAG1"
},
{
"type": "TextFill",
"position": {
"llx": 206.12,
"lly": 358.00912,
"urx": 208.275,
"ury": 360.164
},
"pageRefId": "PAG1"
},
{
"type": "TextFill",
"position": {
"llx": 206.12,
"lly": 337.431,
"urx": 208.275,
"ury": 339.586
},
"pageRefId": "PAG2"
},
{
"type": "TextFill",
"position": {
"llx": 206.12,
"lly": 327.142,
"urx": 208.275,
"ury": 329.297
},
"pageRefId": "PAG1"
},
{
"type": "TextFill",
"position": {
"llx": 206.12,
"lly": 306.555,
"urx": 208.275,
"ury": 308.71
},
"pageRefId": "PAG1"
},
{
"type": "TextFill",
"position": {
"llx": 206.12,
"lly": 296.266,
"urx": 208.275,
"ury": 298.421
},
"pageRefId": "PAG1"
},
{
"type": "TextFill",
"position": {
"llx": 206.12,
"lly": 285.977,
"urx": 208.275,
"ury": 288.132
},
"pageRefId": "PAG1"
},
{
"type": "TextFill",
"position": {
"llx": 206.12,
"lly": 275.688,
"urx": 208.275,
"ury": 277.843
},
"pageRefId": "PAG1"
},
{
"type": "TextFill",
"position": {
"llx": 206.12,
"lly": 265.398,
"urx": 208.275,
"ury": 267.553
},
"pageRefId": "PAG1"
},
{
"type": "TextFill",
"position": {
"llx": 206.12,
"lly": 254.317,
"urx": 208.275,
"ury": 256.472
},
"pageRefId": "PAG1"
},
{
"type": "TextFill",
"position": {
"llx": 206.12,
"lly": 222.85,
"urx": 208.275,
"ury": 225.00478
},
"pageRefId": "PAG1"
},
{
"type": "TextFill",
"position": {
"llx": 206.12,
"lly": 202.271,
"urx": 208.275,
"ury": 204.426
},
"pageRefId": "PAG1"
},
{
"type": "TextFill",
"position": {
"llx": 206.12,
"lly": 191.982,
"urx": 208.275,
"ury": 194.137
},
"pageRefId": "PAG1"
},
{
"type": "TextFill",
"position": {
"llx": 206.12,
"lly": 161.626,
"urx": 208.275,
"ury": 163.781
},
"pageRefId": "PAG1"
},
{
"type": "TextFill",
"position": {
"llx": 206.12,
"lly": 151.337,
"urx": 208.275,
"ury": 153.492
},
"pageRefId": "PAG1"
},
{
"type": "TextFill",
"position": {
"llx": 206.12,
"lly": 141.0478,
"urx": 208.275,
"ury": 143.203
},
"pageRefId": "PAG1"
},
{
"type": "TextFill",
"position": {
"llx": 206.12,
"lly": 130.759,
"urx": 208.275,
"ury": 132.914
},
"pageRefId": "PAG1"
}
],
"pageRefIds": [
"PAG1",
"PAG2"
],
"count": 17
},
{
"id": "RUL135",
"name": "Gerade Seite darf kein Gelb erzeugen.",
"description": "Laut Anforderung darf auf diesen geraden Seiten kein Gelb verwendet werden.",
"customId": "processYellowContentEven",
"severity": "Error",
"objects": [
{
"type": "PageInfo",
"pageRefId": "PAG2"
}
],
"pageRefIds": [
"PAG2"
],
"count": 1
},
{
"id": "RUL113",
"name": "Die Auflösung eines Halbtonbildes geringer als 200ppi.",
"description": "Die Auflösung eines Farb- oder Graustufenbildes ist zu gering. Dies kann für vernünftige Druckergebnisse unzureichend sein.",
"customId": "resolutionHalftoneLevel1",
"severity": "Warning",
"objects": [
{
"type": "Image",
"position": {
"llx": 50.586,
"lly": 475.467,
"urx": 199.957,
"ury": 588.515
},
"pageRefId": "PAG1",
"image": {
"resolutionHorizontal": 138.821,
"resolutionVertical": 138.843,
"colorspace": "Separation"
}
}
],
"pageRefIds": [
"PAG1"
],
"count": 1
},
{
"id": "RUL88",
"name": "Ungerade Seite darf kein Cyan erzeugen.",
"description": "Laut Anforderung darf auf diesen ungeraden Seiten kein Cyan verwendet werden.",
"customId": "processCyanContentOdd",
"severity": "Error",
"objects": [
{
"type": "PageInfo",
"pageRefId": "PAG1"
}
],
"pageRefIds": [
"PAG1"
],
"count": 1
},
{
"id": "RUL76",
"name": "Ungerade Seite darf kein Magenta erzeugen.",
"description": "Laut Anforderung darf auf diesen ungeraden Seiten kein Magenta verwendet werden.",
"customId": "processMagentaContentOdd",
"severity": "Error",
"objects": [
{
"type": "PageInfo",
"pageRefId": "PAG1"
}
],
"pageRefIds": [
"PAG1"
],
"count": 1
},
{
"id": "RUL49",
"name": "Ausgabebedingung ist für gestrichenes Papier (330%).",
"description": "Dieses PDF ist für den Druck im Bogenoffset grundsätzlich geeignet. Diese Meldung dient nur zu Ihrer Information. Die Daten sind für den Druck auf glänzend oder matt gestrichenen Bilderdruckpapier mit einer maximalen Flächendeckung von 330% aufbereitet (Papiertyp 1+2).",
"customId": "oiIcv2",
"severity": "Info",
"objects": [
{
"type": "DocumentInfo"
}
],
"pageRefIds": [],
"count": 1
},
{
"id": "RUL40",
"name": "Gerade Seite darf kein Cyan erzeugen.",
"description": "Laut Anforderung darf auf diesen geraden Seiten kein Cyan verwendet werden.",
"customId": "processCyanContentEven",
"severity": "Error",
"objects": [
{
"type": "PageInfo",
"pageRefId": "PAG2"
}
],
"pageRefIds": [
"PAG2"
],
"count": 1
},
{
"id": "RUL33",
"name": "Ungerade Seite darf kein Gelb erzeugen.",
"description": "Laut Anforderung darf auf diesen ungeraden Seiten kein Gelb verwendet werden.",
"customId": "processYellowContentOdd",
"severity": "Error",
"objects": [
{
"type": "PageInfo",
"pageRefId": "PAG1"
}
],
"pageRefIds": [
"PAG1"
],
"count": 1
},
{
"id": "RUL21",
"name": "Gerade Seite darf kein Magenta erzeugen.",
"description": "Laut Anforderung darf auf diesen geraden Seiten kein Magenta verwendet werden.",
"customId": "processMagentaContentEven",
"severity": "Error",
"objects": [
{
"type": "PageInfo",
"pageRefId": "PAG2"
}
],
"pageRefIds": [
"PAG2"
],
"count": 1
},
{
"id": "RUL5",
"name": "Ungerade Seite darf kein Schwarz erzeugen.",
"description": "Laut Anforderung darf auf diesen ungeraden Seiten kein Schwarz verwendet werden.",
"customId": "processBlackContentOdd",
"severity": "Error",
"objects": [
{
"type": "PageInfo",
"pageRefId": "PAG1"
}
],
"pageRefIds": [
"PAG1"
],
"count": 1
}
],
"fixups": [
{
"id": "FIX4",
"name": "Finale Ausgabebedingung setzen auf ISO coated v2 (ECI).",
"description": "Die Ausgabebedingung wird auf das ICC Profil ISO coated v2 (ECI) gesetzt, dieses Profil basiert auf den Charkatarisierungsdaten FOGRA 39. Es handelt sich um eine Druckbedingung für Offsetdruck auf gegestrichenen Papier.",
"customId": "setOi",
"severity": "Ok",
"count": 1
},
{
"id": "FIX5",
"name": "Setze Transparenzmischfarbraum auf DeviceCMYK.",
"description": "",
"customId": "setBlendingCsCmyk",
"severity": "Ok",
"count": 2
},
{
"id": "FIX6",
"name": "Konvertierung zu CMYK (Offsetdruck) ohne Schmuckfarbe.",
"description": "Das PDF wird zu CMYK gewandelt, exklusive Scmuckfarben.",
"customId": "colorConversionIccDynamic",
"severity": "Ok",
"count": 1297
},
{
"id": "FIX26",
"name": "Dokument-XMP-Metadaten mit PDF/X-4 konform machen.",
"description": "PDF/X-4 hat strikte Anforderungen für einige XMP-Metadatenfelder eines Dokuments sowie für die Konsistenz zwischen Dokumentinfo-Feldern und XMP-Metadatenfeldern.",
"customId": "makeXmpCompliant",
"severity": "Ok",
"count": 1
},
{
"id": "FIX9",
"name": "BX...EX-Einträge entfernen.",
"description": "Entfernt BX...EX-Einträge in der Seitenbeschreibung. BX...EX wird manchmal verwendet, um neue Seitenoperatoren einzuklammern, um einen bestimmten Grad an Rückwärtskompatibilität mit alten PDF-Darstellungsprogrammen zu erzeugen. Ein PDF-Darstellungsprogramm kann Seitenoperatoren, die mit BX...EX eingeklammert sind ignorieren, wenn es sie nicht unterstützt.",
"customId": "removeExBx",
"severity": "Ok",
"count": 2
},
{
"id": "FIX28",
"name": "Private informationen anderer Programme entfernen.",
"description": "Removes private data stored in a PDF file by other applications. This fixup can help reduce file size substantially in certain cases but may affect features in other applications that rely on such private data.",
"customId": "removePrivateData",
"severity": "Ok",
"count": 2
},
{
"id": "FIX27",
"name": "Sichern als PDF Version 1.5.",
"description": "Sichern als PDF Version 1.5 beinhaltet das Verändern alle Datenströme nach PDF 1.5.",
"customId": "saveAsVersion",
"severity": "Ok",
"count": 2
},
{
"id": "FIX25",
"name": "Setzen der PDF/X-4 Metadaten.",
"description": "Setzt die für PDF/X-4 notwendigen Metadaten Einträge.",
"customId": "setPdfx4Key",
"severity": "Ok",
"count": 2
},
{
"id": "FIX16",
"name": "Überfüllungsschlüssel setzen, wenn nicht definiert.",
"description": "",
"customId": "setTrappedKey",
"severity": "Ok",
"count": 1
},
{
"id": "FIX17",
"name": "Objekt- und Maskenrahmen entfernen.",
"description": "Entfernt Art- und CropBox. Diese sind für die Druckproduktion nicht notwendig.",
"customId": "removePageboxArtCrop",
"severity": "Ok",
"count": 4
}
]
},
"aggregated": {
"numChecks": 12,
"severityChecks": "Error",
"severityFixups": "Ok",
"numFixups": 10,
"numSteps": 7
}
}