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 15 of 15

EasyCoder E4 Direct Protocol 2.01 Programmer's Guide, pages 104 to 113

Pages 104 to 113 of 113: Chapter 12: Error Messages; Chapter 13: Commands and Functions

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 104

Chapter 12

Error Messages 1. Error Messages in Numerical Order

Code 0 1 2 3 5 9 12 15 17 18 19 24 25 26 27 30 34 37 38 41 43 58 67 78 79 1001 1003 1005 1009 1010 1011 1013 1015 1018 1019 1022 1023 1025 1027 1031

Description No error Syntax error. Unbalanced parenthesis. Feature not implemented. Unrecognized token. Undefined token. Type mismatch. Font not found. Bar code type not implemented. Disk full. Error in file name. Overflow in temporary string buffer. Wrong number of parameters. Parameter too large. Parameter too small. Assign to a read-only variable. File is not open. Cutter device not found. User break. Parameter out of range. Memory overflow. Field overflow. Error from communication channel. Not allowed in execution mode. Not allowed in a layout. Not implemented. Field out of label. Out of paper. Invalid parameter. Hardware error. I/O error. Device not found. File is read-only. Bad file descriptor. Invalid font. Head lifted. Incomplete label. File does not exist. Out of transfer ribbon. Next label not found.

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

103

Page 105

Chapter 12 Error Messages

1. Error Messages in Numerical Order, cont'd.

104

Code 1027 1035 1037 1041 1042 1054 1055 1057 1058 1059 1061 1101 1102 1103 1104 1105 1106 1107

Description Out of transfer ribbon. File pointer is not inside the file. No acknowledge received within specified timeout. Error in fos structure. Internal error in mcs. Error when trying to write to device. Error when trying to read from device. File exists. Transfer ribbon fitted. Cutter does not respond. Wrong type of media. Illegal character in bar code. Illegal bar code font. Too many characters in bar code. Bar code too large. Bar code parameter error. Wrong number of characters. Illegal bar code size.

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

Page 106

Chapter 13

Commands and Functions 1. Commands (Alphabetical) Instruction ALIGN (AN)

Chapter 4.2

BARFONT (BF)

4.4

BARFONT (BF) ON/OFF BARFONTD (BFD)

4.4 9.2

BARFONTDSIZE (BFSD)

9.2

BARFONTDSLANT (BFLD) 9.2 BARFONTSIZE (BFS)

9.2

BARFONTSLANT (BFL)

9.2

BARHEIGHT (BH) BARMAG (BM)

4.4 4.4

BARRATIO (BR)

4.4

BARSET

4.4, 9.1

BARTYPE (BT) BREAK

4.4 6.16

BREAK ON/OFF

6.16

CHR$ (n)

9.2

CLEANFEED

5.1

Purpose Specifies which part of a text, bar code field, image field, line or box will be positioned at the insertion point. Specifies a single-byte character set font for printing human readablebarcodeinterpretation.Thesettingsare:startparameter; font name; font size in points; character slant in degrees, with positive values slanting the characters to the right; vertical offset between the barcode and the interpretation; width magnification;heightmagnification;enable/disabletheprinting of barcode interpretations. Enables/disables the printing of bar code interpretations. Specifies a double-byte character set font for printing human readable bar code interpretation. The settings are: font name; font size in points; character slant in degrees. Specifies the font size of a double-byte character set in points for printing human readable bar code interpretation. Specifies the slant of a double-byte character set font in degrees for printing human readable bar code interpretation. Specifies the font size for a single-byte character set font in points for printing human readable bar code interpretation. Specifies the slant of a single-byte character set font in degrees for printing human readable bar code interpretation. Specifies the height of a bar code in dots. Specifies the magnification with regard to the width of the bars in a bar code. Specifies the width ratio between wide and narrow bars in a bar code. Specifies a bar code type and sets parameters for complex bar codes. Specifies the type of bar code. Specifies a break interrupt character separately for the parallel and serial communication channels. Enables/disables break interrupt separately for the parallel and serial communication channels. Returns the ASCII character whose number is given in the brackets. Runs the printer's feed mechanism, for the distance specified in dots to allow cleaning.

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

