Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Barcode Type....

Former Member
0 Kudos

Hi friends...

How can I get the information about the attributes of different barcode types used in Smartforms?

Kindly Suggest me the solution for this query???

Points will be rewarded to the useful answer...

Thanx,

Rahul.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Rahul,

You can use barcodes types already created or you can create new one if

these types does not satisfy you requirement.

If you create a new system bar code for the "new bar code technology" in transaction SE73, you must specify the following parameters:

Bar code name (used in Smart Styles)

Short text for system bar code (documentation)

Bar code symbology:

Code39

Code128

Interleaved 2of5

PDF417

Code93

This selection determines the technical bar code type that is used to format the bar code data (also called bar code symbology). The symbology also determines which characters are allowed in the bar code data.

Bar code alignment:

Normal (that is, the scan direction is "from left to right")

Rotated (the scan direction is rotated by 90 degrees "from top to bottom")

Inverted (the scan direction is rotated by 180 degrees "from right to left")

Bottom-up (the scan direction is rotated by 270 degrees "from bottom to top")

                                        • Code39 ******************

Code39 is an alphanumeric code that can represent the following characters in the bar code data:

Numbers: 1234567890

Capital letters: ABCDEFGHIJKLMNOPQRSTUVWXYZ

Special characters: - . $ / + %

Blank characters (space characters)

The start and stop character for the Code39 bar code is usually represented by an asterix (*) in the text view of the bar code data (also called "human-readable text" or "interpretation line").

Parameters for Code39:

Narrow module width

Value range: 1 to 10

This is the width for the narrowest module of a bar code, measured in pixels. It controls the width of the bar code. Value 1 generates the "narrowest", value 10 the widest bars or spaces.

Linear height

Value range: 1 to 9999

Controls the height of the bars of the bar code, measured in pixels. A value of 600 is equal to a height of one inch.

Mod-43 check digit

Value range: X equals YES, blank character equals No

With this indicator, you can determine whether a Modulo-43 check digit is to be generated.

Bar ratio

Value range: 20 to 30

This value controls the ratio between wide and narrow bars. This value controls the ratio between wide and narrow bars.Value 20 means a ratio of 2.0:1, value 30 means a ratio of 3.0 to 1 (that is, 3:1).

Parameters for Interleaved 2of5:

Narrow module width

Value range: 1 to 10

This is the width for the narrowest module of a bar code, measured in pixels. It controls the width of the bar code. Value 1 generates the "narrowest", value 10 the widest bars or spaces.

Linear height

Value range: 1 to 9999

Controls the height of the bars of the bar code, measured in pixels. A value of 600 is equal to a height of one inch.

Mod-10 check digit

Value range: X equals YES, blank character equals No

With this indicator, you can determine whether a Modulo-10 check digit is to be generated.

Bar ratio

Value range: 20 to 30

This value controls the ratio between wide and narrow bars. This value controls the ratio between wide and narrow bars.Value 20 means a ratio of 2.0:1, value 30 means a ratio of 3.0 to 1 (that is, 3:1).

                                      • Code 128 *****************

Code128 is an alphanumeric code that can encode three different character sets. Each of the three character sets can represent 106 different characters. Within a bar code, you can alternate between the character sets.

The three Code128 character sets are named as follows:

Subset A) (contains, for example, digits, capital letters and control characters)

Subset B) (contains, for example, digits, uppercase and lowercase letters)

Subset C) (digit pairs from 00 to 99)

Parameters for Code128:

Narrow module width

Value range: 1 to 10

This is the width for the narrowest module of a bar code, measured in pixels. It controls the width of the bar code. Value 1 generates the "narrowest", value 10 the widest bars or spaces.

Linear height

Value range: 1 to 9999

Controls the height of the bars of the bar code, measured in pixels. A value of 600 is equal to a height of one inch.

Code128 mode

Value range: N (default value), A, U

In default mode N (None), the Code128 bar code works in subset B. If you want to switch to another subset, you must trigger the change explicitly with a control command ("invocation code") in the bar code data.

