background image

57

Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3

Chapter 6     Setting Up the Printer

17. Printer Setup,
cont'd.

Setup files

Two commands are used to set a printer up from 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.

SETUP WRITE "<filename>"

<filename>

the full name of the setup file, including stor-
age area, enclosed by double quotation
marks.

You can then select the stored setup file, using the 

SETUP

 com-

mand.

SETUP "<filename>"

<filename>

the full name of the setup file, including stor-
age area, enclosed by double quotation
marks.

Examples:

SETUP WRITE "setup1" 

SETUP "setup3" 

Bar Code Wand

Setting up the printer with the Bar Code Wand does not involve
using Intermec Direct Protocol.

See the EasyCoder 301 Installation and Operation manual for de-
tails on using the Bar Code Wand to set up the printer.

The sensitivity of the LSS ( Label Stop Sensor) can be manually
adjusted to detect gaps or black marks properly. Another way to do
this is to issue a 

TESTFEED

 instruction, but that involves feeding

out labels, which may be undesired in some cases.

The detection range is 0 –31. Increase the value to make the LSS
more sensitive and vice versa. The present threshold value will be
returned on the serial channel using the instruction 

PRINT SYSVAR

(8)

, also see chapter 7.6.

SYSVAR (8) = <threshold value>

<threshold value>

is an integer in the range of 0–31.

18. Setting the
LSS Threshold

Содержание EasyCoder 301

Страница 1: ...EasyCoder301 DirectProtocol2 0 P N 1 960419 02 Edition 3 August 1999 Programmer s Guide ...

Страница 2: ...g Commands 8 3 Fields 10 4 General Formatting Commands 10 5 Field Related Formatting Commands 10 6 Layout Commands 11 7 Printable Data Commands 11 8 Feeding and Printing Commands 12 9 Setting Up the Printer 12 10 Reading Printer s Status 12 11 File Handling Commands 13 12 Syntax Descriptions 13 13 File Storage Devices and File Names 14 4 Label Design 1 Introduction 15 2 General Formatting Commands...

Страница 3: ...g 53 16 Break in Batch Printing 55 17 Printer Setup 55 18 Setting the LSS Threshold 57 19 Enabling Disabling Automatic Cutting 58 7 Reading the Printer s 1 Introduction 59 Status 2 Date and Time 59 3 Memory 59 4 Printhead 60 5 System Counters 60 6 Sensors 61 7 Printer s Status 61 8 Firmware and Hardware Versions 61 9 Label Length 62 10 Gap Length 62 11 Media Light Transmission 62 8 File Handling 1...

Страница 4: ...ronics Data Computer Corp Microsoft MS and MS DOS are registered trademarks of Microsoft Corporation Speedo is a trademark of Bitstream Inc TrueType are registered trademarks of Apple Computer Inc Unicode is a trademark of Unicode Inc Windows is a trademark of Microsoft Corporation 10 Firmware Upgrade 1 Software and Fonts 72 11 Character Set Fonts 1 Character Sets 73 and Bar Codes 2 Resident Fonts...

Страница 5: ...ation 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 you to compose your own error messages in any language Intermec Direct Protoc...

Страница 6: ...l 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 301 Installation and Operation Manual It is possible to set up the printer s communication protocol to fit the host computer as described in the EasyCoder 301 Installation and Opera...

Страница 7: ...rshould respond by immediately returning the version of the installed Inter mec Direct Protocol firmware to the screen of the host e g V2 00 Ok This indicates that the communication is working both ways If the communication does not work turn 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...

Страница 8: ... label ticket tag or piece of strip with the text printed in the lower left corner of the printable area You can try using other characters between the quotation marks in thethirdline especiallytypicalnationalcharacterslikeÅÄÖÜ ç etc If any unexpected characters are printed you may need to se lect another character set see chapter 6 11 or change the commu nication setup from 7 bit to 8 bit charact...

Страница 9: ... information from the printer back 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 Layout Mode Layout Mode is only intended for creating labels Firstly create a layout containing ...