105

Page 107

Chapter 13 Commands and Functions

1. Commands (Alphabetical), cont'd. Instruction CLL

Chapter 5.3

COPY COUNT&

8.3 6.6

CUT CUT ON/OFF

5.1 6.19

DATE$

4.9, 6.3, 7.2

DATEADD$

4.9

DIR ERROR

4.2 6.15

FIELDNO

5.3

FILE& LOAD FILES

8.4 8.1

FONTD (FD)

9.2

FONTDSIZE (FSD)

9.2

FONTDSLANT (FLD)

9.2

FONT (FT)

4.3

FONTSIZE (FS)

4.3

FONTSLANT (FL)

4.3

106

Purpose Completely clears the print image buffer, if no starting field is specified. If a field is specified, the print image buffer is cleared from the field to the end of the label. Copies files. Creates a counter. Alpha counters range from A to Z, but numeric counters have no practical limit. Activating an optional paper cutting device. Enabling/disabling automatic cutting after PRINTFEED execution and optionally adjusting paper feed before and after the cutting. Sets or returns the current date, optionally in the format specified by the FORMAT DATE$ command. Returns a new date after a number of days has been added to, or subtracted from, the current date or optionally a specified date. The current date is not changed. Specifies the print direction. Defines error messages and enables the error handler for specified error conditions. Gets the current field number for partial clearing of the print buffer by a CLL command. Receives and stores binary files in the printer's RAM memory. Lists the files stored in one of the printer's directories to the standard OUT channel. RAM: is the default if no other drive is specified. Selects a double-byte character set font for the printing of subsequent PRTXT commands, and optionally sets the font size and slant. Sets the size in points of the current double-byte character set font. Sets the slant in degrees of the current double-byte character set font. Selects a single-byte character set font for the printing of subsequent PRTXT commands, and optionally sets the font size and slant. Sets the size in points of the current single-byte character set font. Sets the slant in degrees of the current single-byte character set font.

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

Page 108

Chapter 13

Commands and Functions

1. Commands (Alphabetical), cont'd. Instruction FONTS

Chapter 8.1

FORMAT

6.9

FORMAT DATE$

6.4

FORMAT INPUT FORMAT TIME$

6.5 6.4

FORMFEED (FF)

5.1

FRE FUNCTEST$

8.1 7.3, 7.4

HEAD

7.4

IMAGE LOAD

8.5

IMAGES

8.1

INPUT ON

6.1

INPUT OFF

6.1

INVIMAGE (II)

4.3, 4.5

KILL

8.2

LAYOUT END LAYOUT INPUT LAYOUT RUN LTS& ON/OFF MAG

4.8 4.8 4.9 6.7 4.3, 4.5

MAP

6.10

Purpose Returns the names of all fonts stored in the printer's memory to the standard OUT channel. Formats the printer's RAM memory, or formats a RAM-type memory card to MS-DOS format. Specifies the format of the string returned by DATE$("F") and DATEADD$(...,"F") commands. Specifies separators for layout variable data entry. Specifies the format of the string returned by TIME$("F") and TIMEADD$(...,"F") commands. Activates the paper feed mechanism in order to feed out or pull back a certain length of the paper web. If the feed length is not specified, the printer feeds a blank label. Returns the number of free bytes in the printer's memory. Performs various hardware tests on the ROM, RAM, any cards fitted and on the printhead. Returns the result of a printhead check and sets printhead resistance. Receives and stores image files in .PCX format either in the file system or in volatile memory. Returns the names of all images stored in the printer's memory to the standard OUT channel. Sets SYSVAR(18) to 0 and enables layouts and use of variable data fields. Restores SYSVAR(18)and disables layouts and use of variable data fields. Inverts the printing of text and images from “black-on-white” to “white-on-black. Deletes a file from the printer's RAM memory or from a DOSformatted memory card. Stops the recording of a layout description and saves the layout. Starts the recording of a layout description. Enables a pre-defined layout. Enables or disables the label taken sensor. Magnifies a font, barfont or image up to four times separately with regard to height and width. Changes the ASCII value of a character when received on the standard IN channel, or optionally on another specified communication channel.

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