In mode A (automatic), the software analyzes the transferred bar code data and recognizes automatically which subset is the most adequate for the bar code data. Subsets are swapped automatically in the bar code data. A sequence of four or more digits initiates an automatic change in subset C.

In mode U (UCC case mode), you must transfer 19 digits in the bar code data. Subset C is set automatically and an FNC1 character is added as prefix.

Note: If fewer than 19 digits are transferred, the bar code is filled with zeros to the left until it contains 19 digits.

UCC check digit

Value range: X equals YES, blank character equals No

Note: This parameter has no effect becaues Code128 always generates a check digit, even in UCC mode. The parameter will be removed in the future.

Code93 is an alphanumeric code that can represent the following characters directly in the bar code data:

Numbers: 1234567890

Capital letters: ABCDEFGHIJKLMNOPQRSTUVWXYZ

Special characters: - . $ / + %

Blank characters (space characters)

The start and stop characters in the Code93 bar code are represented as # sign in the text view of the bar code data (also called "human-readable text" or "interpretation line").

Parameters for Code93:

Narrow module width

Value range: 1 to 10

This is the width for the narrowest module of a bar code, measured in pixels. It controls the width of the bar code. Value 1 generates the "narrowest", value 10 the widest bars or spaces.

Linear height

Value range: 1 to 9999

Controls the height of the bars of the bar code, measured in pixels. A value of 600 is equal to a height of one inch.

Check digit

Value range: X equals YES, blank character equals No

With Code93 bar codes, a pair of check digits is always used and is always generated in the bar code. This parameter has no effect.

PDF417 is a two-dimensional bar code to represent datasets that are larger as the usual datasets in one-dimensional bar codes (for example, more than 1,000 characters). The entire 7-Bit ASCII character set is generally processed (binary values 1 - 127, the value 0 is not permitted).

A PDF417 bar code consists of 3 to 90 consecutive rows. Every row consists of a start/stop indicator and "code words". A code word consists of 4 bars and 4 spaces. The minimum number of code words per row is three.

Parameters for PDF417:

Narrow module width

Value range: 1 to 10

This is the width for the narrowest module of a bar code, measured in pixels. Value 1 generates the "narrowest", value 10 the widest bars or spaces.

Linear height

Value range: 1 to 9999

This parameter currently has no effect on PDF417. The height of a PDF417 symbol is controlled by parameter "Single Row Height" and the number of columns and rows, in conjunction with the length of text data to be encoded.

Single row height

Value range: 1 to 32000

This value, multiplied by the narrow module width, returns the height of the individual rows of a PDF417 symbol, measured in pixels. Caution: Do NOT use the value 1 for this parameter

Security level

Value range: 0, 1-8

This parameter controls the number of code words that are generated for error recognition and error correction. The default value 0, however, only permits error recognition but no automatic correction. If you increase the security level, the level of error correction increases with it (this increases the size of the bar code).

Number of columns

Here, you can define the number of the code word columns which you can use to check the width of the bar code.

Value range:

0 (default value) : A row/column ratio of 1:2 is used.

Permitted values: 1 to 30

Number of rows

Here, you can define the number of rows which can be used to check the height of the bar code.

Value range:

0 (default value) : A row/column ratio of 1:2 is used.

Permitted values: 3 to 90

For example: If you leave both parameters set to the default value 0, the system would convert 72 code words in a bar code symbol with 6 columns and 12 rows.

Truncation

Value range: X equals YES, blank character equals No

This indicator determines if the right row indicator and the stop pattern are to be truncated (this saves space).

The following character combinations in the transferred bar code data have the special function:

\& - This represents the end of a line (Carriage Return + Newline)


- This represents a backslash (5C hexadecimal)

\0xYY - This represents a single byte with the value YY (hexadecimal)

For example: \0x1E is output as a single byte with the value 1E (hex)

or 30 (decimal).

The souce for this information is OSS Note 645128.