Страница 10: ...PP 75 200 insertion point for text field FT Swiss 721 BT 9 0 select font for text field PT My FIRST label input data to text field PF print one label Layout Mode First create a layout LAYOUT INPUT LABEL1 start layout recorder BF ON enable bar code interpretation BF Swiss 721 BT 9 0 select bar code interpr font PP 10 20 insertion point for box field PX 400 300 10 create a box PP 25 25 insertion poi...

Страница 11: ...eadable interpretation An image i e a picture logo or sign in PCX format A box i e a hollow square or rectangle A line Any type of field should be specified with regard to Position Alignment Direction Depending 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 h...

Страница 12: ...tocol you can either specify the fields both with regard to formatting 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 informa tion When the variable input data are added they will be inserted into their res...

Страница 13: ... 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 messages Select method for breaking t...

Страница 14: ... the explanations of the various com mand that follow both the full name and the shorthand version will be shown separated by a thin vertical line e g PRPOS PP Upper and lower case characters can be used at will in commands Parameters for commands are shown like this parameter numeric value parameter alphanumeric text enclosed by double quo tation marks Compulsory space characters are indicated by...

Страница 15: ...se errors FILE LOAD ROM NEWFILE 123 COPY RAM OLDFILE CARD1 NEWFILE if CARD1 contains a font cartridge KILL CARD2 OLDFILE if CARD2 contains a font cartridge In contrast RAM and DOS formatted cards in CARD1 or CARD2 are read write devices which support all file operations When using a Direct Protocol command which has the name of an existing file as a parameter you can specify the device name before...

Страница 16: ...e field is a picture drawing logo or other type of illustration in bitmap format Box Field A box field is a square or rectangular paper coloured 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 paper web A short but thick line can look like a black box There are no...

Страница 17: ...d or after the preceding PRINTFEED Coordinates Starting from the origin the X axis runs across the paper web from left to right as seen when facing the printer and the Y axis runs along the paper web from the printhead towards the back of the printer Units of Measurement The unit of measurement is always dots i e all measures depend on the density of the printhead The EasyCoder 301 has an 8 dots m...

Страница 18: ...here are 8 anchor points along the borders and one in the centre numbered 1 9 as shown in this illus tration ThedesiredanchorpointisspecifiedbymeansoftheALIGN command ALIGN AN anchor point 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 ...

Страница 19: ... 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 paper web and upside down with respect to the way the paper is fed out of the printer Thisillustrationsummarizesthethreegeneralformattingco...

Страница 20: ...wing 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 scalable font to use and the height and the italic angle with which the characters will be printed FONT FT font file name font size font slant font file name the name of a Speedo or TrueType font file and must be enclosed by do...

Страница 21: ...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 Previous EasyCoder printers contained bitmapped fonts i e fonts scaled with a fixed size and slant1 To provide backward compat ibility the EasyCoder 301 provides FONT commands to select the equivalent combinations of font file name size and slant Old EasyCode...

Страница 22: ...height and the 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 background NOR IMAGE Using INVIMAGE the printing can be inver...

Страница 23: ...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 on Black on white ...

Страница 24: ...The type of bar code is specified by a BARTYPE command con taining 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 accord ing to the list below it must be enclosed by double quotation marks Default INT2OF5 Reset to default by PRINTFEED PF Bar Code Abbreviation Coda...

Страница 25: ...igits 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 the height of the bars in dots Default 100 Reset to default by PRINTFEED...

Страница 26: ...agnification magnification the enlargement factor of the bar code pat tern Default 2 Reset to default by PRINTFEED PF Bar Codes combined command The BARSET command is primarily intended for complex 2 di mensional codes see chapter 9 1 but can also be used to specify more simple bar codes by means of a single command BARSET code name ratio wide bars ratio narrow bars magn height code name specifies...

Страница 27: ...offset distancebetweenbarcodeandinterpretation 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 commands BARFONTSIZE BFS font si...

Страница 28: ...cases default values may substitute missing pa rameters Input data and printing commands are explained in chap ters 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 Select BARSET see above Can be replaced by BT BH BR BM Human Readable BF ON Off Can be omitted Examples PP 1...