107

Page 109

Chapter 13 Commands and Functions

1. Commands (Alphabetical), cont'd. Instruction NAME DATE$

Chapter 6.4

NAME WEEKDAY$

6.4

NASC NASCD NORIMAGE (NI)

6.11, 9.2 9.2 4.3, 4.5

PRBAR (PB) PRBOX (PX) PRESCALE (PS)

4.9 4.6 9.3

PRIMAGE (PM) PRINT (?) PRINT KEY ON

4.5, 4.9 7.1 6.8

PRINT KEY OFF PRINTFEED (PF)

6.8 5.2

PRLINE (PL) PRPOS (PP)

4.7 4.2

PRSTAT PRTXT (PT) REBOOT REMOVE IMAGE SETSTDIO

7.7 4.9 6.12 8.2 6.2

SETUP SETUP WRITE

6.17 6.17

SYSVAR TESTFEED

6.13-14, 6.18, 7.4, 7.6-11 5.1

TIME$

4.9, 6.3, 7.2

108

Purpose Enters the preferred month name in return strings of DATE$("F") and DATEADD$(...,"F"). Enters the preferred weekday name in return strings of WEEKDAY$. Selects a national single-byte character set.I Selects a mapping method for large character set fonts. Returns to normal printing after an INVIMAGE statement has been issued. Prints a bar code. Prints a box. Scales the characters listed in the accompanying text string using the current font settings. Prints an image stored in the printer's memory. Prints data to the standard OUT channel. Enables printing of the current label when the Feed key is pressed. Enables feeding of a blank label when the Feed key is pressed. Prints and feeds out one or a specified number of labels, tickets, tags or portions of strip, according to the printer's setup. Draws a solid rectangle. Specifes the insertion point for a line of text, a bar code, an image, a box or a line. Returns the printer's current status. Provides the input data for a text field, i.e. a line of text. Restarts the printer. Removes a specified image from the printer's memory. Forces selection of standard IN and OUT communication channels (normally automatic). Changes the setup by means of a setup string or setup file. Creates a setup file containing the printer's current setup values or returns the printer's current setup to the host via "uart1:". Reads or sets various system variables. Slowly feeds paper to allow the label stop sensor to adjust itself according to the presently loaded paper web. Sets or returns the current time.

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

Page 110

Chapter 13

Commands and Functions

1. Commands (Alphabetical), cont'd. Instruction TIMEADD$

Chapter 4.9

VERSION$

7.8

WEEKDAY$ WEEKNUMBER

4.9 4.9

Purpose Returns a new time after a number of seconds have been added to, or subtracted from, the current time or optionally a specified time. Returns the version of the firmware, printer family, or type of CPU board. Returns the name of the weekday for a specified date. Returns the number of the week for a specified date.

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

109

Page 111

Chapter 13 Commands and Functions