Still if u face any problem feel free to ask.

Regards,

Vivek

-Reward if useful

2 REPLIES 2

Former Member
0 Kudos

Hi Rahul,

You can use barcodes types already created or you can create new one if

these types does not satisfy you requirement.

If you create a new system bar code for the "new bar code technology" in transaction SE73, you must specify the following parameters:

Bar code name (used in Smart Styles)

Short text for system bar code (documentation)

Bar code symbology:

Code39

Code128

Interleaved 2of5

PDF417

Code93

This selection determines the technical bar code type that is used to format the bar code data (also called bar code symbology). The symbology also determines which characters are allowed in the bar code data.

Bar code alignment:

Normal (that is, the scan direction is "from left to right")

Rotated (the scan direction is rotated by 90 degrees "from top to bottom")

Inverted (the scan direction is rotated by 180 degrees "from right to left")

Bottom-up (the scan direction is rotated by 270 degrees "from bottom to top")

                                        • Code39 ******************

Code39 is an alphanumeric code that can represent the following characters in the bar code data:

Numbers: 1234567890

Capital letters: ABCDEFGHIJKLMNOPQRSTUVWXYZ

Special characters: - . $ / + %

Blank characters (space characters)

The start and stop character for the Code39 bar code is usually represented by an asterix (*) in the text view of the bar code data (also called "human-readable text" or "interpretation line").

Parameters for Code39:

Narrow module width

Value range: 1 to 10

This is the width for the narrowest module of a bar code, measured in pixels. It controls the width of the bar code. Value 1 generates the "narrowest", value 10 the widest bars or spaces.

Linear height

Value range: 1 to 9999

Controls the height of the bars of the bar code, measured in pixels. A value of 600 is equal to a height of one inch.

Mod-43 check digit

Value range: X equals YES, blank character equals No

With this indicator, you can determine whether a Modulo-43 check digit is to be generated.

Bar ratio

Value range: 20 to 30

This value controls the ratio between wide and narrow bars. This value controls the ratio between wide and narrow bars.Value 20 means a ratio of 2.0:1, value 30 means a ratio of 3.0 to 1 (that is, 3:1).

Parameters for Interleaved 2of5:

Narrow module width

Value range: 1 to 10

This is the width for the narrowest module of a bar code, measured in pixels. It controls the width of the bar code. Value 1 generates the "narrowest", value 10 the widest bars or spaces.

Linear height

Value range: 1 to 9999

Controls the height of the bars of the bar code, measured in pixels. A value of 600 is equal to a height of one inch.

Mod-10 check digit

Value range: X equals YES, blank character equals No

With this indicator, you can determine whether a Modulo-10 check digit is to be generated.

Bar ratio

Value range: 20 to 30

This value controls the ratio between wide and narrow bars. This value controls the ratio between wide and narrow bars.Value 20 means a ratio of 2.0:1, value 30 means a ratio of 3.0 to 1 (that is, 3:1).

                                      • Code 128 *****************

Code128 is an alphanumeric code that can encode three different character sets. Each of the three character sets can represent 106 different characters. Within a bar code, you can alternate between the character sets.

The three Code128 character sets are named as follows:

Subset A) (contains, for example, digits, capital letters and control characters)

Subset B) (contains, for example, digits, uppercase and lowercase letters)

Subset C) (digit pairs from 00 to 99)

Parameters for Code128:

Narrow module width

Value range: 1 to 10

This is the width for the narrowest module of a bar code, measured in pixels. It controls the width of the bar code. Value 1 generates the "narrowest", value 10 the widest bars or spaces.

Linear height

Value range: 1 to 9999

Controls the height of the bars of the bar code, measured in pixels. A value of 600 is equal to a height of one inch.

Code128 mode

Value range: N (default value), A, U

In default mode N (None), the Code128 bar code works in subset B. If you want to switch to another subset, you must trigger the change explicitly with a control command ("invocation code") in the bar code data.

