# pitstop-sdk > Enfocus PitStop Library SDK (v25.11) for PDF preflight, processing, and quality control automation. ๐Ÿ”น Native SDK: "EPL_", "EPM_", "preflight", "Action List", "Preflight Profile", "Certified PDF" ๐Ÿ”น Web Integration: "PitStop Library Container", "PLC", "Docker", "REST API", "cloud preflight" ๐Ÿ”น Processing: "PDF ํ’ˆ์งˆ๊ฒ€์‚ฌ", "์ธ์‡„์šฉ PDF", "์ƒ‰์ƒ ๊ด€๋ฆฌ", "PDF ๋ Œ๋”๋ง", "์ธ๋„ค์ผ ์ƒ์„ฑ" ๐Ÿ”น Reports: "preflight report", "JSON report", "XML report", "์—๋Ÿฌ/๊ฒฝ๊ณ /์ˆ˜์ •" Use when: (1) Processing PDF with preflight profiles, (2) Creating preflight reports, (3) Web/cloud PDF processing architecture, (4) PLC Docker deployment, (5) MES integration - Author: skeeper - Repository: skeeper75/huni-execel-man - Version: 20260129011246 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/skeeper75/huni-execel-man - Web: https://mule.run/skillshub/@@skeeper75/huni-execel-man~pitstop-sdk:20260129011246 --- --- name: pitstop-sdk description: | Enfocus PitStop Library SDK (v25.11) for PDF preflight, processing, and quality control automation. ๐Ÿ”น Native SDK: "EPL_", "EPM_", "preflight", "Action List", "Preflight Profile", "Certified PDF" ๐Ÿ”น Web Integration: "PitStop Library Container", "PLC", "Docker", "REST API", "cloud preflight" ๐Ÿ”น Processing: "PDF ํ’ˆ์งˆ๊ฒ€์‚ฌ", "์ธ์‡„์šฉ PDF", "์ƒ‰์ƒ ๊ด€๋ฆฌ", "PDF ๋ Œ๋”๋ง", "์ธ๋„ค์ผ ์ƒ์„ฑ" ๐Ÿ”น Reports: "preflight report", "JSON report", "XML report", "์—๋Ÿฌ/๊ฒฝ๊ณ /์ˆ˜์ •" Use when: (1) Processing PDF with preflight profiles, (2) Creating preflight reports, (3) Web/cloud PDF processing architecture, (4) PLC Docker deployment, (5) MES integration --- # Enfocus PitStop Library SDK PDF preflight, ์ˆ˜์ •, ํ’ˆ์งˆ ๊ด€๋ฆฌ๋ฅผ ์œ„ํ•œ ์ „๋ฌธ SDK. ์ธ์‡„ ์›Œํฌํ”Œ๋กœ์šฐ ์ž๋™ํ™” ํ•„์ˆ˜ ๋„๊ตฌ. ## Quick Start ### 1. ์ดˆ๊ธฐํ™”/์ข…๋ฃŒ ```c EPL_InitializeInfoStruct initInfo; SDK_InitStruct(initInfo); initInfo.mResourceLocation = "/path/to/resources"; initInfo.mTempPath = "/tmp/pitstop"; EPL_Initialize(&initInfo); // ์ž‘์—… ์™„๋ฃŒ ํ›„ EPL_Finalize(); ``` ### 2. PDF ์ฒ˜๋ฆฌ ```c // PDF ํ•ธ๋“ค ์ƒ์„ฑ EPL_CreatePdfHandleStruct pdfStruct; SDK_InitStruct(pdfStruct); pdfStruct.mFilePath = "/path/to/input.pdf"; EPL_CreatePdfHandle(&pdfStruct); // Preflight Profile๋กœ ์ฒ˜๋ฆฌ EPL_ProcessStruct processStruct; SDK_InitStruct(processStruct); processStruct.mPdfHandle = pdfStruct.mDocumentPdfHandle; processStruct.mMutatorPath = "/path/to/profile.ppp"; EPL_Process(&processStruct); // ์ €์žฅ ๋ฐ ์ •๋ฆฌ EPL_SavePdf(&saveStruct); EPL_DeletePdfHandle(pdfStruct.mDocumentPdfHandle); ``` ## Core Modules | ๋ชจ๋“ˆ | ์ ‘๋‘์–ด | ์šฉ๋„ | |------|--------|------| | Library Management | `EPL_Initialize/Finalize` | SDK ์ดˆ๊ธฐํ™”/์ข…๋ฃŒ | | Document Processing | `EPL_Process` | PDF preflight ๋ฐ ์ˆ˜์ • | | Document Handling | `EPL_CreatePdfHandle` | PDF ์—ด๊ธฐ/์ €์žฅ/๋‹ซ๊ธฐ | | Preflight Profiles | `EPM_*` | ํ”„๋กœํŒŒ์ผ ์ƒ์„ฑ/ํŽธ์ง‘ | | Reports | `EPL_ExportJSONReport` | ๊ฒฐ๊ณผ ๋ณด๊ณ ์„œ ์ƒ์„ฑ | | Certified PDF | `EPL_*CertifiedWF*` | ์ธ์ฆ PDF ์›Œํฌํ”Œ๋กœ์šฐ | | Rendering | `EPL_RenderImages` | PDFโ†’์ด๋ฏธ์ง€ ๋ณ€ํ™˜ | | Color Management | `EPL_ConfigureColorManagement` | ์ƒ‰์ƒ ๊ด€๋ฆฌ ์„ค์ • | ## ํ•ต์‹ฌ ์›Œํฌํ”Œ๋กœ์šฐ ### Preflight Only (๊ฒ€์‚ฌ๋งŒ) ``` Initialize โ†’ CreatePdfHandle โ†’ Process(profile) โ†’ ExportJSONReport โ†’ DeletePdfHandle โ†’ Finalize ``` ### Preflight + Fix (๊ฒ€์‚ฌ ๋ฐ ์ˆ˜์ •) ``` Initialize โ†’ CreatePdfHandle โ†’ Process(profile+actions) โ†’ SavePdf โ†’ ExportJSONReport โ†’ Finalize ``` ### Batch Processing ``` Initialize โ†’ CreateIterator โ†’ Loop(Process each) โ†’ EndIterator โ†’ Finalize ``` ## Web Integration (PLC) ์›น/ํด๋ผ์šฐ๋“œ ํ™˜๊ฒฝ์—์„œ PitStop ์‚ฌ์šฉ ์‹œ **PitStop Library Container (PLC)** ๊ถŒ์žฅ: - Docker ์ปจํ…Œ์ด๋„ˆ๋กœ ๋ฐฐํฌ - REST API ๊ธฐ๋ณธ ์ œ๊ณต - AWS S3/SQS ๋„ค์ดํ‹ฐ๋ธŒ ์ง€์› - npm ํŒจํ‚ค์ง€: `@enfocussw/pitstop-library-container` **์ƒ์„ธ ๊ฐ€์ด๋“œ:** - [PLC REST API](references/plc-api.md) - ์—”๋“œํฌ์ธํŠธ ๋ฐ ์‚ฌ์šฉ๋ฒ• - [PLC Docker ๋ฐฐํฌ](references/plc-deployment.md) - ์„ค์น˜ ๋ฐ ๊ตฌ์„ฑ - [Node.js ํด๋ผ์ด์–ธํŠธ](references/plc-nodejs.md) - ๋ฐฑ์—”๋“œ ํ†ตํ•ฉ ์˜ˆ์ œ ## API ์ƒ์„ธ ๊ฐ€์ด๋“œ - [ํ•จ์ˆ˜ ๋ ˆํผ๋Ÿฐ์Šค](references/functions.md) - ์ฃผ์š” ํ•จ์ˆ˜ 120๊ฐœ - [์—ด๊ฑฐํ˜• ์ •์˜](references/enums.md) - 25๊ฐœ ์—ด๊ฑฐํ˜• - [๋ฐ์ดํ„ฐ ๊ตฌ์กฐ](references/data-structures.md) - 80๊ฐœ ๊ตฌ์กฐ์ฒด - [์›Œํฌํ”Œ๋กœ์šฐ ์˜ˆ์ œ](references/workflows.md) - ์‹ค์ „ ์˜ˆ์ œ 10๊ฐœ - [์—๋Ÿฌ ์ฝ”๋“œ](references/error-codes.md) - ์—๋Ÿฌ ์ฒ˜๋ฆฌ ๊ฐ€์ด๋“œ ## ์—๋Ÿฌ ์ฒ˜๋ฆฌ ํŒจํ„ด ```c EPS_ErrorCodes result = EPL_SomeFunction(¶ms); if (result != eEPS_NoError) { char* errorMsg = NULL; EPL_GetLastErrorDescription(&errorMsg); printf("Error: %s\n", errorMsg); } ``` ## ๋ฆฌ์†Œ์Šค ์ •๋ฆฌ ์ฒดํฌ๋ฆฌ์ŠคํŠธ ```c // ์—ญ์ˆœ์œผ๋กœ ์ •๋ฆฌ if (reportHandle) EPL_DeleteReportHandle(reportHandle); if (pdfHandle) EPL_DeletePdfHandle(pdfHandle); if (config) EPL_CloseConfiguration(config); EPL_CollectGarbage(); EPL_Finalize(); ``` ## ์ฐธ๊ณ ์‚ฌํ•ญ 1. **๋ฉ€ํ‹ฐ์Šค๋ ˆ๋“œ**: ๋ณ„๋„ ํ”„๋กœ์„ธ์Šค์—์„œ ์ฒ˜๋ฆฌ (์Šค๋ ˆ๋“œ ์•ˆ์ „ํ•˜์ง€ ์•Š์Œ) 2. **Configuration**: ์„ค์ • ์„ธํŠธ๋ฅผ ๋น ๋ฅด๊ฒŒ ์ „ํ™˜ํ•˜๋ ค๋ฉด ์—ฌ๋Ÿฌ Configuration ์‚ฌ์šฉ 3. **๊ตฌ์กฐ์ฒด ์ดˆ๊ธฐํ™”**: ํ•ญ์ƒ `SDK_InitStruct()` ๋งคํฌ๋กœ ์‚ฌ์šฉ 4. **์ธ์ฝ”๋”ฉ**: UTF-8 ๊ถŒ์žฅ (`eEPS_EncodingUTF8`) --- *PitStop Library SDK v25.11 (build 1637109) - Enfocus (an Esko Company)*