CIB pdf toolbox technical guide (EN)

19. Programm return codes

The following list gives an overview of possible error returns by CIB pdf toolbox. There are interfaces for application developers CoMod to query the text of an error number directly and to help the end user with specific instructions. The functions with which the error texts are retrieved are:

CibPdfGetLastError(int a_iError) und CibPdfGetLastErrorText(char a_pTextBuffer, long a_lBufferLength).

Return Code

Meaning / Possible cause

0

Everything is in order

2

Property cannot be read

3

Property cannot be changed

9

No input file or input file is faulty

10

Too little working memory to create necessary resources

11

This method is not implemented

13

Printer not found

14

Incorrect letter, font or graphic size

25

Line too long in the parameter file

26

License data incomplete

28

Internal program error. Please send RTF text to CIB Support

29

Invalid function argument

31

Windows standard print dialog cannot be displayed

34

Error during Pdf font embedding with system routine SelectObject

35

Error during Pdf font embedding with system routine GetFontData

39

Invalid table format

47

Transferred return buffer is too small

48

System error occurred during font selection for printer

52

No font directory is set

58

Error when converting a graphic to PDF

64

Used graphic format is not supported

66

Character width cannot be determined from the font data

78

OS/2 2.x bitmap format is currently not supported

92

Error in correct font formatting

96

OS/2 driver structure contains no length specification

99

Invalid property name

100

Illegal property value

102

Heap could not be created or activated

103

Error during Zlib compression or decompression

109

No output file specified

117

Internet functions (wininet.dll) not found

118

Directory error

120

Cannot delete file

121

File error

122

Invalid license key

128

Socket Error

181

General Tiff error

182

Invalid color depth for Tiff conversion

185

Group3/4 and RLE compression only valid for 2 colours

195

General Type1 Error

198

Unexpected exception error occurred and caught

199

The bar code statement contains an empty bar code value

255

The document content does not fit into the defined Checkmask

256

The document content does not fit into the defined font mask

267

Output format does not support output to memory

270

The OpenSSL library could not be found

271

The certificate file could not be found

272

The certificate file has an unsupported format

273

The password for the certificate file is incorrect

274

The certificate is not yet valid or has expired

279

Generation of the DataMatrix barcode failed ( possibly too large data volume)

297

Output format does not support output to memory

300

General Pdf error

301

Internal Pdf error (assertion)

302

Error in PdfMerge

303

Error in PdfConcat

304

Error with PdfPrint

305

General error when generating the Pdf signature

306

The OpenSSL library could not be found

307

The certificate file could not be found

308

The certificate file has an unsupported format

309

The password for the certificate file is incorrect

310

Error accessing data (csv,xml,xfdf)

311

Document could not be web optimized

312

Document could not be parsed

313

Error when accessing a dll

314

Error in the CibDataXml or CibDataCsv

315

Data access type is not supported

316

Incompatible data access-dll

317

Record could not be read

318

Record could not be read: syntax error

319

xml-query returns no data

320

Error accessing cibcache.dll

321

Form field is not included in the Pdf

322

Form field value cannot be set

323

Pdf object cannot be updated

324

Pdf is encrypted and the password you have received is not correct or empty

325

Field value properties do not match the input file

326

Owner password (master password) required

327

Insufficient rights

328

Owner password (main password) invalid

329

Incompatible Acroforms

330

Signature could not be verified

331

The certificate is not yet valid or has expired

332

The certificate chain is invalid

333

The certificate is not trustworthy

334

General error when validating Pdf signatures

335

The signature has an incorrect or unsupported format

336

The CIB ocr library could not be found

337

General error in the CIB ocr library

338

Required data for the CIB ocr library could not be found

 

 

340

General JBIG2 error

341

Unexpected exception in JBIG2 module

342

JBIG2 module could not be loaded

343

Error when reading the JBIG2 data

344

Error when decompressing a JBIG2 image

345

Error when compressing a JBIG2 image

346

Cannot be converted to PDF/A (for various reasons)

347

Transparency was used in PDF, cannot be converted to PDF/A

348

Both RGB and CMYK color spaces were used, cannot be converted to PDF/A

349

The 'OutlinesAdd' property has an incorrect format

350

System error: A temporary font file could not be installed

351

Optional Content Group (OCG) was used in PDF, cannot be converted to PDF/A

352

Problem with embedded font in PDF, cannot be converted to PDF/A

353

Dictionary has more than 4095 entries, cannot be converted to PDF/A

354

The specified PDF/A profile is not supported in this version, cannot be converted to PDF/A

355

The ZUGFeRD Xml does not correspond to the given scheme

356

The page selection did not find any matching pages

357

The ZUGFeRD Xml has an incorrect format

358

The PDF does not conform to the PDF/A3 standard, but a PDF/A3 is necessary to embed a ZUGFeRD xml correctly

359

A ZUGFeRD XML is already embedded

 

 

361

No CIB renderer library was found

362

Error loading the CIB renderer, a wrong version of the CIB renderer was found

363

DocMDP Signature only possible from PDF-1.5

364

Rendering of the document failed

365

This operating system version is not supported by the CIB renderer

366

A page specified in property BackgroundFilename was not added

367

Error during PDF/A conversion: Embedded files are not allowed

368

Error during PDF/A conversion: Password is not allowed

369

Rendering of documents with XFA forms is not supported

370

Temporary path does not exist

371

Error during execution of the CIB pdfModule

953

The image file cannot be loaded from the memory address

1000

Userbreak2