In mode A (automatic), the software analyzes the transferred bar code data and recognizes automatically which subset is the most adequate for the bar code data. Subsets are swapped automatically in the bar code data. A sequence of four or more digits initiates an automatic change in subset C.

In mode U (UCC case mode), you must transfer 19 digits in the bar code data. Subset C is set automatically and an FNC1 character is added as prefix.

Note: If fewer than 19 digits are transferred, the bar code is filled with zeros to the left until it contains 19 digits.

UCC check digit

Value range: X equals YES, blank character equals No

Note: This parameter has no effect becaues Code128 always generates a check digit, even in UCC mode. The parameter will be removed in the future.

Code93 is an alphanumeric code that can represent the following characters directly in the bar code data:

Numbers: 1234567890

Capital letters: ABCDEFGHIJKLMNOPQRSTUVWXYZ

Special characters: - . $ / + %

Blank characters (space characters)

The start and stop characters in the Code93 bar code are represented as # sign in the text view of the bar code data (also called "human-readable text" or "interpretation line").

Parameters for Code93:

Narrow module width

Value range: 1 to 10

This is the width for the narrowest module of a bar code, measured in pixels. It controls the width of the bar code. Value 1 generates the "narrowest", value 10 the widest bars or spaces.

Linear height

Value range: 1 to 9999

Controls the height of the bars of the bar code, measured in pixels. A value of 600 is equal to a height of one inch.

Check digit

Value range: X equals YES, blank character equals No

With Code93 bar codes, a pair of check digits is always used and is always generated in the bar code. This parameter has no effect.

PDF417 is a two-dimensional bar code to represent datasets that are larger as the usual datasets in one-dimensional bar codes (for example, more than 1,000 characters). The entire 7-Bit ASCII character set is generally processed (binary values 1 - 127, the value 0 is not permitted).

A PDF417 bar code consists of 3 to 90 consecutive rows. Every row consists of a start/stop indicator and "code words". A code word consists of 4 bars and 4 spaces. The minimum number of code words per row is three.

Parameters for PDF417:

Narrow module width

Value range: 1 to 10

This is the width for the narrowest module of a bar code, measured in pixels. Value 1 generates the "narrowest", value 10 the widest bars or spaces.

Linear height

Value range: 1 to 9999

This parameter currently has no effect on PDF417. The height of a PDF417 symbol is controlled by parameter "Single Row Height" and the number of columns and rows, in conjunction with the length of text data to be encoded.

Single row height

Value range: 1 to 32000

This value, multiplied by the narrow module width, returns the height of the individual rows of a PDF417 symbol, measured in pixels. Caution: Do NOT use the value 1 for this parameter

Security level

Value range: 0, 1-8

This parameter controls the number of code words that are generated for error recognition and error correction. The default value 0, however, only permits error recognition but no automatic correction. If you increase the security level, the level of error correction increases with it (this increases the size of the bar code).

Number of columns

Here, you can define the number of the code word columns which you can use to check the width of the bar code.

Value range:

0 (default value) : A row/column ratio of 1:2 is used.

Permitted values: 1 to 30

Number of rows

Here, you can define the number of rows which can be used to check the height of the bar code.

Value range:

0 (default value) : A row/column ratio of 1:2 is used.

Permitted values: 3 to 90

For example: If you leave both parameters set to the default value 0, the system would convert 72 code words in a bar code symbol with 6 columns and 12 rows.

Truncation

Value range: X equals YES, blank character equals No

This indicator determines if the right row indicator and the stop pattern are to be truncated (this saves space).

The following character combinations in the transferred bar code data have the special function:

\& - This represents the end of a line (Carriage Return + Newline)


- This represents a backslash (5C hexadecimal)

\0xYY - This represents a single byte with the value YY (hexadecimal)

For example: \0x1E is output as a single byte with the value 1E (hex)

or 30 (decimal).

The souce for this information is OSS Note 645128.

Still if u face any problem feel free to ask.

Regards,

Vivek

-Reward if useful