Appendix E - Bar code engine errors

Common error messages

If an error occurs during a bar code operation, an error described in the following pages will be printed.

The error is printed in the following format:

!Err: nn Printed Error

Example:

!ERR: 12 Invalid Character

PostScript emulation error messages

To assist with troubleshooting, the Forms and Bar Code Card generates error messages when an invalid bar code condition occurs. PostScript emulation error reporting must be enabled on the printer so that these messages are printed.

If an error occurs during a bar code operation that is due to invalid data in the input string, then the errorinfo array contains the name /barcoderror and a string describing the actual error. The returned error codes are listed on the following pages. The PostScript emulation error that occurs is RANGECHECK.

Errors common to all symbologies

Error code

Error description

1

Unexpected error

2

NULL data

3

Invalid structure

4

No active bar codes

5

Structure out of range

6

Parameter buffer NULL

7

Parameter buffer too small

8

Parameters not saved

9

Unknown bar code type

10

Unknown bar code ID

11

Unknown bar code type or ID

18

Fonts not loaded

19

Not enough memory


String errors

String errors result from bad input data and represent the most commonly encountered errors. The following table shows the string errors possible for each symbology.

String errors

Invalid Character

String Empty

String too Long

String too Short

String Length Invalid

String Length not Odd

String Length not Even

Error code

12

13

14

15

16

17

59

2 of 5

X

X

         

Aust Post

X

X

X

X

     

Codabar

X

   

X

     

Codablock F

X

 

X

       

Code 128A, B, C

X

X

         

Code 39

X

X

         

Code 93

X

X

         

Danish Post

X

   

X

X

   

Data Matrix

   

X

 

X

   

Dutch Post (KIX)

X

   

X

     

EAN-128

X

X

         

EAN/JAN 8/113

X

     

X

   

EAN/UCC Composite

X

 

X

       

French Post

X

     

X

   

German Post

X

     

X

   

HIBC

X

 

X

X

     

ISBN

X

     

X

   

ISSN

X

     

X

   

ITF14

X

     

X

   

Japan Post

X

 

X

X

     

MaxiCode

   

X

       

MicroPDF417  

       

X

   

MSI Plessey

X

X

X

       

OMR

X

X

         

PDF417

 

X

         

PLANET

X

     

X

   

QR Code

X

 

X

   

X

 

Swiss QR Code

X

 

X

   

X

 

RSS14

X

 

X

 

X

   

Singapore Post

X

     

X

   

Swiss Postal

X

     

X

   

UCC-128

X

       

X

 

British Royal Mail

X

   

X

X

   

UPC-A/E

X

X

   

X

   

USPS ZIP

X

     

X

   

USPS FIM

X

     

X

   

USPS Sack

X

     

X

   

Errors specific to symbologies

Error code

Symbology

Error description

20

UPCE

String not decompressed

21

PDF417

String too long

22

PDF417

Too many code words

23

PDF417

Too many code words for size

24

PDF417

Too many columns

25

QR

Invalid model

26

QR

Model not found

27

QR

Invalid ECI

28

QR

Invalid version

29

SA

Invalid number of symbols

30

SA

Invalid symbol number

31

Aztec

Too many code words for expected size

32

DM

Invalid ECC

33

DM

Invalid alphabet

34

DM

Invalid alphabet for DM200

35

Aust Post

Invalid FCC

36

Aust Post

Invalid Sort Code

37

Aust Post

Invalid Customer Info

38

Aust Post

Invalid Range

39

Aust Post

Invalid Encode Table

40

Codablock F

Invalid aspect ratio

41

Codablock F

Columns not in range

42

Codablock F

Rows not in range

43

Codablock F

Negative module size

45

HIBC

Invalid Where flag

46

HIBC

Invalid What flag

47

HIBC

Invalid Date/Time

48

HIBC

Invalid Format

49

HIBC

Product/Catalog number too long

50

HIBC

Unit measure digit only

51

HIBC

Invalid lot number

52

HIBC

Special link char missing

53

HIBC

Invalid 2-digit quantity

54

HIBC

Invalid 5-digit quantity

55

Intelligent Mail

Invalid bar code identifier

56

MaxiCode

Invalid encoding string

57

MaxiCode

Encoding string too long

58

MSI Plessey

Invalid checksum 10

60

MicroPDF

Too few columns

61

MicroPDF

Too many columns

62

MicroPDF

Too few rows

63

MicroPDF

Too many rows