Страница 29: ...er s memory either as plain text or as a variable also see chap ter 4 9 PRIMAGE PM image name image name the full name and storage location of the im age 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 print directions 2 a...

Страница 30: ...PRINTFEED PF Summary To create an image field the following formatting commands must be given in most cases default values may substitute missing para meters 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 1...

Страница 31: ...with regard to height width and line weight thickness PRBOX PX height width line thickness height the height of the box in dots perpendicular to the selected direction width the length of the box in dots along the se lected 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 sub...

Страница 32: ...ine weight thickness PRLINE PL length line thickness length the length of the line in dots along the se lected 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 para meters Printing commands are explained in chapter 5 2 Purpose Command Default Remarks X Y Pos...

Страница 33: ... 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 Example...

Страница 34: ... 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 separator By default the following separators should be used Start separator ...

Страница 35: ...ent parts are separated by semicolons Note that plain text must be enclosed by double quotation marks PRTXT PT input data input data 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 bar code field using a PRBAR com mand You can ad...

Страница 36: ...e of a counter and use it as input data by including a reference to the counter in the PRTXT or PRBAR commands in the form of a variable CNT Counter No Counter No the number assigned to the counter in the COUNT command Example PT Label number CNT1 PB CNT2 Input Data from the Printer s Clock Calendar The printer s clock calendar can be used to provide input data for text and bar code fields by incl...

Страница 37: ...at specified by FORMAT DATE see chapter 6 4 Example PT DATE F TIME Returnsthecurrenttimeaccordingtotheprinter sclockinthestand ard date format HHMMSS where HH is the hour 00 24 MM is the minute 00 59 and SS is the second 00 59 Example PT TIME TIME F Returns the current time according to the printer s clock in the for mat specified by FORMAT TIME see chapter 6 4 Example PT TIME F WEEKDAY date Retur...

Страница 38: ... number of days to the current date or optionally to a specified date original date optional it is entered in the standard date format YYMMDD Note that the original date must be enclosed by double quotation marks number of days the number of days to be added to or sub tracted from the current date or optionally thedatespecifiedby originaldate Incase of subtraction the number of days should be prec...

Страница 39: ...ered in the standard date format HHMMSS Note that the original time must be enclosed by double quotation marks number of secs the number of seconds to be added to or sub tracted from the current time or optionally the moment of time specified by original time In case of subtraction the number of secs should be preceded by a minus sign F an optional flag specifying that the result should be returne...

Страница 40: ...ardware error occurs Does not work with var length strip and fix length strip In case of label lengths exceeding 24 cm 9 5 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 paper is fed past the printhead by a rubber coated roller driven by a stepper motor The firmware can control the stepper motor with an acc...

Страница 41: ...operation is decided by the 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 partofanimageisalsoregardedasaprintableobject The amountofpaperfedbyFORMFEEDisdecidedbytheMediaSize Length setup The Detection setup allows you to perform two global adjustments to the paper feed des...

Страница 42: ...is i e along the paper web Printing Commands When a PRINTFEED command is issued the software processes all previously entered text fields bar code fields image fields box fields and line fields into a bitmap pattern The bitmap pattern con trols the heating of the printhead dots as the paper is fed past them Each PRINTFEED command produces one single copy or option ally a batch of labels tickets ta...

Страница 43: ...out the lay out 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 consideration Using command abbreviations e g PF instead of PRINTFEED improves the performance Themoreprocessingalabelrequires thesloweritwillbeprint...

Страница 44: ...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 state ment must include a reference to a field 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 FIELDNO field the same alphanumeri...

Страница 45: ...and disables the use of layouts and vari able 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 channels manually as standard IN an...

Страница 46: ...cur error1010 Hard ware 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 thecurrentdateinthestandardformat where...

Страница 47: ...efault YYMMDD Examples FORMAT DATE YYYY MM DD gives e g 1999 06 01 FORMAT DATE DD MM YY gives e g 01 06 99 FORMAT TIME string H Hourin24 hourcycle onedigitperH 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 uppercase in 12 hour cycle one character per P left justified p am pm lowercas...

