Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 5 of 15

EasyCoder E4 Direct Protocol 2.01 Programmer's Guide: Chapter 4: Label Design, pages 25 to 32

Pages 25 to 32 of 113, from EasyCoder E4 Direct Protocol 2.01 Programmer's Guide

The original document is the PDF (2.3 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Intermec E4

Page 25

Chapter 4 Label Design

4. Bar Code Field

As standard, Intermec Direct Protocol supports 38 of the most common bar code symbologies. Each bar code (optionally including its human readable interpretation) makes up a bar code field. In addition to the general formatting commands, PRPOS, ALIGN and DIR (see chapter 4.2), a bar code field can specify the following properties: • Bar Code Type • Height (height of bar pattern) • Ratio (wide bars/narrow bars) • Magnification (bar pattern) • Bar Code Interpretation On/Off • Bar Code Interpretation Font • Bar Code Interpretation Font Size • Bar Code Interpretation Font Slant Select a Bar Code Type The type of bar code is specified by a BARTYPE command containing an abbreviation of the bar code name. The abbreviation must be entered exactly as listed below. BARTYPE | BT "<bar code name abbreviation>"

<bar code name...> the designation of the bar code type according to the list below; it must be enclosed by double quotation marks. Default: "INT2OF5" Reset to default by: PRINTFEED|PF

Note: Complex bar codes, such as PDF 417 and MaxiCode, must be specified by means of an extended version of the BARSET command, see chapter 9.1.

24

Bar Code Codabar Code 11 Code 16K Code 39 Code 39 full ASCII Code 39 w. checksum Code 49 Code 93 Code 128 DUN-14/16 EAN-8 EAN-13 EAN-128 Five-Character Supplemental Code Industrial 2 of 5 Industrial 2 of 5 w. checksum

Abbreviation "CODABAR" "CODE11" "CODE16K" "CODE39" "CODE39A" "CODE39C" "CODE49" "CODE93" "CODE128" "DUN" "EAN8" "EAN13" "EAN128" "ADDON5" "C2OF5IND" "C2OF5INDC"

Intermec EasyCoder E4 Direct Protocol 2.01 – Programmer's Guide Ed. 1

Page 26

Chapter 4

4. Bar Code Field, cont'd.

Label Design

Bar Code Abbreviation Interleaved 2 of 5 "INT2OF5" Interleaved 2 of 5 w. checksum "INT2OF5C" Interleaved 2 of 5 A "I2OF5A" Matrix 2 of 5 "C2OF5MAT" Maxicode "MAXICODE" MSI (modified Plessey) "MSI" PDF 417 "PDF417" Plessey "PLESSEY" Postnet "POSTNET" Straight 2 of 5 "C2OF5" Two-Character Supplemental Code "ADDON2" UCC-128 Serial Shipping Container Code "UCC128" UPC-5 digits Add-On Code "SCCADDON" UPC-B "UPCB" UPC-A "UPCA" UPC-D1 "UPCD1" UPC-D2 "UPCD2" UPC-D3 "UPCD3" UPC-D4 "UPCD4" UPC-D5 "UPCD5" UPC-E "UPCE" UPC Shipping Container Code "UPCSCC" See also chapter 9.1. Set Bar Code Height The height of the bars that make up the bar code can be specified by means of the BARHEIGHT command. BARHEIGHT | BH <height>

<height> Default: Reset to default by:

the height of the bars in dots 100 PRINTFEED|PF

Set Bar Code Ratio The ratio between the wide and the narrow bars can be set using a BARRATIO command. BARRATIO | BR <wide bars>,<narrow bars>

<wide bars> <narrow bars> Default: Reset to default by:

width of wide bars in dots width of narrow bars in dots 3:1 PRINTFEED|PF

Intermec EasyCoder E4 Direct Protocol 2.01 – Programmer's Guide Ed. 1

25

Page 27

Chapter 4 Label Design

4. Bar Code Field, cont'd.

Set Bar Code Magnification The magnification of the bar code and the bar code ratio decides the actual thickness of the bars. For example, if BARRATIO is 3:1 and BARMAG is 2, then the wide bars will be 6 dots thick (3 × 2) and the narrow bars will be 2 dots (1 × 2). Magnification also affects interpretations that are integrated in the code, e.g. EAN and UPC codes. BARMAG | BM <magnification>

<magnification> Default: Reset to default by:

the enlargement factor of the bar code pattern. 2 PRINTFEED|PF

Bar Codes (combined command) The BARSET command is primarily intended for complex 2-dimensional codes (see chapter 9.1), but can also be used to specify more simple bar codes by means of a single command: BARSET[#<start parameter>,]"<code name>",<ratio wide bars>,<ratio narrow bars>,<magnification>,<height>

<start parameter> optionally specifies which parameter in the syntax above should be the first parameter (#1–6). Thereby you may bypass some of the initial parameters, e.g. code name, ratio, and magnification. (default 1, i.e. first parameter = code name) <code name> specifies bar code name (default "INT2OF5") <ratio wide bars> specifies ratio wide/narrow bars (default 3) <ratio narrow bars> specifies ratio wide/narrow bars (default 1) <magnification> specifies magnification (default 2) <height> specifies height of bars in dots (default 100) Reset to default by: PRINTFEED|PF

26

Intermec EasyCoder E4 Direct Protocol 2.01 – Programmer's Guide Ed. 1

Page 28

Chapter 4

4. Bar Code Field, cont'd.

Label Design

Select Bar Code Interpretation Font Most bar codes do not automatically include any bar code interpretation in human readable characters. If you wish to include a bar code interpretation, you can specify the font to be used for the bar code interpretation (human readable). BARFONT | BF[#<start parameter>,]"<font filename>"[, "<fontsize>" [,"<fontslant>"[,<vert. offset>[,<height mag> [,<width mag>]]]]][ON]

<start parameter> specifies the first parameter of the command (default 1) <font filename> the file name of the font to be used (default "Swiss 721 BT") <font size> the height of the font in points (default 12 pt) <font slant> the slant of the font in degrees clockwise (default 0°) <vert. offset> distance between bar code and interpretation in dots (default 6 dots) <height mag> the magnification with regard to height (default 1) <width mag> the magnification with regard to width (default 1) <ON> enables the printing of bar code interpretation (default OFF) Reset to default by: PRINTFEED|PF The bar code font size and slant can be specified separately using the following commands: BARFONTSIZE | BFS <font size> BARFONTSLANT | BFL <font slant>

As with text fields, human readable bar code interpretation fonts can contain characters from any national character set. However, before using any of the standard fonts OCR-A BT, OCRB 10 Pitch BT, or Zapf Dingbats BT, you must select a special character set for that font by means of a NASC command (see chapters 6.11, 9,2 and 11.1). Before switching back to any other font than those mentioned above, you must specify the original character set again by means of a new NASC command.

Intermec EasyCoder E4 Direct Protocol 2.01 – Programmer's Guide Ed. 1

27

Page 29

Chapter 4 Label Design

4. Bar Code Field, cont'd.

Bar code interpretation printing can be enabled or disabled by means of these commands: BARFONT | BF ON BARFONT | BF OFF

By default, bar code interpretation printing is disabled. Summary To create a bar code field, the following formatting commands must be given (in most cases default values may substitute missing parameters). Input data and printing commands are explained in chapters 4.9 and 5.2 respectively. Purpose X/Y Position Alignment Direction Bar Code Select

Command PRPOS | PP) ALIGN | AN DIR BARSET

Default 0,0 1 1 see above

Human Readable

BF ON

Off

Remarks Number of dots Select ALIGN 1 – 9 Select DIR 1 – 4 Can be replaced by BT, BH, BR, BM Can be omitted

Examples: PP 100,100:AN 7:DIR 4:BARSET "CODE39",2,1,3,120: BF "Swiss 721 Bold BT"20,0,5,1,1 ON ↵ PP 100,100:AN 7:DIR 4:BARSET "CODE39",2,1,3,120: NASC "OCR-A.NSC": BF "OCR-A BT",20,0,5,1,1 ON:NASC 1 ↵

28

Intermec EasyCoder E4 Direct Protocol 2.01 – Programmer's Guide Ed. 1

Page 30

Chapter 4

5. Image Field

Label Design

An image field contains a picture or logo in .PCX format. The image can either be stored in the printer's RAM or in a memory card. It can also be downloaded from the host computer. You cannot store images in the printer's ROM, but it does contain two standard images: "ROM:GLOBE.1", which is a sample image for DIR 1 and 3, and "ROM:GLOBE.2", which is the same sample image for DIR 2 and 4. In addition to the general formatting commands, PRPOS, ALIGN and DIR, an image field can contain the following commands: • Name • Magnification • Normal/Inverse printing Select an Image An image is selected by the full name under which it is stored in the printer's memory, either as plain text or as a variable (also see chapter 4.9). PRIMAGE | PM "<image name>"

<image name> Default:

the full name and storage location of the image including extension, enclosed by double quotation marks None

The Intermec image name convention includes an extension (.1 or .2), where .1 indicates that the image is intended for print directions 1 and 3, whereas .2 indicates print directions 2 and 4 (see chapter 4.2). For example, the image "ROM:GLOBE.1" is suited for directions 1 and 3. Set Image Magnification Images can be magnified 1 – 4 times independently with regard to height and width by means of a MAG command. MAG <height mag>,<width mag>

<height mag> <width mag> Default: Reset to default by:

the magnification factor 1, 2, 3 , or 4 times with regard to height. the magnification factor 1, 2, 3 , or 4 times with regard to width. 1,1 PRINTFEED|PF

To obtain the best printout quality, select a larger image rather than magnifying a smaller one.

Intermec EasyCoder E4 Direct Protocol 2.01 – Programmer's Guide Ed. 1

29

Page 31

Chapter 4 Label Design

5. Image Field, cont'd.

Select Normal/Inverse Printing Normally, an image is printed in black and white, just as it was created. Using INVIMAGE, the black and white can be inverted. The size of the background is decided by the actual size of the image including “invisible” background. A NORIMAGE statement is only needed when changing back from INVIMAGE printing. NORIMAGE | NI INVIMAGE | II

Default: Reset to default by:

NORIMAGE PRINTFEED|PF

Summary To create an image field, the following formatting commands must be given (in most cases default values may substitute missing parameters). Image selection by means of variable input, and printing commands are explained in chapters 4.9 and 5.2 respectively. Purpose X/Y Position Alignment Direction Magnification

Command PRPOS | PP ALIGN | AN DIR MAG

Default 0,0 1 1 1,1

Appearance

INVIMAGE | II off

NORIMAGE | NI on

PRIMAGE | PM n.a.

Image name

Remarks Number of dots Select ALIGN 1 – 9 Select DIR 1 – 4 Height 1 – 4, Width 1– 4 Black and white parts inverted Normal (revokes INVIMAGE) Full name including extension

Example: PP 200,500:AN 3:DIR 3:MAG 2,2:II:PM "ROM:GLOBE.1"↵

30

Intermec EasyCoder E4 Direct Protocol 2.01 – Programmer's Guide Ed. 1

Page 32

Chapter 4

6. Box Field

Label Design

A box is a hollow square or rectangle that can be rotated with an increment of 90° according to the print direction. If the line thickness is sufficiently large, the box will appear to be filled (another method is to print an extremely thick short line). In addition to the general formatting commands, PRPOS, ALIGN and DIR, a box field is specified by a single command. Set Size of the Box The size of the box is specified with regard to height, width and line weight (thickness). PRBOX | PX <height>,<width>,<line thickness>

<height> <width> <line thickness> Default:

the height of the box in dots perpendicular to the selected direction. the length of the box in dots along the selected direction. the line weight in dots. None

Summary To create a box field, the following formatting commands must be given (in most cases, default values may substitute missing parameters). Printing commands are explained in chapter 5.2. Purpose X/Y Position Alignment Direction Box size

Command PRPOS | PP ALIGN | AN DIR PRBOX | PX

Default 0,0 1 1 n.a.

Remarks Number of dots Select ALIGN 1 – 9 Select DIR 1 – 4 Height, width and line thickness in dots

Example: PP 250,250:AN 1:DIR 3:PX 200,200,10 ↵

Intermec EasyCoder E4 Direct Protocol 2.01 – Programmer's Guide Ed. 1

31