Programmer’sReference Manual
EasyCoder E4Direct Protocolv2.10
Страница 1: ...Programmer s Reference Manual EasyCoder E4 Direct Protocol v2 10 ...
Страница 2: ...word Intermec and the Intermec logoare trademarks of Intermec Technologies Corp Centronics is a registered trademark of Genicom Corporation Microsoft is a registered trademark of Microsoft Corporation Speedo is a trademark of Bitstream Inc Torx is a registered trademark of Camcar Division of Textron Inc TrueDoc is a registered trademark of Bitstream Inc TrueType is a trademark of Apple Computer In...
Страница 3: ...Commands 12 8 Feeding and Printing Commands 13 9 Setting Up the Printer 13 10 Reading Printer s Status 13 11 File Handling Commands 14 12 Syntax Descriptions 14 13 File Storage Devices and File Names 15 4 LabelDesign 1 Field Types 17 2 General Formatting Commands 18 3 Text Field 21 4 Bar Code Field 25 5 Image Field 21 6 Box Field 33 7 Line Field 34 8 Layout Commands 35 9 Printable Data Commands 36...
Страница 4: ... sStatus 1 Introduction 64 2 Date and Time 64 3 Memory 64 4 Printhead 65 5 System Counters 65 6 Sensors 66 7 Printer s Status 66 8 Firmware and Hardware Versions 66 9 Label Length 67 10 Gap Length 67 11 Media Light Transmission 67 8 FileHandling 1 Reading the Printer Memory 68 2 Removing Images Files and Fonts 69 3 Copying Files 70 4 Downloading Binary Files 70 5 Downloading Image Files 71 9 Advan...
Страница 5: ...Direct Protocol v2 10 Programmer s Reference Manual 3 Contents 12 ErrorMessages 1 Error Messages in Numerical Order 108 13 CommandsandFunctions 1 Commands 110 2 Command Syntax 115 3 Function Syntax 118 Contents cont ...
Страница 6: ...ays To create label layouts consisting of fields with fixed or variable information A layout can then be selected and provided with variable input from the host computer in the form of a simple string of data To send input data and formatting commands as a continuous string of data directly from the host computer In both cases Intermec Direct Protocol provides a flexible error handler which allows...
Страница 7: ...via an RS 232C serial port A Centronics parallel port can also be used but it will provide one way communication only no data or messages can be returned to the screen of the host Connect the printer and host as described in the EasyCoder E4 User s Guide It is possible to set up the printer s communication protocol to fit the host computer as described in the EasyCoder E4 User s Guide However unti...
Страница 8: ...turning the version of the installed Intermec Direct Protocol firmware to the screen of the host for example V2 10 Ok This indicates that the communication is working both ways If the communication does not work switch off the printer and check the connection cable Also check if the communication setup in the host corresponds to the printer s setup check the verbosity level and check if the connec...
Страница 9: ...bel ticket tag or a piece of strip with the text printed in the lower left corner of the printable area ABCDEFGHIJKLM You can try using other characters between the quotation marks in the third line especially typical national characters like ÅÄÖÜ ç etc If any unexpected characters are printed you may need to select another character set see Chapter 6 11 or change the communication setup from 7 bi...
Страница 10: ...ack to the host and for managing files fonts and images Examples PRINT KEY ON enable Feed key DATE read printer s calendar KILL LAYOUT1 delete a layout or file Immediate Mode can also be used for creating label layouts including all the printable data as illustrated below LayoutMode Layout Mode is only intended for creating labels Firstly create a layout containing formatting commands for a number...
Страница 11: ... selectimage PP 75 250 insertionpointforbar codefield BT CODE39 selectbar codetype PB ABC inputdatatobar codefield PP 75 200 insertionpointfortextfield FT Swiss 721 BT 9 0 select font for textfield PT My FIRST label inputdatatotextfield PF printonelabel Layout Mode First create a layout LAYOUT INPUT LABEL1 startlayoutrecorder BF ON enablebarcodeinterpretation BF Swiss 721 BT 9 0 selectbarcodeinter...
Страница 12: ...inputdatatobar codefield PP 75 200 insertionpointfortextfield FT Swiss 721 BT 9 0 select fontfortextfield PT VAR2 variableinputdatatotextfield LAYOUT END save layout Then add the variable input data and a print command LAYOUT RUN LABEL1 select layout INPUT ON enables layoutsandvar datafields STX startof inputdata ASCII 02dec ABC variableinputdata toVAR1 My FIRST label variableinputdatatoVAR2 EOT e...
Страница 13: ... on the type of field additional formatting commands can be used Text Field Font typeface Font Size Font Slant Magnification Normal Image Inverse Image Bar Code Field1 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 Image ...
Страница 14: ...rmatting parameters and input data in the same string or you can create a layout to which you can send variable data later The layout should contain formatting parameters for all fields and input data to such fields that will always contain the same information When the variable input data are added they will be inserted into their respective fields like filling in a pre printed form When creating...
Страница 15: ... date and time Set separators for input data strings to predefined layouts Create label counters Enable disable the optional label taken sensor Enable disable Feed key Format the printer s RAM memory or a memory card Remap certain incoming characters Select character set s Restart the printer Select verbosity level Select type of error message Enable error handling and create customized error mess...
Страница 16: ...xplanations of the various command that follow both the full name and the shorthand ver sion will be shown separated by a thin vertical line for example PRPOS PP Upper and lower case characters can be used at will in com mands Parameters for commands are shown like this parameter numeric value parameter alphanumeric text enclosed by double quota tion marks Compulsory space characters are indicated...
Страница 17: ...earest the ON OFF switch which can be a DOS formatted card or a specially formatted font cartridge CARD2 A PCMCIA card in the slot farthest from the ON OFF switch which can be a DOS formatted card or a specially formatted font cartridge The files in each device can be listed using the FILES command for example FILES RAM In general ROM and font cartridges in CARD1 or CARD2 are read only devices you...
Страница 18: ...mand which creates a file you can either specify the device on which the file is to be stored for example FILE LOAD CARD1 MYFILE TXT 123 or omit the device name for example FILE LOAD MYFILE TXT 123 in which case the file will be stored on RAM The EasyCoder E4 Direct Protocol supports wildcards that is devices filenames or filename extensions can be substituted by asterisks ASCII 42 dec For example...
Страница 19: ...s a picture drawing logo or other type of illustration in bitmap format Box Field A box field is a square or rectangular non colored area surrounded by a black border line If the border is sufficiently thick the whole area may appear black Line Field A line field is a black line that goes either along or across the media path A short but thick line can look like a black box There are no restrictio...
Страница 20: ... the preceding PRINTFEED Coordinates Starting from the origin the X axis runs across the media path from the center section and outwards and the Y axis runs along the media path from the printhead and back towards the media supply Units of Measurement The unit of measurement is always dots that is all measures depend on the density of the printhead The EasyCoder E4 has an 8 dots mm printhead where...
Страница 21: ...e are 8 anchor points along the borders and one in the center numbered 1 9 as shown in this illustration The desired anchor point is specified using the ALIGN command ALIGN AN anchorpoint anchor point is a number from 1 9 Default value 1 Reset to default by PRINTFEED PF Example AN 1 ALIGN AN will place the lower left corner of the text field at the insertion point specified by PRPOS Refer to the i...
Страница 22: ...rtion point with a 90 increment 0 90 180 or 270 by means of a DIR command DIR direction direction is a number from 1 4 DIR 1 0 DIR 2 90 DIR 3 180 DIR 4 270 Default 1 Reset to default by PRINTFEED PF Example DIR 3 DIR rotates all following printable fields so that they are printed across the media path and upside down with respect to the way the media is fed out of the printer This illustration sum...
Страница 23: ...ain the following commands Font typeface Font Size in points Font Slant in degrees Magnification Normal Image Inverse Image Select a Font The FONT command specifies the file name of the scaleable font to use and the height and the italic angle with which the characters will be printed FONT FT fontfilename fontsize fontslant font file name the name of a Speedo or TrueType font file and must be encl...
Страница 24: ...1 Bold BT Swiss 721 Bold Condensed BT Zapf Dingbats BT use NASC ZAPF NSC Zurich Extra Condensed BT For examples of the above fonts see Chapter 11 2 Early EasyCoder printers contained bitmapped fonts that is fonts scaled with a fixed size and slant1 To provide backward compatibility the EasyCoder E4 provides FONT commands to select the equivalent combinations of font file name size and slant Old Ea...
Страница 25: ...he aspect ratio of printed characters For example to specify Swiss 721 Roman at 12 points with double width use FONT Swiss 721 BT 12 0 MAG 1 2 To specify Swiss 721 Roman at 12 points with a height width ratio of 2 3 use FONT Swiss 721 BT 6 0 MAG 2 3 Select Normal Inverse Printing Normally text is printed in black without any printed back ground NORIMAGE Using INVIMAGE the printing can be inversed ...
Страница 26: ...ers 6 11 and 9 2 Purpose Command Default Remarks X Y Position PRPOS PP 0 0 Number of dots Alignment ALIGN AN 1 Select AN 1 9 Direction DIR 1 Select DIR 1 4 Font FONT FT Swiss 721 BT 12 0 Font Size FONTSIZE FS 12 Can be added to FONT command Font Slant FONTSLANT FL 0 Can be added to FONT command Magnification MAG 1 1 Height 1 4 Width 1 4 Appearance INVIMAGE II off White on black print NORIMAGE NI o...
Страница 27: ...rties 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 CodeType The type of bar code is specified by a BARTYPE command containing an abbreviation of the bar code name The abbrevia tion must be entered exactly a...
Страница 28: ...d 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 U...
Страница 29: ...TIO BR widebars narrowbars wide bars width of wide bars in dots narrow bars width of narrow bars in dots Default 3 1 Reset to default by PRINTFEED PF 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...
Страница 30: ...rt 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 for example code name ratio and magnification default 1 that is 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 narr...
Страница 31: ...clockwise default 0 vert offset distance between bar code and interpreta tion 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 interpreta tion default OFF Reset to default by PRINTFEED PF The bar code font size and slant can be specified separately using the following c...
Страница 32: ...t cases default values may substitute missing parameters Input data and printing commands are explained in Chapters 4 9 and 5 2 respectively Purpose Command Default Remarks X Y Position PRPOS PP 0 0 Number of dots Alignment ALIGN AN 1 Select ALIGN 1 9 Direction DIR 1 Select DIR 1 4 Bar Code Spec BARSET see above Can be replaced by BT BH BR BM Human Readable BF ON Off Can be omitted Examples PP 100...
Страница 33: ...is stored in the printer s memory either as plain text or as a variable also see Chapter 4 9 PRIMAGE PM imagename image name the full name and storage location of the image including extension enclosed by double quotation marks Default 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 p...
Страница 34: ...y PRINTFEED PF Summary To create an image field the following formatting commands must be given in most cases default values may substitute miss ing parameters Image selection by means of variable input and printing commands are explained in Chapters 4 9 and 5 2 respectively Purpose Command Default Remarks X Y Position PRPOS PP 0 0 Number of dots Alignment ALIGN AN 1 Select ALIGN 1 9 Direction DIR...
Страница 35: ...to height width and line weight thickness PRBOX PX height width linethickness height the height of the box in dots perpendicular to the selected direction width the length of the box in dots along the selected direction line thickness the line weight in dots Default None Summary To create a box field the following formatting commands must be given in most cases default values may substitute missin...
Страница 36: ...d line weight thickness PRLINE PL length linethickness length the length of the line in dots along the selected direction line thickness the line weight in dots Default No Summary To create a line 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 Command Default Remarks X Y Pos...
Страница 37: ...e correct field The variable VAR n is used to indicate variable input where n specifies the number of the field The first variable input data block will be entered into the field containing VAR1 the second block with VAR2 etc Fixed data and variable data can be combined in the same field See also Chapter 4 9 VAR n n the number of the field There is no practical limit to the number of fields Exampl...
Страница 38: ...t separator Then comes a block of data to the field containing VAR1 A field separator separates the blocks of data Next block goes to the field containing VAR2 A field separator separates the blocks of data and so on The last block must also end with a field separator The end of transmission is indicated by an End of text separa tor By default the following separators should be used Start separato...
Страница 39: ...pes of data in a single PRTXT com mand The different parts are separated by semicolons Note that plain text must be enclosed by double quotation marks PRTXT PT inputdata inputdata Examples PT Price 1 99 PT Price VAR1 per dozen PT Box No CNT15 Packed DATE F PT WEEKDAY DATE DATE F PT Week Number WEEKNUMBER DATE PT Expiry date DATEADD 30 F Input Data to Bar Code Fields Input data is inserted into a b...
Страница 40: ... PRBAR PB inputdata inputdata Examples PB 71543 VAR5 PB Intermec PB DATE TIME Input Data to Image Fields An image can be selected either by name in plain text for example ROM GLOBE 1 or in the form of a variable for example VAR1 see also Chapter 4 5 Note that plain text input must be enclosed by double quotation marks PRIMAGE PM imagename Examples PM VAR5 PM LOGO 2 Input Data from Counters Using a...
Страница 41: ...s by including any of the following in the PRTXT or PRBAR commands DATE DATE F TIME TIME F WEEKDAY WEEKNUMBER DATEADD TIMEADD DATE Returns the current date according to the printer s calendar in the standard format YYMMDD where YY is the last two digits of the year MM is the number of the month 01 12 and DD is the number of the day 01 31 Example PT DATE DATE F Returns the current date according to...
Страница 42: ... name of the weekday in plain text according to NAME WEEKDAY see Chapter 6 4 from a given date or the current date date can be specified in the standard format YYMMDD or by a DATE command Examples PT WEEKDAY 000101 PT WEEKDAY DATE WEEKNUMBER date Returns the weeknumber from a given date or the current date date can be specified in the standard format YYMMDD or by a DATE command Examples PT WEEKNUM...
Страница 43: ... be returned in the format specified by FORMAT DATE instead of the standard format YYMMDD Example PT DATEADD 000101 15 F TIMEADD originaltime numberofsec s F Adds or subtracts a certain number of seconds to the current time or optionally to a specified moment of time original time optional it is entered in the standard date format HHMMSS Note that the original time must be enclosed by double quota...
Страница 44: ...re error occurs Does not work with var length strip or fix length strip In case of label lengths exceeding 24 cm 9 5 in the label length can be set manually using a SETUP string see Chapter 6 17 CUT Makes the optional paper cutter perform a cutting cycle The media is fed past the printhead by a rubber coated platen roller driven by a stepper motor The firmware can control the stepper motor with an...
Страница 45: ... Media Size Length setup Variable length strip After executing a PRINTFEED the printer will stop feeding as soon as printing stops Note that a blank space character or white part of an image is also regarded as a printable object The amount of media fed by FORMFEED is decided by the Media Size Length setup The Detection setup allows you to perform two global adjust ments to the media feed describe...
Страница 46: ...that is along the media path Printing Commands When a PRINTFEED command is issued the firmware pro cesses all previously entered text fields bar code fields image fields box fields and line fields into a bitmap pattern The bitmap pattern controls the heating of the printhead dots as the media is fed past them Each PRINTFEED command produces one single copy or optionally a batch of labels or simila...
Страница 47: ...the layout is processed before each new copy is printed in order to allow counter date and time values to be updated When a layout is not used all copies will contain exactly the same information When using batch printing take the following into consider ation Using command abbreviations For example PF instead of PRINTFEED improves the performance The more processing a label requires the slower it...
Страница 48: ...avoid printing a faulty label after certain errors have occurred Partial clearing is used in batch printing when only part of the label should be modified between the copies In this case the CLL statement must include a reference to a field that is specified by a FIELDNO command When a CLL command is issued the image buffer will be cleared from the specified field to the end of the label field FIE...
Страница 49: ...e the INPUT ON command was received and disables the use of layouts and variable data Immediate Mode default The printer will receive and transmit data on the standard serial communication channel uart1 If you use parallel communica tion two way communication will be lost and the printer will not be able to echo any data back to the host or return any other data It is possible to select different ...
Страница 50: ... 1010 Hardware Error Once either time or date has been set the internal clock will work until next power off or reboot If only time has been set by default the current date will be Jan 01 1980 and if only date has been set by default the clock will start running at 00 00 00 The following commands are used to set the clock calendar DATE YYMMDD YYMMDD the current date in the standard format where YY...
Страница 51: ...Year one digit M Month one digit D Day one digit Default YYMMDD Examples FORMAT DATE YYYY MM DD gives for example 2002 01 31 FORMAT DATE DD MM YY gives for example 31 01 02 FORMATTIME string H Hour in 24 hour cycle one digit per H right justified h Hour in 12 hour cycle one digit per h right justified M Minute one digit per M right justified S Second one digit per S right justified P AM PM upperca...
Страница 52: ...nth nameofmonth No of month 1 12 name of month the desired name enclosed by double quota tion marks The name of the month will be printed according to the format specified by FORMAT DATE and will be left justified NAMEWEEKDAY No ofweekday nameofweekday No of weekday 1 7 Monday Sunday name of weekday the desired name enclosed by double quota tion marks Default Full English names for example Monday ...
Страница 53: ...rst leave Layout Mode using an INPUT OFF com mand change the separators using a FORMAT INPUT com mand and then enter Layout Mode again using an INPUT ON command If you transmit a FORMAT INPUTcommand containing separa tors identical to any of the separators already stored in the printer s memory an error will occur unless you first enter the Immediate Mode The separators are saved in the printer s ...
Страница 54: ...ting a counter and specify ing its characteristics Start Value Number of Digits Number of Copies Before Update Incrementation Decrementation Stop Value Restart Value Note that input data must be enclosed by double quotation marks StartValue COUNT START counternumber startvalue start value is the first value to be printed positive or negative Negative values are indicated by a leading minus sign De...
Страница 55: ...lue restart value sets the value at which the counter should start all over again after having exceeded the STOP value Default 1 or A All EasyCoder E4 printers are fitted with a label taken sensor LTS which detects if there is a label left in the printer s outfeed slot and holds the printing until the label has been removed This facility is especially useful for batch printing You can enable or di...
Страница 56: ...e printer arrives in binary form via the standard IN channel default uart1 Characters are transmit ted in ASCII format which will be preprocessed by the printer s firmware according to any MAP commands The MAP command is used to modify a character set or to filter out undesired characters on a specified communication channel by mapping them as Null ASCII 0 dec If no character set meets your requir...
Страница 57: ...t Remarks 1 Roman 8 default 33 French 34 Spanish 39 Italian 44 English 46 Swedish 47 Norwegian 49 German 81 Japanese Latin romají 240 Microsoft Hebrew not documented 241 Microsoft Arabic not documented 351 Portuguese 850 MS DOS Latin 1 851 MS DOS Greek 1 852 MS DOS Latin 2 855 MS DOS Cyrillic 857 MS DOS Turkish 862 MS DOS Hebrew not documented 1250 Windows Latin 2 Central Europe 1251 Windows Cyril...
Страница 58: ... again to the original character set before selecting another font Choose the character set which best matches your data equip ment and printout requirements If any of the characters in this set do not have the ASCII value that you require the MAP command can be used to assign that character to a different ASCII value see Chapter 6 10 The NASC setting neither reset by PRINTFEED PF nor by switching...
Страница 59: ... be returned from print to host SYSVAR 18 value value 1 All levels enabled Default value 0 No verbosity recommended for best perfor mance value 1 Echo received characters value 2 Ok after correct command lines value 4 Echo input characters from communication port value 8 Error after failed line Bits can be combined for example SYSVAR 18 3 means both Echo received characters and Ok after correct co...
Страница 60: ...ditions listed above a standard message in English will be sent to the host computer if no other message is specified by an ERROR command When an error occurs press the Feed button to acknowledge the error then correct it either in the setup or physically for example by changing the transfer ribbon The ERROR command activates error handling for the specified error type and allows you to write an e...
Страница 61: ...nsfer printing only The printer waits for a ribbon to be loaded If the error stopped a print operation the operation must be restarted 1058 Transfer Ribbon fitted direct thermal printing only The printer waits for the ribbon to be removed To clear the error condition and go on press the Feed button 1059 Cutter does not respond paper jam in cutter The printer waits for the paper jam to be cleared T...
Страница 62: ... specifies an individual break interrupt character for each serial communication channel BREAK ON OFF enables disables break interrupt and deletes the break character for the corresponding devices BREAK device breakchar device 1 uart1 serial communication channel default device 4 centronics parallel communication chan nel IN channel only break char is the ASCII decimal value of the desired break c...
Страница 63: ...T1 BAUDRATE 300 600 1200 2400 4800 9600 19200 38400 SETUP SER COM UART1 PARITY NONE EVEN ODD MARK SPACE SETUP SER COM UART1 CHAR_LENGTH 7 8 SETUP SER COM UART1 STOPBITS 1 2 SETUP SER COM UART1 FLOWCONTROL RTS CTS ENABLE DISABLE SETUP SER COM UART1 FLOWCONTROL ENQ ACK ENABLE DISABLE SETUP SER COM UART1 FLOWCONTROL XON XOFF DATA_TO_HOST ENABLE DISABLE SETUP SER COM UART1 FLOWCONTROL XON XOFF DATA_FR...
Страница 64: ...a setup file SETUP WRITE and SETUP Use a setup string as described above to set up the printer Then use the SETUP WRITE command to save the current printer setup to a file SETUPWRITE filename filename the full name of the setup file including storage area enclosed by double quotation marks You can then select the stored setup file using the SETUP command SETUP filename filename the full name of th...
Страница 65: ...e range of 0 31 The standard EasyCoder E4 printers can optionally be fitted with a paper cutter that can cut non adhesive paper strip or the liner between labels no cutter is presently available for the EasyCoder E4 LinerLess model As an alternative to issuing separate CUT instructions see Chap ter 5 1 you can enable or disable automatic cutting in connec tion with each PRINTFEED operation By defa...
Страница 66: ...OUT channel to the host where it will usually be printed on the screen A complementary command specifies the type of information to be returned The shorthand version of PRINT is a question mark PRINT The current date and time according to the printer s clockcalen dar can be read as follows DATE or DATE F TIME or TIME F Various parts of the printer s memory can be tested by reading the result of a ...
Страница 67: ...EAD 1 instruction after replacing the printhead or print a test label to set the printer for the resistance of the new printhead SYSVAR parameter parameter 21 returns printhead density in dots per mm parameter 22 returns the number of dots in the printhead There are a number of counters in the printer s system that can be read and returned to the host SYSVAR parameter parameter 14 number of errors...
Страница 68: ...parameter 23 returns status of the ribbon end sensor 0 No ribbon 1 Ribbon The printer s status with regard to various errors and other condi tions can be read and returned to the host using the PRSTAT command PRSTATAND parameter parameter 1 printhead lifted parameter 2 label not removed parameter 4 printer out of paper parameter 8 printer out of transfer ribbon Parameters can be combined For examp...
Страница 69: ... length in dots Note that the SYSVAR 2 value must be equal to or exceed the SYSVAR 100 value or the labels will be truncated The presently set label gap length as set by a TESTFEED com mand is returned by the following instruction SYSVAR parameter parameter 101 returns label gap length in dots The light transmission of the media in the LSS is returned by the following instruction as a value in the...
Страница 70: ...es and size of all fonts files stored in the printer s memory followed by a list of the bitmapped fonts retained for compatibility with other EasyCoder printers see Chapter 4 3 It also returns information on the total memory used IMAGES Returns the names of all image files in PCX format stored in the printer s memory It also returns information on the total memory used FILES RAM ROM CARD1 CARD2 Re...
Страница 71: ...cards can be used for example REMOVE IMAGE prg REMOVE IMAGE test or REMOVE IMAGE Files including font files and images files can be removed from the RAM memory or from an inserted DOS formatted memory card KILL device filename The name of the file must correspond exactly to the name returned when using a FILES IMAGES or FONTS command and be enclosed by double quotation marks Since files will be re...
Страница 72: ...mple font files can be downloaded to the printer s RAM memory using the FILE LOAD command Before the transfer can be performed the printer must be set up for two way communication1 If a file is downloaded under the name Autoexec bat it will be used as a startup file FILE LOAD filename filesize file name the name including the drive you want to assign to the file for example CARD1 MYFILE TXT file s...
Страница 73: ... memory empty string the image will be saved in the volatile memory CACHE and will be deleted at next power up Upon receiving this command the printer waits for the specified number of bytes to be received with a 25 second timeout We recommend that you add the extension 1 or 2 to the image name so that you can tell which directions the image is suited for before you print it out that is IMAGE 1 is...
Страница 74: ...atiowidth no ofrows no ofcol umns truncateflag start parameter specifies first parameter in the command default 1 bar code name specifies bar code 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 security level on...
Страница 75: ...are supported A font may not include all the characters in the current character set as specified by the NASC command If a text field contains a character which is not in the current font then a replacement character will usually be printed instead The replacement character for Speedo fonts is a space while for TrueType fonts it is usually an unfilled rectangle NASC and NASCD tables There are many...
Страница 76: ...t names listed in Chapter 6 11 or the name of a user defined NASC table see later in this chapter NASCD table file the file name of a NASCD table Default NASCD empty string disables double byte interpretation of ASCII strings Double byte fonts As discussed above the ASCII data input to text fields and human readable parts of bar codes can contain a mixture of single byte and double byte codes whic...
Страница 77: ...ified if a NASCD file is specified as otherwise double byte interpretation is disabled Example NASC 1 NASCD CARD1 BIG5 NCD FONT Swiss 721 BT 20 0 FONTD CARD1 CHINESE TTF 20 0 PP 100 100 PT NASCD ON CHR 185 CHR 235 NASCD PP 100 200 PT NASCD OFF CHR 185 CHR 235 PF Double byte fonts can also be used in the human readable parts of barcodes The corresponding commands are BARFONTD BFD fontfilename fonts...
Страница 78: ...rs and determines the mapping of single byte codes in text fields and human readable parts of bar codes A user defined NASC table is specified using the command NASC filename file name the name of a file containing a user defined NASC table Default NASC 1 the built in Roman 8 NASC table is used Such a file can be created using some text editors or by a user written piece of software It can be sent...
Страница 79: ...ingofcharacters string of char an ASCII string specifying all the characters that are to be scaled from the current single and double byte fonts It is inter preted according to the current NASC and NASCD settings Example The 10 digits from a single byte font and the ren character from a double byte font are prescaled NASCD CARD1 BIG5 NCD FONT Swiss 721 BT 50 10 FONTD CARD1 HOMINCHO TTF DIR 2 MAG 2...
Страница 80: ...t label you printed earlier see Chapter 6 9 10 Reset the printhead resistance setting using the command HEAD 1 Upgrading of fonts resets all setup parameters the kilometer counter the head resistance and the instructions LTS ON OFF FORMAT INPUT and PRINTKEY ON OFF The same applies to a firmware upgrade to a higher version number for example v2 01 v2 10 Another way to obtain a similar result is to ...
Страница 81: ...II 127 decimal and ASCII 255 deci mal can only be printed if the selected font contains the characters in question and an 8 bit communication protocol is used If you use 7 bit communication select another national character set see NASC statement in Chapter 6 11 or use a MAP statement to remap a character set see Chapter 6 10 If a character which does not exist in the selected font is used a space...
Страница 82: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 80 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont Roman 8 NASC 1 ...
Страница 83: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 81 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont French NASC 33 ...
Страница 84: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 82 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont Spanish NASC 34 ...
Страница 85: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 83 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont Italian NASC 39 ...
Страница 86: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 84 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont English UK NASC 44 ...
Страница 87: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 85 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont Swedish NASC 46 ...
Страница 88: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 86 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont Norwegian NASC 47 ...
Страница 89: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 87 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont German NASC 49 ...
Страница 90: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 88 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont Japanese Latin NASC 81 ...
Страница 91: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 89 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont Portuguese NASC 351 ...
Страница 92: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 90 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont MS DOS Latin 1 NASC 850 ...
Страница 93: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 91 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont MS DOS Greek 1 NASC 851 ...
Страница 94: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 92 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont MS DOS Latin 2 NASC 852 ...
Страница 95: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 93 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont MS DOS Cyrillic NASC 855 ...
Страница 96: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 94 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont MS DOSTurkish NASC 857 ...
Страница 97: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 95 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont Windows Latin 2 NASC 1250 ...
Страница 98: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 96 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont Windows Cyrillic NASC 1251 ...
Страница 99: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 97 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont Windows Latin 1 NASC 1252 ...
Страница 100: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 98 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont Windows Greek NASC 1253 ...
Страница 101: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 99 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont Windows Latin 5 NASC 1254 ...
Страница 102: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 100 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont Windows Baltic Rim NASC 1257 ...
Страница 103: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 101 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont PCMAP NASC 1 ...
Страница 104: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 102 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont ANSI NASC 2 ...
Страница 105: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 103 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont OCR A BT NASC OCR A NSC ...
Страница 106: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 104 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont OCR B 10 Pitch BT NASC OCR B NSC ...
Страница 107: ...EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 105 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont Zapf Dingbats BT NASC ZAPF NSC ...
Страница 108: ...e 821 BT Monospace 821 Bold BT OCR A BT THE QUICK BROWN FOX JUMPS OVER THE LAZY the quick brown fox jumps over the lazy OCR B 10 Pitch BT THE QUICK BROWN FOX JUMPS OVER THE LAZY the quick brown fox jumps over the lazy Prestige 12 Pitch Bold BT THE QUICK BROWN FOX JUMPS OVER THE LAZY the quick brown fox jumps over the lazy Swiss 721 BT default THE QUICK BROWN FOX JUMPS OVER THE LAZY the quick brown...
Страница 109: ...Character Supplemental Code ADDON5 Industrial 2 of 5 C2OF5IND Industrial 2 of 5 w checksum C2OF5INDC 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 Contain...
Страница 110: ...string buffer 25 Wrong number of parameters 26 Parameter too large 27 Parameter too small 30 Assign to a read only variable 34 File is not open 37 Cutter device not found 38 User break 41 Parameter out of range 43 Memory overflow 58 Field overflow 67 Error from communication channel 78 Not allowed in execution mode 79 Not allowed in a layout 1001 Not implemented 1003 Field out of label 1005 Out of...
Страница 111: ...37 No acknowledge received within specified timeout 1041 Error in fos structure 1042 Internal error in mcs 1054 Error when trying to write to device 1055 Error when trying to read from device 1057 File exists 1058 Transfer ribbon fitted 1059 Cutter does not respond 1061 Wrong type of media 1101 Illegal character in bar code 1102 Illegal bar code font 1103 Too many characters in bar code 1104 Bar c...
Страница 112: ...t name font size in points character slant in degrees BARFONTDSIZE BFSD 9 2 Specifies the font size of a double byte character set in points for printing human readable bar code interpretation BARFONTDSLANT BFLD 9 2 Specifies the slant of a double byte character set font in degrees for printing human readable bar code interpretation BARFONTSIZE BFS 9 2 Specifies the font size for a single byte cha...
Страница 113: ...bling automatic cutting after PRINTFEED execution and optionally adjusting media feed before and after the cutting DATE 4 9 6 3 7 2 Sets or returns the current date optionally in the format specified by the FORMAT DATE command DATEADD 4 9 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 DI...
Страница 114: ...at FORMAT DATE 6 4 Specifies the format of the string returned by DATE F and DATEADD F commands FORMAT INPUT 6 5 Specifies separators for layout variable data entry FORMAT TIME 6 4 Specifies the format of the string returned by TIME F and TIMEADD F commands FORMFEED FF 5 1 Activates the media feed mechanism in order to feed out or pull back a certain length of the media web If the feed length is n...
Страница 115: ...d to height and width MAP 6 10 Changes the ASCII value of a character when received on the standard IN channel or optionally on another specified communication channel NAME DATE 6 4 Enters the preferred month name in return strings of DATE F and DATEADD F NAME WEEKDAY 6 4 Enters the preferred weekday name in return strings of WEEKDAY NASC 6 11 9 2 Selects a national single byte character set NASCD...
Страница 116: ...TSTDIO 6 2 Forces selection of standard IN and OUT communication channels normally automatic SETUP 6 17 Changes the setup using a setup string or setup file SETUP WRITE 6 17 Creates a setup file containing the printer s current setup values or returns the printer s current setup to the host via uart1 SYSVAR 6 13 6 14 6 18 Reads or sets various system variables 7 4 7 6 7 11 TESTFEED 5 1 Slowly feed...
Страница 117: ...IO 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 numbe...
Страница 118: ... of entries no of bytes FORMAT DATE string FORMAT INPUT start separator end separator field separator character filter FORMATTIME 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 va...
Страница 119: ... 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 SETUPWRITE setup filename uart1 SYSVAR parameter value TESTFEED TIME HHMMSS ...
Страница 120: ...D 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 3 Function Syntax Functions cannot stand alone they must be used in conjunction with a command for example PRINT or PRTXT ...
Страница 121: ......
Страница 122: ...mec Printer AB Idrottsvägen 10 P O Box 123 S 431 22 Mölndal Sweden tel 46 31 869500 fax 46 31 869595 www intermec com 1 960419 04 EasyCoder E4 Direct Protocol v2 10 Programmer s Reference Manual 1 960419 04 ...