Страница 48: ...f weekday 1 Monday 7 Sunday name of weekday the desired name enclosed by double quota tion marks Default Full English names e g Monday When transmitting variable input data to a predefined layout the string must contain certain separating characters By default you should use STX as start of text separator CR as field separa tor and EOT as end of text separator However theFORMAT INPUTcommand allows...

Страница 49: ...set value There are various commands for creating a counter and specifying 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 Start Value COUNT START counter number start value start value is the first value to be printed positive or negative Negative ...

Страница 50: ... over again after having exceeded the STOP value Default 1 or A All 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 up print ing until the label has been removed This facility is especially use ful for batch printing You can enable or disable this function by means of the following command The setting is saved in the ...

Страница 51: ...o 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 requirements completely see NASC below select the set that comes closest and modify it using MAP commands Mapping will be saved even during power up or reboot MAP device original ASCII valu...

Страница 52: ...e name char set no Character set 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 Ce...

Страница 53: ...that you require the MAP command can be used to asign that character to a different ASCII value see chapter 6 10 The NASC setting is not reset by PRINTFEED PF nor by turning the printer off Once a NASC command has been issued it affects the printed appearance of characters in any subsequent text field but not in those text fields which have already been processed and stored in the print buffer The...

Страница 54: ...r number string e g Error 19 Invalid font value 3 E number e g E19 value 4 Error number e g Error 19 By default the Intermec Direct Protocol error handler handles four error conditions Out of paper Head lifted Out of transfer ribbon Next label not found All other errors are ignored unless specified by an ERROR com mand When an error occurs the standard IN channel is flagged as busy andthePowerLEDc...

Страница 55: ... lifted The printer waits for the printhead to be lowered then a formfeed is performed If the error stopped a print operation the operation will be restarted automatically 1027 Out of transfer ribbon if thermal transfer printing is selected 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 if direct therma...

Страница 56: ... centronics parallel communication chan nel IN channel only break char is the ASCII decimal value of the desired break character default on both channels ASCII 03 dec BREAK device ON OFF device the same parameter as in the BREAK com mand Default Communication channels disabled The parameters in SETUP mode determine how the printer works There are three ways to change the printer s setup Setup stri...

Страница 57: ... DISABLE SETUP SER COM UART1 FLOWCONTROL XON XOFF DATA_FROM_HOST ENABLE DISABLE SETUP SER COM UART1 NEW_LINE CR LF LF CR SETUP DETECTION LSS_ADJUST n nnn SETUP DETECTION FEEDADJ STARTADJ nnnn SETUP DETECTION FEEDADJ STOPADJ nnnn SETUP SERVICE MEDIA_SIZE XSTART nnn SETUP SERVICE MEDIA_SIZE WIDTH nnnn SETUP SERVICE MEDIA_SIZE LENGTH nnnn SETUP SERVICE MEDIA_TYPE LABEL_ w_GAPS TICKET_ w_MARK TICKET_ ...

Страница 58: ...otation marks Examples SETUP WRITE setup1 SETUP setup3 Bar Code Wand Setting up the printer with the Bar Code Wand does not involve using Intermec Direct Protocol See the EasyCoder 301 Installation and Operation manual for de tails on using the Bar Code Wand to set up the printer The sensitivity of the LSS Label Stop Sensor can be manually adjusted to detect gaps or black marks properly Another wa...

Страница 59: ...acking paper between labels no cutter is presently available for the Easy Coder 301 LinerLess model As an alternative to issuing separate CUT instructions see 5 1 you can enable or disable automatic cutting in connection with each PRINTFEED operation By default automatic cutting is disabled The amount of paper to be fed out before automatic cutting and be pulled back afterwards can optionally be s...

Страница 60: ...t 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 clock calendar 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 FUNCTEST command FUNCTEST RAM R...

Страница 61: ...e 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 detected since last startup paramet...

Страница 62: ... 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 com mand PRSTAT AND 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 e g 3 ...

Страница 63: ...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 range 0 31 where 0 is maxi mum refle...

Страница 64: ...D1 CARD2 Returns the names of all the files in the printer s RAM memory by default if no storage device is specified or optionally in the ROM memory ROM or in an inserted DOS formatted memory card CARD1 CARD2 It will also return information on the size of each file and the total number of used bytes in the RAM memory When images are loaded using IMAGE LOAD they can either be loaded into the printe...

Страница 65: ...command to give the copy a new name COPY CARD1 CARD2 original name CARD1 CARD2 new name The filename can be up to 30 characters Since files will be copied to the RAM memory by default it is not necessary to specify RAM Example COPY CARD1 Logo 1 LOGO 1 Binary files e g font files can be downloaded to the printer s RAM memory using the FILE LOAD command Before the transfer can be performed the print...

Страница 66: ...ry empty string the image will be saved in the volatile memory 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 i e IMAGE 1 is suited for dir...

Страница 67: ...mns truncate flag 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 only used in PDF417 and Maxicod...

Страница 68: ...Unicoded fonts 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 characterwillusuallybeprintedinstead Thereplacementcharacter for Speedo fonts is a space while for TrueType fonts it is usually an unfilled rectangle NASC and NASCD tables There ...

Страница 69: ...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 which are mapped to unicodes by the NASC a...

Страница 70: ...o be used in the human readable parts of barcodes The corresponding commands are BARFONTD BFD font file name font size font slant font file name the file name of the double byte font to be use font size the height of the font in points Default 12 font slant the italic angle of the font in degrees clock wise Default 0 Reset to default by PRINTFEED PF The bar code font size and slant can be specifie...

Страница 71: ...e 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 to the printer using the FILE LOAD command see page 65 or copied onto a MSDOS formatted memory card which can be inserted in one of the printer s PCMCIA slots It is a binary file 516 bytes long with the following format Byte 0 N Byte 1 S ...

Страница 72: ...S string of characters 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 interpreted ac cordingtothecurrentNASCandNASCDset tings 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 ...

Страница 73: ...ds Flash amber Continuous amber Flash amber Continuous amber Green 5 Switch off the printer 6 Remove the card 7 Insert the next card if necessary and repeat steps 4 6 8 Switch on the printer 9 Enter the settings shown on the test label you printed earlier see chapter 6 9 10 Reset the printhead resistance setting using the command HEAD 1 1 This chapter refers to cards containing fonts which will be...

Страница 74: ...s in question Characters between ASCII 127 decimal and ASCII 255 deci mal can only be printed if the selected font contains the charac ters 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 state ment to remap a character set see chapter 6 10 If a character which does not exis...

Страница 75: ...74 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d Roman 8 NASC 1 ...

Страница 76: ...75 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d French NASC 33 ...

Страница 77: ...76 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d Spanish NASC 34 ...

Страница 78: ...77 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d Italian NASC 39 ...

Страница 79: ...78 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d English UK NASC 44 ...

Страница 80: ...79 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d Swedish NASC 46 ...

Страница 81: ...80 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d Norwegian NASC 47 ...

Страница 82: ...81 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d German NASC 49 ...

Страница 83: ...82 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d Japanese Latin NASC 81 ...

Страница 84: ...83 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d Portuguese NASC 351 ...

Страница 85: ...84 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d MS DOS Latin 1 NASC 850 ...

Страница 86: ...85 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d MS DOS Greek 1 NASC 851 ...

Страница 87: ...86 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d MS DOS Latin 2 NASC 852 ...

Страница 88: ...87 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d MS DOS Cyrillic NASC 855 ...

Страница 89: ...88 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d MS DOS Turkish NASC 857 ...

Страница 90: ...89 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d Windows Latin 2 NASC 1250 ...

Страница 91: ...90 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d Windows Cyrillic NASC 1251 ...

Страница 92: ...91 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d Windows Latin 1 NASC 1252 ...

Страница 93: ...92 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d Windows Greek NASC 1253 ...

Страница 94: ...93 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d Windows Latin 5 NASC 1254 ...

Страница 95: ...94 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d Windows Baltic Rim NASC 1257 ...

Страница 96: ...95 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d PCMAP NASC 1 ...

Страница 97: ...96 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes 1 Character Sets cont d ANSI NASC 2 ...

Страница 98: ...97 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes OCR A BT NASC OCR A NSC 1 Character Sets cont d ...

Страница 99: ...98 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes OCR B 10 Pitch BT NASC OCR B NSC 1 Character Sets cont d ...

Страница 100: ...99 Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 Chapter 11 Character Sets Fonts and Bar Codes Zapf Dingbats BT NASC ZAPF NSC 1 Character Sets cont d ...

Страница 101: ...esident Fonts Century Schoolbook BT Dutch 801 Roman BT Dutch 801 Bold BT Futura Light BT Letter Gothic 12 Pitch BT Monospace 821 BT Monospace 821 Bold BT OCR A BT OCR B 10 Pitch BT Prestige 12 Pitch Bold BT Swiss 721 BT default font Swiss 721 Bold BT Swiss 721 Bold Condensed BT Zapf Dingbats BT Zurich Extra Condensed BT ...

Страница 102: ...ive 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 Con...

Страница 103: ...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 paper 1009 Invalid parameter 1010 Hardware error 1011 I O er...

Страница 104: ... 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 code too large 1105 Bar code parameter error 1106 Wrong number of characters 110...

Страница 105: ...rinting human readable bar code interpretation BARFONTDSLANT BFLD 9 2 Specifiestheslantofadouble bytecharactersetfontindegrees for printing human readable bar code interpretation BARFONTSIZE BFS 9 2 Specifies the font size for a single byte character set font in points for printing human readable bar code interpretation BARFONTSLANT BFL 9 2 Specifiestheslantofasingle bytecharactersetfontindegrees ...

Страница 106: ... 4 2 Specifies the print direction ERROR 6 15 Defines error messages and enables the error handler for specified error conditions FIELDNO 5 3 Gets the current field number for partial clearing of the print buffer by a CLL command FILE LOAD 8 4 Receivesandstoresbinaryfilesintheprinter sRAMmemory FILES 8 1 Lists the files stored in one of the printer s directories to the standard OUT channel RAM is ...

Страница 107: ... 7 4 Returns the result of a printhead check and sets printhead resistance IMAGE LOAD 8 5 Receivesandstoresimagefilesin PCXformateitherinthefile system or in volatile memory IMAGES 8 1 Returnsthenamesofallimagesstoredintheprinter smemory to the standard OUT channel INPUT ON 6 1 SetsSYSVAR 18 to0andenableslayoutsanduseofvariable data fields INPUT OFF 6 1 RestoresSYSVAR 18 anddisableslayoutsanduseof...

Страница 108: ...nablesfeedingofablanklabelwhentheFeedkeyispressed PRINTFEED PF 5 2 Printsandfeedsoutoneoraspecifiednumberoflabels tickets tags or portions of strip according to the printer s setup PRLINE PL 4 7 Draws a solid rectangle PRPOS PP 4 2 Specifes the insertion point for a line of text a bar code an image a box or a line PRSTAT 7 7 Returns the printer s current status PRTXT PT 4 9 Provides the input data...

Страница 109: ...turnsanewtimeafteranumberofsecondshavebeenadded to orsubtractedfrom thecurrenttimeoroptionallyaspecified time VERSION 7 8 Returnstheversionofthefirmware printerfamily ortypeof CPU board WEEKDAY 4 9 Returns the name of the weekday for a specified date WEEKNUMBER 4 9 Returns the number of the week for a specified date 1 Commands Alphabetical cont d ...

Страница 110: ...ON OFF CLEANFEED length in dots CLL variable name COPY ram card1 card2 original filename ram card1 card2 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 ...

Страница 111: ... 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 PRLIN...

Страница 112: ... number DATE F DATEADD original date number of days F FRE 1 FUNCTEST rom1 rom2 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 Funtions cannot stand alone they must be used in conjunction with a command e g PRINT PRTXT ...

Страница 113: ...Intermec EasyCoder 301 Direct Protocol 2 0 Programmer s Guide Ed 3 112 Notes ...

Отзывы: