background image

PROGRAMMER’S REFERENCE MANUAL 

Appendix B, Binary Intelhex Records 

 

 

 

 

Page 70 

 

French character set (7-bit) 

 

0 1 2 3 4 5 6 7 8  9  A

B

C

D  E  F 

   0 à P ` p 

Ç

É

á 

 

_  Ó 

 

  ! 1 

A Q a q 

ü  æ

í 

 

_  Ð  ß 

 

  " 2 

B R b r 

é  Æ

ó 

 

_  Ê  Ô 

 

  £ 3 

C S c s 

â 

ô 

ú 

 

_  Ë  Ò  ¾ 

  $ 4 

D T d t 

ä 

ö 

ñ 

 

 

È  õ 

 

 § % 5 E U e u 

à 

ò  Ñ

Á

 

 

Õ 

 

  & 

6 F 

V

f v 

å 

û 

 

Â

ã 

Í 

μ

 

 

    '  7 G W g w

ç 

ù 

 

À

Ã

Π

þ 

 

  ( 8 

H X h x 

ê 

ÿ 

 

©

 

Ï 

Þ 

°

 

  ) 9 I Y

i y 

ë  Ö

®

 

 

 

Ú 

 

  * : J Z

j z 

è  Ü

 

 

 

 

Û 

 

  + ; K ° k é 

ï 

ø  ½

 

 

 

Ù 

 

  , < 

L

ç l ù 

î 

£  ¼

 

 

 

ý 

 

  - = 

M § 

m è 

ì  Ø

 

 

 

 

Ý 

² 

  . > 

N ^ n ~ 

Ä

 

 

 

 

Ì 

 

 

  / ? 

O _ o 

„

Å

 

 

 

 

 

 

 

Norwegian/Danish character set (7-bit) 

 

0 1 2 3 4 5 6 7 8 

9  A

B

C

D  E  F 

   0 

@ P ` p 

Ç

É

á 

 

_  Ó 

 

  ! 1 

A Q a q 

ü  æ

í 

 

_  Ð  ß 

 

  " 2 

B R b r 

é  Æ

ó 

 

_  Ê  Ô 

 

  # 3 

C S c s 

â 

ô 

ú 

 

_  Ë  Ò  ¾ 

  $ 4 

D T d t 

ä 

ö 

ñ 

 

 

È  õ 

 

 § % 5 E U e u 

à 

ò  Ñ

Á

 

 

Õ 

 

  & 

6 F 

V

f v 

å 

û 

 

Â

ã 

Í 

μ

 

 

    '  7 G W g w

ç 

ù 

 

À

Ã

Π

þ 

 

  ( 8 

H X h x 

ê 

ÿ 

 

©

 

Ï 

Þ 

°

 

  ) 9 I Y

i y 

ë  Ö

®

 

 

 

Ú 

 

  * : J Z

j z 

è  Ü

 

 

 

 

Û 

 

  + ; K Æ k 

æ

ï 

ø  ½

 

 

 

Ù 

 

  , < 

L Ø

l ø 

î 

£  ¼

 

 

 

ý 

 

  - = 

M Å m å 

ì  Ø

 

 

 

 

Ý 

² 

  . > 

N ^ n ~ 

Ä

 

 

 

 

Ì 

 

 

  / ? 

O _ o 

„

Å

 

 

 

 

 

 

 

Summary of Contents for MP-Compact4

Page 1: ...Command Language L A B E L P O I N T Programmer s Reference Manual English Compact Nova Thermal Printers...

Page 2: ...either wholly or in part without the consent of Datamax In no event will Datamax be liable for direct indirect special incidental or consequential damages resulting from any defect in the software or...

Page 3: ...s 20 Code 128 22 RSS 23 RSS 14 23 RSS 14 Truncated 23 RSS Limited 23 RSS Expanded 23 MaxiCode 24 Structured Carrier Message 24 Modes 24 Escape Sequences 25 Data encodation 25 Structured Append 25 Code...

Page 4: ...led 37 I2 C board installed 37 Cutter installed 37 Black mark photocell 37 PHD board installed 37 Barcode displacement 52 HTML version 53 Text version 53 Document start 54 Document end 54 Cutter mode...

Page 5: ...cter set 7 bit 71 Code page 861 MS DOS Icelandic 72 Code page 1252 Windows Latin 1 ANSI 73 Code page HP Roman 8 74 Code page 852 MS DOS Latin 2 Central Europe 74 Code page 1250 Windows Latin 2 Central...

Page 6: ...manipulated in the host computer This also avoids problems with control characters that some computer systems reserve for internal use Labelpoint features Easy to use command language Prints text bar...

Page 7: ...II 1310 0D16 When an end of line character is received the line of data received is interpreted If the line begins with the command character it is treated as a command A command line starts with an c...

Page 8: ...paper with the top of the characters appearing first Up vector E east is turned 90 clockwise so that the left most character of the text is the first to appear etc The position of a field on the paper...

Page 9: ...nged Variable text can be entered for each printout of a layout without changing the layout When the label layout with fixed data has been loaded in the printer the variable data i e text that changes...

Page 10: ...10 0 94021 PRICE 65 00 F T N 250 100 L 10 0 94021 SIZE 42 F C N 450 100 L 150 2 41 65 00 F B N 120 90 L 80 240 P When sending this layout to the printer you ll get a 5 x 4 cm label with a black box at...

Page 11: ...parameters have the following meanings u Defines the direction of printing as the up direction of the printed characters One upper case character N E S or W b The baseline of the field in 1 10 mm p T...

Page 12: ...94023 Univers Bold Italic emulated 1 94024 Univers Condensed Medium 2 94029 Univers Condensed Italic emulated 2 94039 Univers Condensed Bold 2 94030 Univers Condensed Bold Italic emulated 2 94040 CG T...

Page 13: ...name PCL typeface number Arial emulated 24459 Arial Italic emulated 24460 Arial Bold emulated 24461 Arial Bold Italic emulated 24462 Times New Roman emulated 24455 Times New Roman Italic emulated 244...

Page 14: ...d characters One upper case character N E S or W b The baseline of the field in 1 10 mm p The position in 1 10 mm a The alignment relative to the position One upper case character L left end of the fi...

Page 15: ...riable text reference has the form n V where n is the number of the variable Counters A counter reference has the form n C where n is the number of the counter Date and time Date and time can be retri...

Page 16: ...ed by the use of parameter 185 which specifies what day in the month to update the best before date The syntax of the label data does not need to be changed See the following example where parameter 1...

Page 17: ...of text lines that are to be printed in the same font Example F T N 100 100 L 12 0 94021 Printer S TERIGATAN 20 S 417 64 G TEBORG Sweden Note If a or character is to be printed it must be entered twic...

Page 18: ...PROGRAMMER S REFERENCE MANUAL Label layout definition commands Page 14 200 Y162 0 Turn off reverse video mode P...

Page 19: ...e upper case character L left end of the field aligned at p R right end of the field aligned at p C the field is centred around p h The height of the bars of the code in 1 10 mm w The width expansion...

Page 20: ...le length If a check digit is required it can be inserted with the Z command The code must contain an even number of digits The printer will therefore insert a leading 0 if necessary If the 2 1 ratio...

Page 21: ...ded by adding 2 or 5 digits to the input data 33 EAN 8 Numeric code Requires 7 digits of input data The printer automatically appends the check digit 34 UPC E Numeric code Requires 6 digits of input d...

Page 22: ...eric code Encodes up to 14 digits of numerical data See the RSS section for more information 68 RSS Expanded All 128 ASCII characters plus the FNC1 control character Encodes up to 74 numeric or 41 alp...