2. Command Syntax ALIGN|AN <anchor point> BARFONT|BF [#<starting parameter no.>,]"fontname"[,size[,slant[,offset[,hmag[,vmag]]]]][ON|OFF] BARFONT|BF ON BARFONT|BF OFF BARFONTD|BFD "fontname"[,size[,slant]] BARFONTDSIZE|BFSD<size> BARFONTDSLANT|BFLD<slant> BARFONTSIZE|BFS<size> BARFONTSLANT|BFL<slant> BARHEIGHT|BH <height> BARMAG|BM <magnification> BARRATIO|BR <ratio> BARSET [#<start parameter>,]"<bar code name>",<ratio wide bars>,<ratio narrow bars>,<mag>,<height> BARTYPE|BT "<bar code name>" BREAK <device>,<break character> BREAK <device> ON|OFF CLEANFEED <length in dots> CLL [<variable name>%] COPY "[<source device>]<original filename>","[<destination device>]<new filename>"|"uart1:" COUNT& "START",<counter number>,"<start value>" COUNT& "WIDTH" ,<counter number>,"<number of digits>" COUNT& "COPY",<counter number>,"<number of copies>" COUNT& "INC",<counter number>,"<incr. value>|<decr. value>" COUNT& "STOP",<counter number>,"<stop value>" COUNT& "RESTART" ,<counter number>,"<restart value>" CUT CUT [<feed length]ON|OFF DATE$ = "<YYMMDD>" DIR <direction> ERROR <error number>,"<error message>" <variable name> %=FIELDNO FILE& LOAD "<filename>",<file size> FILES ["ROM:|RAM:|CARD1:|CARD2:|CACHE:"] FONTD|FD "<fontname>"[,<size>[,<slant>]] FONTDSIZE|FSD <size> FONTDSLANT|FLD<slant> FONT|FT "<fontname>"[,<size>[,<slant>]] FONTSIZE|FS <size> FONTSLANT|FL <slant> FONTS FORMAT "<device>"[,<no of entries>[.<no of bytes>]] FORMAT DATE$ <string>

110

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

Page 112

Chapter 13

Commands and Functions

2. Command Syntax, cont'd. FORMAT INPUT "<start separator>","<end separator>","<field separator>","<start of message character>","<end of message character>" FORMAT TIME$ "<string>" FORMFEED|FF [<feed length in dots>] IMAGE LOAD "<imagename>",<filesize>,"<flag>" IMAGES INPUT ON|OFF INVIMAGE|II KILL "[<device>]<filename>" LAYOUT END LAYOUT INPUT"<layout name>" LAYOUT RUN "<layout name>" LTS& ON|OFF MAG <height mag>,<width mag> MAP [<device>],<original ASCII value>,<desired ASCII value> NAME DATE$ <No. of month>,"<name of month>" NAME WEEKDAY$<No. of weekday>,"<name of weekday>" NASC <character set number>|"<filename of character set>" NASCD "<filename of character set>" NORIMAGE|NI PRBAR|PB <input data>[;<input data>] PRBOX|PX <height>, <width>,<line thickness> PRESCALE|PS "<string>" PRIMAGE|PM "<image name>" PRINT|? "<input data>"[;"<input data>"] PRINT KEY ON|OFF PRINTFEED|PF [<batch size>] PRLINE|PL <length>,<line thickness> PRPOS|PP <x-coordinate>, <y-coordinate> PRTXT|PT "<input data>"[;"<input data>"] REBOOT REMOVE IMAGE "<name>" SETSTDIO <IN channel>,<OUT channel> SETUP "<setup string>"|"<setup filename>" SETUP WRITE "<setup filename>"|"uart1:" SYSVAR (<parameter>)= <value> TESTFEED TIME$ = "<HHMMSS>"

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

111

Page 113

Chapter 13 Commands and Functions

3. Function Syntax

Funtions cannot stand alone: they must be used in conjunction with a command, e.g. PRINT, PRTXT.

CHR$ (<ASCII character number>) DATE$ [("F")] DATEADD$ (["<original date>",] <number of days>[,"F"]) FRE(<1>|<2>) FUNCTEST$ (RAM|CARD1|CARD2|HEAD") HEAD (<type of check>) (PRSTAT AND <parameter>) SYSVAR (<parameter>) TIME$ [("F")] TIMEADD$ (["<original time>",]<No. of seconds>[,"F"]) VERSION$ [(<type of info>)] WEEKDAY$ ("<date>") WEEKNUMBER ("<date>")

112

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