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 8 of 9

EasyCoder E4 Bar Code Label Printer Installation & Operation, pages 63 to 70

Pages 63 to 70 of 79

The original document is the PDF (1.5 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 63

Appendix 4 Programming

Command List

The Intermec Direct Protocol commands are listed below, with a brief description of their purpose and syntax. For full explanation, refer to the EasyCoder E4 Direct Protocol, Programmer’s Guide.

Instruction

Purpose and Syntax

ALIGN (AN)

Specifies which part (anchor point) of a text, bar code field, image field, line, or box will be positioned at the insertion point. ALIGN|AN <anchor point>

BARFONT (BF)

Specifies a single byte font for printing human readable bar code interpretation. The settings are: start parameter; font name; font size in points; character slant in degrees; vertical offset between bar code and interpretation; width magnification; height magnification; enable/disable the printing of bar code interpretations. BARFONT|BF [#<starting parameter number>,]"<fontname>"[,<size> [,<slant>[,<offset>[,<hmag>[,<vmag>]]]]][ON|OFF]

BARFONT (BF) ON/OFF

Enables/disables the printing of bar code interpretations. BARFONT|BF ON BARFONT|BF OFF

BARFONTD (BFD)

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. BARFONTD|BFD "<fontname>"[,<size>[,<slant>]]

BARFONTDSIZE (BFSD)

Specifies the font size of a double byte character set in points for printing human readable bar code interpretation. BARFONTDSIZE|BFSD <size>

BARFONTDSLANT (BFLD)

Specifies the slant of a double byte character set font in degrees for printing human readable bar code interpretation. BARFONTDSLANT|BFLD <slant>

BARFONTSIZE (BFS)

Specifies the font size for a single byte character set font in points for printing human readable bar code interpretation. BARFONTSIZE|BFS <size>

BARFONTSLANT (BFL)

Specifies the slant of a single byte character set font in degrees for printing human readable bar code interpretation. BARFONTSLANT|BFL <slant>

BARHEIGHT (BH)

Specifies the height of a bar code in dots. BARHEIGHT|BH <height>

BARMAG (BM)

Specifies the width magnification of the bars in a bar code. BARMAG|BM <magnification>

62

Intermec EasyCoder E4 – Installation & Operation Ed. 2

Page 64

Appendix 4 Programming

Command List, cont. Instruction

Purpose and Syntax

BARRATIO (BR)

Specifies the width ratio between wide and narrow bars in a bar code. BARRATIO|BR <ratio>

BARSET

Specifies a bar code and sets parameters for complex bar codes. BARSET [#<start parameter>,)"bar code name",<ratio wide bars>, <ratio narrow bars>,<mag>,<height>

BARTYPE (BT)

Specifies the type of bar code. BARTYPE|BT "<bar code name>"

BREAK

Specifies a break interrupt character separately for either the parallel or serial communication channel. BREAK <device>,<break character>

BREAK ON/OFF

Enables/disables break interrupt separately for either the parallel or serial communication channel. BREAK <device> ON|OFF

CHR$

Returns the ASCII character whose number is given in the brackets. CHR$(<ASCII character number>)

CLEANFEED

Runs the printer’s feed mechanism for the distance specified in dots. CLEANFEED <length in dots>

CLL

Clears the print image buffer; completely if no starting field is specified, or optionally from a specified field to the end of the label. CLL [<variable name>%]

COPY

Copies files. COPY "[<source device>]<original filename>", "[destination device>]<new filename>"|"uart1:"

COUNT&

Creates a counter. Alpha counters range from A to Z, numeric counters have no practical limit. 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>"

Intermec EasyCoder E4 – Installation & Operation Ed. 2

63

Page 65

Appendix 4 Programming

Command List, cont. Instruction

CUT

Purpose and Syntax

Makes the optional paper cutter perform a cutting cycle. CUT

CUT ON/OFF

Enabling/disabling automatic cutting after PRINTFEED. CUT [<feed length>] ON|OFF

DATE$

Sets or returns the current date, optionally in the format specified by the FORMAT DATE$ command. DATE$ = "<YYMMDD>" PRINT DATE$[("F")]

DATEADD$

Returns a new date after a number of days has been added to, or subtracted from, the current date or optionally a specified date. PRINT DATEADD$(["<original date>",]<number of days>[,"F"])

DIR

Specifies the print direction. DIR <direction>

ERROR

Defines error messages and enables the error handler for specified error conditions. ERROR <error number>,"<error message>"

FIELDNO

Gets the current field number for partial clearing of the print buffer by a CLL instruction. <variable name>%=FIELDNO

FILE& LOAD

Receives and stores binary files in the printer’s RAM memory. FILE& LOAD "<filename>",<file size>

FILES

Lists the files stored in one of the printer’s directories to the standard OUT channel. RAM: is the default if no other device is specified. FILES ["ROM:|RAM:|CARD1:|CARD2:|CACHE:"]

FONTD (FD)

Selects a double byte character set font for the printing of subsequent PRTXT instructions, and optionally sets the font size and slant. FONTD|FD "<fontname>"[,<size>[,<slant>]]

FONTDSIZE (FSD)

Sets the size in points of the current double byte character set font. FONTDSIZE|FSD <size>

FONTDSLANT (FLD)

Sets the slant in degrees of the current double byte character set font. FONTDSLANT|FLD <slant>

64

Intermec EasyCoder E4 – Installation & Operation Ed. 2

Page 66

Appendix 4 Programming

Command List, cont. Instruction

Purpose and Syntax

FONT (FT)

Selects a single byte character set font for the printing of subsequent PRTXT instructions, and optionally sets the font size and slant. The default font is Swiss 721 BT in 12 point size, and slant 0°. FONT|FT "<fontname>"[,<size>[,<slant>]]

FONTSIZE (FS)

Sets the size in points of the current single byte character set font. FONTSIZE|FS <size>

FONTSLANT (FL)

Sets the slant in degrees of the current single byte character set font. FONTSLANT|FL <slant>

FONTS

Returns the names of all fonts stored in the printer’s memory to the standard OUT channel. FONTS

FORMAT

Formats the printer’s RAM memory, or formats a SRAM-type memory card to MS-DOS format. FORMAT "<device>"[,<no of entries>[.<no of bytes>]]

FORMAT DATE$

Specifies the format of the string returned by DATE$("F") and DATEADD$(...,"F") instructions. FORMAT DATE$ <string>

FORMAT INPUT

Specifies separators for layout variable data entry. FORMAT INPUT "<start separator>","<end separator>","<field separator>"

FORMAT TIME$

Specifies the format of the string returned by TIME$("F") and TIMEADD$(...,"F") instructions. FORMAT TIME$ "<string>"

FORMFEED (FF)

Activates the feed mechanism in order to feed out or pull back a certain length of media. If the feed length is not specified, the printer feeds a blank label. FORMFEED|FF [<feed length in dots>]

FRE

Returns the number of free bytes in the RAM memory (1) or the Flash memory (2.) FRE(<1>|<2>)

FUNCTEST$

Performs various hardware tests on the ROM, RAM, any cards fitted, and on the printhead. FUNCTEST$("RAM|CARD1|CARD2|HEAD")

Intermec EasyCoder E4 – Installation & Operation Ed. 2

65

Page 67

Appendix 4 Programming

Command List, cont. Instruction

HEAD

Purpose and Syntax

Returns the result of a printhead check and sets printhead resistance. PRINT HEAD(<type of check>)

IMAGE LOAD

Receives and stores image files in .PCX format either in the file system or in volatile memory. IMAGE LOAD "<imagename>",<filesize>,"<flag>"

IMAGES

Returns the names of all images stored in the printer’s memory to the standard OUT channel. IMAGES

INPUT ON

Sets SYSVAR(18) to 0 and enables layouts and use of variable data fields. INPUT ON

INPUT OFF

Restores SYSVAR(18) and disables layouts and use of variable data fields. INPUT OFF

INVIMAGE (II)

Inverts the printing of text and images from “black-on-white” to “white-on-black.” INVIMAGE|II

KILL

Deletes a file from the printer’s RAM memory or from a DOS-formatted memory card. Wildcard support (<"*">.) KILL "[<device>]<filename>"

LAYOUT END

Stops the recording of a layout description and saves the layout. LAYOUT END

LAYOUT INPUT

Starts the recording of a layout description. LAYOUT INPUT "<layout name>"

LAYOUT RUN

Enables a pre-defined layout. LAYOUT RUN "<layout name>"

LTS& ON/OFF

Enables or disables the label taken sensor. LTS& ON|OFF

MAG

Magnifies a font, barfont or image up to four times separately in regard of height and width. MAG <height mag>,<width mag>

66

Intermec EasyCoder E4 – Installation & Operation Ed. 2

Page 68

Appendix 4 Programming

Command List, cont. Instruction

Purpose and Syntax

MAP

Changes the ASCII value of a character when received on the standard IN channel, or optionally on another specified communication channel. MAP [<device>],<original ASCII value>,<desired ASCII value>

NAME DATE$

Enters the preferred month name in return strings of DATE$("F") and DATEADD$(...,"F".) NAME DATE$ <No. of month>,"<name of month>"

NAME WEEKDAY$

Enters the preferred weekday name in return strings of WEEKDAY$. NAME WEEKDAY$ <No. of weekday>,"<name of weekday>"

NASC

Selects a national single byte character set font. NASC <character set number>|"<filename of character set>"

NASCD

Selects a mapping method for double byte character set fonts. NASCD "<filename of character set>"

NORIMAGE (NI)

Returns to normal printing after INVIMAGE printing. NORIMAGE|NI

PRBAR (PB)

Prints a bar code. PRBAR|PB <input data>[;<input data>]

PRBOX (PX)

Prints a box. PRBOX|PX <height>,<width>,<line thickness>

PRESCALE (PS)

Scales the characters listed in the accompanying text string using the current font settings. Prescaled characters are saved in "ram:". PRESCALE|PS "<string>"

PRIMAGE (PM)

Prints an image stored in the printer’s memory. PRIMAGE|PM "<image name>"

PRINT (?)

Prints data to the standard OUT channel. PRINT|? "<input data>"[;"<input data>"]

PRINT KEY ON/OFF

Enables/disables printing of the current label when the Feed key is pressed. PRINT KEY ON|OFF

PRINTFEED (PF)

Prints and feeds out one or a specified number of labels, tickets, tags, or portions of strip, according to the printer’s setup. PRINTFEED|PF [<batch size>]

Intermec EasyCoder E4 – Installation & Operation Ed. 2

67

Page 69

Appendix 4 Programming

Command List, cont. Instruction

PRLINE (PL)

Purpose and Syntax

Draws a solid rectangle. PRLINE|PL <length>,<line thickness>

PRPOS (PP)

Specifes the insertion point for a line of text, a bar code, an image, a box, or a line. PRPOS|PP <x-coordinate>,<y-coordinate>

PRSTAT

Returns the printer’s current status. (PRSTAT AND <parameter>)

PRTXT (PT)

Provides the input data for a text field (a line of text.) PRTXT[PT "<input data>"[;"<input data>"]

REBOOT

Restarts the printer. REBOOT

REMOVE IMAGE

Removes a specified image from the printer’s memory. REMOVE IMAGE "<name>"

SETSTDIO

Forces selection of standard IN and OUT communication channel. This is normally automatic. SETSTDIO <IN channel>,<OUT channel>

SETUP

Changes the setup by means of a setup string or setup file. SETUP "<setup string>"|"<setup filename>"

SETUP WRITE

Creates a setup file containing the printer’s current setup values or prints the current setup to the host via the serial port. SETUP WRITE "<setup filename>"|"uart1:"

SYSVAR

Reads or sets various system variables. PRINT SYSVAR(<parameter>) SYSVAR(<parameter>)=<value>

TESTFEED

Slowly feeds media to allow the label stop sensor to adjust itself according to the presently loaded media. TESTFEED

TIME$

Sets or returns the current time, optionally in the format specified by the FORMAT TIME$ command. TIME$ = "<HHMMSS>" PRINT TIME$[("F")]

68

Intermec EasyCoder E4 – Installation & Operation Ed. 2

Page 70

Appendix 4 Programming

Command List, cont. Instruction

Purpose and Syntax

TIMEADD$

Returns a new time after a number of seconds have been added to, or subtracted from, the current time or optionally a specified time. PRINT TIMEADD$(["<original time>",]<no. of seconds>[,"F"])

V% = FIELDNO

Assigns the number of the current field to a variable. <variable name>%=FIELDNO

VERSION$

Returns the version of the firmware, printer family, or type of CPU board. PRINT VERSION$[(<type of info>)]

WEEKDAY$

Returns the name of the weekday for a specified date. PRINT WEEKDAY$("<date>")

WEEKNUMBER

Returns the number of the week for a specified date. PRINT WEEKNUMBER("<date>")

Intermec EasyCoder E4 – Installation & Operation Ed. 2

69