Page 23: ...C u b p a h w s o text Note Parameters enclosed in are required and parameters enclosed in are optional The parameters have the following meaning u Defines the direction of printing as the up directi...

Page 24: ...code variable length w is the expansion factor w 1 means a dot width of 0 25 mm h is not currently used and should be set to the same value as w 91 Royal Mail 4 State Customer Code RM4SCC Stacked barc...

Page 25: ...ich can encode about 100 characters of data in an area of 28x27 mm Modes 2 and 3 are optimized for encoding postal address information Mode 4 is used for encoding arbitrary data Mode 5 employs enhance...

Page 26: ...lower case character in the ASCII range 4016 to 7E16 6410 to 12710 will be recognised Example J or j is interpreted as the line feed character or is interpreted as the ESC character ASCII 27 1B16 The...

Page 27: ...on of the height to 13X The normal RSS 14 symbol has a height of 33X X equals X dimension or narrow bar width The check digit is added by the printer Example F C S 200 1000 L 80 4 64 1541215000015 RSS...

Page 28: ...ection 1234 x1d Shipment ID Number 1 1 x1d Package n x 10 x1d Package Weight Y x1d Address Validation S TERIGATAN 20 x1d Ship To Street Address G TEBORG x1d Ship To City N A x1e Ship To State x04 End...

Page 29: ...ter sets This means that fewer symbols can be used to encode the real data This must be considered so that data is not truncated If the data consist of more than nine consecutive numbers they are comp...

Page 30: ...CR carriage return ASCII 0D hex in the code send the escape sequence 0D The escape character and the double quote must be sent as escape sequences if they are to be encoded ie 5C and 22 resp The data...

Page 31: ...PROGRAMMER S REFERENCE MANUAL Label layout definition commands Page 27 V61 n where n is the desired security level For example to set the security level to 6 enter the command V61 6...

Page 32: ...l M Standard Level Q High Reliability Level H Ultra High Reliability Level Masking pattern The masking pattern is usually automatically selected but can be set manually The escape sequence is M n wher...

Page 33: ...nvenience which allows lines and boxes to be specified the same way text and bar code fields are specified b The baseline of the field in 1 10 mm p The position in 1 10 mm a The alignment relative to...

Page 34: ...e character L left end of the field aligned at p R right end of the field aligned at p C the field is centered around p h The height expansion of the original graphics file 1 16 w The width expansion...

Page 35: ...int button is pressed before the next print command is received Clearing the label format or the variable data prevents printing copies Example 1 C F T N 100 100 L 10 0 94021 Type 1V Serial no 1C Date...

Page 36: ...ts to 1 The counters are updated after each label printed If the time or date is printed it is updated for each label Copies of the last label can be printed by pressing the print button until the R o...

Page 37: ...ion is necessary as described below Label not removed LTS 1 Label has not been removed The printer cannot continue to print until the label has been taken Printer restarted If this flag is set it mean...

Page 38: ...g was complete either because a label gap occurred or because the printer has run out of paper This means that some information may be missing from the printout Cool down state When printing large bat...

Page 39: ...sed label stock not used internal print button active not used operating parameters error not used not used Operating parameters error The printer configuration memory is corrupt Use Service command V...

Page 40: ...4 assembles some of the most commonly needed status flags in one command Out of paper Described above Label not removed LTS Described above Out of ribbon Described above Head lifted 1 Print head is l...

Page 41: ...ning and has been initialized For Nova models this flag is normally always set meaning the I2 C connected board is functioning properly If not there might be some problem with the I2 C bus connection...

Page 42: ...s with a string of the form L412 0 Deprecated Use V9 instead 17 m Total paper movement The printer responds with the amount of paper it has printed If parameter m is omitted the printer responds with...

Page 43: ...eived from print head diagnostics PHD The PHD functionality is an extra harware option for Compact models but default for Nova models 34 m Used in combination with service command 33 to get the positi...

Page 44: ...r typeface name 81 m Show TrueType typeface by index m The response is a string in the form typeface number typeface name 93 m If m is omitted the total number of dormat printouts that have been print...

Page 45: ...arameter m is omitted then all files are deleted m 2 Delete graphic files m 3 Delete macro files m 6 Delete rasterized fonts 3196 Restart The printer is restarted from the power up state This command...

Page 46: ...or the built in webserver in the printer See section configuration menu below Get current value X i The printer responds with the current value of the parameter i followed by a carriage return charact...

Page 47: ...orrect value will give a distorted printout and cause labels to stop at the wrong position 84 5 n Print head width in number of dots This parameter should be 832 for Compact 203 dpi head 1280 for Comp...

Page 48: ...ues for n are 1 2 Default is 1 bit 295 n Input buffer size for COM2 in bytes The input buffer is used to store incoming data when data arrives faster than it can be processed Its size is usually not i...

Page 49: ...1251 Windows Cyrillic Slavic 16 1253 CP 1253 Windows Greek 17 1254 CP 1254 Windows Latin 5 Turkish 18 1257 CP 1257 Windows Latin 6 Baltic Rim 21 8591 ISO 8859 1 subset of CP 1252 22 8592 ISO 8859 2 36...

Page 50: ...Get type of applicator 0 None 3 Blow Wipe TampLong 623 Printer production year two digits 633 Printer serial number 66 n Enable application When Application Center is used this parameter must be set f...

Page 51: ...are 0 1 and they are interpreted as follows 0 Command character must be first on the line default 1 Command character can be anywhere on the line 92 n Stacked printers mode daisy chaining Used when s...

Page 52: ...sure that the whole previous printout is printed Valid values for n are 0 1 and they are interpreted as follows 0 recover page disabled 1 recover page enabled default 136 n PDF code security level Val...

Page 53: ...for further information 1534 n TCP port for COM2 Valid when communication mode is set to terminal server mode See parameter 152 See section Communication ports for further information 156 n Flow contr...

Page 54: ...2 black mark sensor 3 inverted black mark sensor Compact only 1684 n Historic control mode When enabled historic strobes will automatically be calculated during printout Valid values for n are 0 1 an...

Page 55: ...month to do the update Default is 0 which will update the best before date every day It is not recommended to use a value of n 28 for obvious reasons See Best before date for more information 186 n B...

Page 56: ...them unreadable To avoid unreadable barcodes due to failing dots Labelpoint supplies a possibility to move the north and south oriented barcode fields in east and west directions until the white stri...

Page 57: ...ternet Explorer and enter the printer s IP address in the address bar of the browser A configuration menu with most of the common parameters will be shown Note The first time apply is pressed a prompt...

Page 58: ...nds are needed but for some situations there are commands to further control the cutter Document start D D S Document end D D E The document commands enables Labelpoint to optimize the print process I...

Page 59: ...end the command D T A Cutting command To execute a cut when in manual cutting mode send the command D T T For backwards compatibility with Mk2 printers the old cut command T can be used Label taken se...

Page 60: ...n with the printer more straightforward It contains high level calls like SendLayout SendVariable PrintLabel etc Network printer To be able to use the printer in a network an IP address must be specif...

Page 61: ...d must be enclosed in double quotes If a macro with the same name already exists in the internal memory it will be deleted and the new macro loaded in its place Case is not significant in macro names...

Page 62: ...er and graphics information For a description of the graphics header see Appendix A Data format Loading a graphics file The command for loading a graphics file is L G name where name is the name to be...

Page 63: ...an w digits the excess digits are discarded If w 0 the value of the counter is printed without leading zeroes up to 9 digits u update interval i e the number of labels to print before the counter is u...

Page 64: ...t to position the label for tear off The label may then be retracted before printout The parameter Y100 n will cause the printer to automatically retract the paper n tenths of mm before each print out...

Page 65: ...n with the printer is possible the host can send the status request commands described above The status request should be sent before each print command to verify that there is paper in the printer an...

Page 66: ...use a media position sensor MPS which contains two different types of sensors The first type has the same function as a regular photo sensor In the MPS two sensors of this type exists but at differen...

Page 67: ...cations have the following meanings Green Normal operation Flashing green Firmware update of I2C board in progress Note Nova models only Yellow Printer is starting up or is in diagnostics mode Note No...

Page 68: ...d by a carriage return character Each byte of data is transmitted as two hex characters 0 9 A F with the high order character transmitted first The record format is ll aaaa tt dd dd dd xx Spaces are s...

Page 69: ...AL Appendix A Intelhex Records Page 65 End record This record must be the last record in a transfer Ll 00 aaaa 0000 not used Tt 01 Since the address field is not used by the printer the end record alw...

Page 70: ...ecifies the height and width of the logo offset contents 0 1 0A 00 2 3 height of the pattern in dots 4 5 width of the pattern in dots 6 7 00 00 8 9 Row length the number of bytes stored for each row o...

Page 71: ...h address and data bytes L A D and C are binary data However data bytes below 20 hex must be transformed to non control characters by shift control characters so that the resulting data is always betw...

Page 72: ...2 2 B R b r 3 3 C S c s 4 4 D T d t 5 5 E U e u 6 6 F V f v 7 7 G W g w 8 8 H X h x 9 9 I Y i y A J Z j z B K k C L l D M m E N n F O _ o Swedish Finnish character set 7 bit 0 1 2 3 4 5 6 7 8 9 A B C...

Page 73: ...B R b r _ 3 3 C S c s _ 4 4 D T d t 5 5 E U e u 6 6 F V f v 7 7 G W g w 8 8 H X h x 9 9 I Y i y A J Z j z B K k C L l D M m E N n F O _ o UK character set 7 bit 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 0 P...

Page 74: ...r _ 3 3 C S c s _ 4 4 D T d t 5 5 E U e u 6 6 F V f v 7 7 G W g w 8 8 H X h x 9 9 I Y i y A J Z j z B K k C L l D M m E N n F O _ o Norwegian Danish character set 7 bit 0 1 2 3 4 5 6 7 8 9 A B C D E F...

Page 75: ...R b r _ 3 3 C S c s _ 4 4 D T d t 5 5 E U e u 6 6 F V f v 7 7 G W g w 8 8 H X h x 9 9 I Y i y A J Z j z B K k C L l D M m E N n F O _ o Italian character set 7 bit 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 0...

Page 76: ...Intelhex Records Page 72 Code page 861 MS DOS Icelandic 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 0 P p 1 1 A Q a q 2 2 B R b r 3 3 C S c s 4 4 D T d t 5 5 E U e u 6 6 F V f v 7 7 G W g w 8 8 H X h x 9 9 I Y...

Page 77: ...age was previously called DEC Multi national which means ISO 8859 1 ANSI 1252 is superset of ISO 8859 1 with characters between 80 and 9F added 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 0 P p 1 1 A Q a q 2 2...

Page 78: ...3 C S c s 4 4 D T d t 5 5 E U e u 6 6 F V f v 7 7 G W g w 8 8 H X h x 9 9 I Y i y A J Z j z B K k C L l D M m E N n F O _ o Code page 852 MS DOS Latin 2 Central Europe 0 1 2 3 4 5 6 7 8 9 A B C D E F...

Page 79: ...a q 2 2 B R b r 3 3 C S c s 4 4 D T d t 5 5 E U e u 6 6 F V f v 7 7 G W g w 8 8 H X h x 9 9 I Y i y A J Z j z B K k C L l D M m E N n F O _ o Code page 855 MS DOS Cyrillic 0 1 2 3 4 5 6 7 8 9 A B C D...

Page 80: ...a q 2 2 B R b r 3 3 C S c s 4 4 D T d t 5 5 E U e u 6 6 F V f v 7 7 G W g w 8 8 H X h x 9 9 I Y i y A J Z j z B K k C L l D M m E N n F O _ o Code page 1253 Windows Greek 0 1 2 3 4 5 6 7 8 9 A B C D E...

Page 81: ...r 3 3 C S c s 4 4 D T d t 5 5 E U e u 6 6 F V f v 7 7 G W g w 8 8 H X h x 9 9 I Y i y A J Z j z B K k C L l D M m E N n F O _ o Code page 1257 Windows Latin 6 Baltic Rim 0 1 2 3 4 5 6 7 8 9 A B C D E...

Page 82: ...dix B Code Pages Page 78 Code page ISO 8859 2 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 0 P p 1 1 A Q a q 2 2 B R b r 3 3 C S c s 4 4 D T d t 5 5 E U e u 6 6 F V f v 7 7 G W g w 8 8 H X h x 9 9 I Y i y A J Z...

Page 83: ...ile macro logo etc M Execute macro N Set counter P Print R Clear variable information S Status request V Service command W Change a single variable X Get printer configuration parameter Y Set printer...

Page 84: ...2 layut outside label not used not used last paper movement type not used cool down state print incomplete stopped on a label gap S3 not used label stock not used internal print button active not used...

Page 85: ...1 S4 not used printer restarted not used internal print button active head lifted out of ribbon TT models only label not removed LTS out of paper S8 PHD board installed Black mark photocell Cutter ins...

Page 86: ...macro content V31 Get length of last paper movement V32 Show contents of counter V33 Number of failing dots PHD V34 Position of failing dot V39 Get remaining number of dormant printouts V40 Get bitmap...

Page 87: ...o IP address IP mask gateway V109 Get MAC address V110 Set network default gateway V111 Get network default gateway V114 Get RF tag serial no V115 Set terminal client login script V116 Get terminal cl...

Page 88: ...hreshold level for photosensor n 2 12 Y21 Current level to photosensor Y23 Max paper feed 1 10 mm s Y24 Dispensing feed 1 10 mm s Y25 COM2 Baud rate Y26 COM2 Parity Y27 COM2 word length Y28 COM2 Stop...

Page 89: ...auto repeat disable enable copy enable new Y100 Automatic reverse paper feed before printing Y101 106 Set inter character spacing for logical font Y132 Enable barcode mapping Y134 Enable recover page...

Page 90: ...PROGRAMMER S REFERENCE MANUAL Apendix C Quick Reference Guide Page 86 Y185 Best before date update day Y186 Best before date truncation day...

Page 91: ...2 1 3 1 5 2 8 3 13 5 11 4 7 3 31 UPC A 32 EAN 13 33 EAN 8 34 UPC E 35 EAN UPC extension code 2 or 5 digits 41 Code 128 43 EAN 128 51 57 ITF 14 ratios 2 1 3 1 5 2 8 3 13 5 11 4 7 3 61 PDF 417 64 RSS 1...

Page 92: ...ge both but instead of doing this we can use variable information First we have to change the fixed field text to variable information fields see next example Clear layout Note If this field is omitte...

Page 93: ...les R 78 10 48 P Index clear variable information Add text fields to the layout Using variable 1 and 2 variable 1 is assigned to 62 50 the price of the shoe Add a box field to the layout Note This fie...

Page 94: ...ble info See Variables Code 128 See Barcodes Code 39 See Barcodes Counters 11 60 D Date Get date 39 Set date 39 Date symbols 11 13 E EAN 128 See Barcodes EAN 13 See Barcodes EAN 8 See Barcodes ENQ ACK...

Page 95: ...S REFERENCE MANUAL Index Page 91 U UPC A 17 UPC E See Barcodes USD 5 dot code See Barcodes USS Codabar See Barcodes V Variables 11 31 Changing a single variable 32 Clearing variable information 32 X X...

Reviews: