background image

e Xte n do

®

  Em ulation C omm and  S e t  Re fe r e nc e

 

 

 

Part No. D 684 112 

Mod.Nr. 4 150813 LEV

 

 

Page 74 of 95

 

9.  Parameter [d7] specifies if the host transmission (TX) must be blocked if the eXtendo

®

 detects 

out-of-paper.  

[00]

10  

=  

HOST TX NOT BLOCKED ON PAPER OUT  

[01]

10  

=  

HOST TX BLOCKED ON PAPER OUT  

An unsupported or undefined value will select HOST TX NOT BLOCKED ON PAPER OUT. This 

feature is used in combination with the hardware flow control only. For hardware flow control, the 
host is blocked by lowering the CTS signal. 

Note that it does not explicitly indicate paper-out when the host detects TX blocked (CTS 

low/XOFF). The eXtendo

®

 also blocks the host TX when its internal buffers are full or when it is 

processing data.  
Also note that most host computers (e.g. MS-Windows, Linux) will stop RS-232 communication if 

they detect host TX blocked. Note that, if Host TX Block on Paper Out is enabled, these 

computers are not able to communicate with the eXtendo

®

 (e.g. inquire printer status) in cases of 

paper out. Therefore it is strongly recommended that the full ramifications of using this feature be 
evaluated before enabling it.  The most common use for this feature is with unsophisticated host 
equipment that cannot evaluate the data returned after a printer status inquiry. 

10.  The new RS-232 communication parameters become effective only after performing a hardware 

reset.  This can be accomplished through the interface via the ESC+[F2]+[03]+[00] command, or 
by removing and then restoring power to the eXtendo

®

11.  The eXtendo

®

 serial communications default settings are 115200 baud, parity on, parity even, 8 

data bits, 1 stop bit, hardware flow control and host TX not blocked on paper-out. 

 

Содержание eXtendo X-56

Страница 1: ...Part No D 684 112 Manual Version 2 00 Mod No 4 150813 LEV Emulation Command Set Reference Manual Thermal Printer Family eXtendo Types X 56 and X 80 Firmware V2 00 USB and RS 232 E ...

Страница 2: ...erest of continual product development All information contained in this manual is given without regard to any possible patent protection All rights reserved Reproduction translation and or distribution of this document or extracts thereof are permitted only by express authorization from Hengstler GmbH The Hengstler name and the Hengstler logo are registered trademarks of Hengstler GmbH Other bran...

Страница 3: ...rcode function and remove ITF checksum calculation Commands Position Stamp Set Position Stamp Feed and Position Stamp Retract added 1 05 2008 June 18 CBL Closed Correct error in RS 232 Configuration command 1 06 2008 June 27 CBL Closed Correct Code 128 error Add known anomaly that manual selection of Code 128 subset C does not function correctly Add known anomaly that selection of bar code type 48...

Страница 4: ...s or nuclear power control If you are considering such applications please consult our customer service department As with every product there is a possibility of component failure Every effort has been made to insure optimal product quality but the possibility of such failures cannot be completely eliminated Please consider such failures when designing this printer into your application Take care...

Страница 5: ... 1 16 ESC n Print character as graphic 24 2 1 17 ESC n1 n2 Print Character 1 351 25 2 1 18 ESC n Character Set and Country Code Selection 26 2 1 19 ESC F0 07 01 n Enable wide font printing 28 2 1 20 ESC F1 01 03 0A n Page length setting 30 2 1 21 ESC F0 06 x n m End of page 31 2 1 22 ESC D d1 dn NUL Horizontal tab positions 33 2 1 23 ESC J n Forward paper feed 34 2 1 24 ESC d n Forward n line feed...

Страница 6: ...tor 70 2 1 52 ESC F1 01 0C 04 m1 m11 Burn Time Correction 71 2 1 53 ESC F1 01 02 03 n Multi strobe factor 72 2 1 54 ESC F1 01 08 00 d1 d7 RS 232 Communication Parameter Setting 73 2 1 55 ESC F1 01 11 06 m1 m16 Customer Part Number Specification 75 2 1 56 ESC F1 01 11 05 m1 m16 Customer Serial Number Specification 76 2 1 57 ESC F1 01 02 07 n Customer Flag Setting 77 2 1 58 ESC F0 05 01 n Set print ...

Страница 7: ...plished with a tool that accompanies the Windows XP driver Note that when data is sent from the external equipment to the eXtendo printer all data must be sent as binary data Note that the eXtendo series of printers use advanced printing and positioning features allowing the placement of images bar codes text etc anywhere on the printout As a result the eXtendo series does not automatically wrap t...

Страница 8: ...tions Name Command name Function Function of command Code Control code represented in hexadecimal or decimal notation X 16 Hexadecimal notation 0 9 A F X 10 Decimal notation 0 9 X 2 Binary notation 0 1 Description Explanation of command function 2 1 Emulation Command Set The following commands are used when communicating with the printer controller All other commands are ignored ...

Страница 9: ...on to the next horizontal tab position Code 09 16 09 10 Description 1 Command HT moves the printing position to the next tab position 2 The horizontal tab positions are set with command ESC D 3 If the next horizontal tab position is not set the HT command is ignored 4 If the next horizontal tab position is outside the printing area the printing position is shifted to the next line ...

Страница 10: ...d in the print buffer then sets the next data receive position at the leftmost column on the next line 2 In the initial state the line spacing is set to approx 1 8 inch 3 When there is no data in the print buffer only a line feed operation is executed 4 When different height character typefaces are to be printed on the same line these character typefaces are arranged so that their bottom ends are ...

Страница 11: ...unction This command resets the printing position to the leftmost column on the same line Code 0D 16 13 10 Description 1 The CR command resets the printing position to the leftmost column on the same line Please note that it does not cause the line to print Use the Line Feed LF command to print the current line and advance to the next line ...

Страница 12: ...ge Name Form Feed new page Function This command feeds paper by the specified page length Code 0C 16 12 10 Description 1 The FF command prints the data already contained in the print buffer then sets the next data receive position at the leftmost column on the next page 2 Page length defaults to approx 143 mm 44 lines ...

Страница 13: ...13 of 95 2 1 5 CAN Cancel reset print engine Name Cancel Function This command resets the print engine to the default values and deletes buffered print data Code 18 16 24 10 Description 1 The CAN command resets the print engine to the default values and deletes all buffered print data ...

Страница 14: ...can be changed by uploading a new character set to the printer using the supplied font upload tool 2 If parameter n is 0 10 then the primary character set is selected 3 If parameter n is 1 10 then the secondary character set is selected 4 The type of primary secondary character set e g 8x16 12x24 16x32 20x40 required is selected with the print mode command see ESC Printing mode specification comma...

Страница 15: ... character size Parameter n bit Value Printing mode b0 LSB b1 00 2 08x16 dot character typeface 01 2 12x24 dot character typeface 10 2 16x32 dot character typeface 11 2 20x40 dot character typeface b2 b3 00 2 No magnification 01 2 2 X magnification 10 2 3 X magnification 11 2 4 X magnification b4 0 Double height disabled 1 Double height enabled b5 0 Double width disabled 1 Double width enabled b6 ...

Страница 16: ...mmand enables or disables black on white reversed printing 2 Permissible values of n are 0 and 1 3 If n 0 black on white reversed printing is off If n 1 black on white reverse printing is on 4 The default value for n is 0 5 The command can be used in all character modes and all character sets 6 The line spacing line pitch area does not appear in reverse format 7 A single text line can contain both...

Страница 17: ...e pitch to 1 6 inch Code 1B 16 32 16 27 10 50 10 Description 1 The ESC 2 command sets single line pitch to 1 6 inch 2 Please note that line pitch is defined as the distance from the top of one character line to the top of the next character line 3 This command invalidates the line pitch previously set with the ESC 3 command 4 This command invalidates the line spacing previously set with the ESC A ...

Страница 18: ...t with the ESC 2 command 4 This command invalidates the line spacing previously set with the ESC A n command 5 Parameter n defines the line pitch in dot lines 6 Parameter n must match following conditions 0 10 n 255 10 7 When a line feed is executed and there is printing on that character line paper is fed by at least the height of the character currently specified When a line feed is executed wit...

Страница 19: ... line spacing to n dot lines 2 Condition 0 10 n 255 10 must be satisfied 3 If this command is set two or more times for the same line the last set line spacing is valid 4 When line pitch is set with the ESC 3 or ESC 2 command the line spacing set with this command is invalidated 5 Please note that line spacing is defined as the distance from the bottom of one character line to the top of the next ...

Страница 20: ...mmand specifies the left margin in dots 2 Both parameters n and m specify the left margin whereas this margin is calculated as follows left margin n m 256 10 3 The range of parameter n is 0 10 n 255 10 4 The range of parameter m is as follows X 56 203 dpi 0 10 m 1 10 X 80 203 dpi 0 10 m 2 10 5 If the result of the calculation n m 256 10 is greater than the number of dots in the dot row 448 for the...

Страница 21: ...ecification Function This command specifies the character spacing in dots Code 1B 16 20 16 n 27 10 32 10 n Description 1 The ESC SP n command specifies the spacing between characters in dots 2 Parameter n specifies the number of blank dots between adjacent characters 3 Condition 0 10 n 32 10 must be satisfied 4 Initially the value for n is 0 10 no character spacing ...

Страница 22: ...ontrols character underlining and the number of dot rows used for the underline 2 Parameter n specifies the number of dot rows to be used when underlining 3 Condition 0 10 n 3 10 must be satisfied I E a maximum of three dot rows can be used for underlining 4 The default value for n is 0 10 no underlining 5 Underlining remains in effect until a subsequent underline command changes the value 6 It is...

Страница 23: ...able disable Function This command enables disables bold character printing Code 1B 16 45 16 n 27 10 69 10 n Description 1 The ESC E n command enables or disables bold character printing 2 Bold characters are enabled when parameter n 1 10 and disabled otherwise 3 Condition 0 10 n 1 10 must be satisfied 4 The default value for n is 0 10 bold characters disabled ...

Страница 24: ...int character as graphic Name Print character as graphic Function This command causes all characters including control characters to be printed as their graphic image Code 1B 16 5E 16 n 27 10 94 10 n Description 1 The ESC n command causes all characters including control characters to be printed as a graphic ...

Страница 25: ...n2 27 10 91 10 n1 n2 Description 1 Parameter n1 and n2 specifies the n th character in the selected character set whereas parameter n1 is the lower order byte and parameter n2 the higher order byte n n2 256 n1 2 The selected character n must be within domain 1 351 3 The selected character n will not be interpreted as a control character nor will it be mapped to country code characters 4 Example 1b...

Страница 26: ...a new character set to the printer using the supplied font upload tool 3 Parameter n specifies character set and country code The following figure shows the relationship between the bits of parameter n and character set and country code Parameter n bit Value Printing mode LSB b0 b2 0 Primary character set default 1 Secondary character set 2 7 Reserved for future use b3 b7 MSB 0 Country code disabl...

Страница 27: ...sponding characters in row 9 and 10 of the primary or secondary character set 8 The corresponding country characters for each country code are as follows Character Index HEX 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E Country Code 0 Disabled 1 USA 2 France à ç é ù è 3 Germany Ä Ö Ü ä ö ü 4 U K 5 Denmark 1 Æ Ø Ǻ æ ø ǻ 6 Sweden É Ä Ö Ǻ Ü é ä ö ǻ ù 7 Italy é ù ä ò è ì 8 Spain 1 Pt Ñ ñ 9 Japan 1 10 Norway É Æ...

Страница 28: ...arded as wide font character code references whereas the corresponding character in the wide font is selected according to the GB2312 Simplified Chinese character map The GB2312 Chinese index operates with a special preprocessed GB2312 type font only 6 For the KS5601 Korean index each two consecutive bytes that exceed A0 16 00 16 are regarded as wide font character code references whereas the corr...

Страница 29: ...ference Part No D 684 112 Mod Nr 4 150813 LEV Page 29 of 95 11 The printer status information that is printed after paper insertion also contains information on the selected wide font index provided that wide font printing is enabled ...

Страница 30: ...241 10 01 10 03 10 10 10 n Description 1 The ESC F1 01 03 0A n command sets the page length to a specific length in mm 2 Parameter n represents the page length in 1 10 mm For example 1234 123 4 mm 3 Parameter n is a 16 bit unsigned integer with a valid range up to 65 535 It is therefore possible to represent a length of approx 6 5 meters of paper approx 21 feet Care should be taken to avoid the pa...

Страница 31: ... follows Please note that the End of Print command generally causes immediate movement of the paper and execution of the cut as commanded Also please note that anytime the Top of Page is set the Top of Form is also set to the same location When the Top of Form is set directly it has no impact on the Top of Page location If End of Print is sent with no cut command the current location will be set a...

Страница 32: ...m will be echoed back through the Status information See the Request Printer Status section for the format of the data being returned 9 The status parameter m can also be set via the Set Status Parameter command See the Set Status Parameter section for a more detailed discussion of how this parameter is used ...

Страница 33: ...that can be set it 32 Therefore the condition 1 10 n 32 10 must be satisfied Any data sent after the 32nd horizontal tab position will be treated as ordinary data 4 The horizontal tab position is set to d x 8 dots distant from the head of the line in the printing area 5 When the horizontal tab is set with this command all horizontal tab positions previously set are deleted Therefore to add a tab i...

Страница 34: ...ion Code 1B 16 4A 16 n 27 10 74 10 n Description 1 The ESC J n command feeds paper in the forward direction by n dot lines 2 Condition 0 10 n 255 10 must be satisfied 3 When there is data in the print buffer this data will be printed first and then the paper will be fed in the forward direction as specified by n 4 If parameter n equals 0 10 the data contained in the buffer is printed but paper is ...

Страница 35: ... 27 10 100 10 n Description 1 The ESC d n command feeds paper by a character line count specified with parameter n 2 Condition 0 10 n 255 10 must be satisfied 3 After n lines are fed the next print position is located at the left edge on the line 4 When there is data in the print buffer the data contained in the buffer is printed upon receipt of this command after which paper is fed by n character...

Страница 36: ...7 10 242 10 4 10 0 10 Description 1 The command ESC F2 04 00 sets a position stamp of the current position This position stamp is used as a reference position for subsequent commands such as Position Stamp Feed or Position Stamp Retract 2 Buffered print data will be printed before the printer processes this command 3 The Position Stamp Set command must be placed at the start of the printout The co...

Страница 37: ... Parameters n1 and n2 specify a target position in millimeters from the last Position Stamp Set location Together they form a 16 bit unsigned integer with a valid range up to 65 535 Parameter n1 is the MSB and parameter n2 is the LSB of this number 3 The conditions 0 10 n1 255 10 and 0 10 n2 255 10 must be satisfied 4 Buffered print data will be printed before the printer processes this command 5 ...

Страница 38: ...s n1 and n2 specify a target position in millimeters from the last Position Stamp Set location Together they form a 16 bit unsigned integer with a valid range up to 65 535 Parameter n1 is the MSB and parameter n2 is the LSB of this number 3 The conditions 0 10 n1 255 10 and 0 10 n2 255 10 must be satisfied 4 Buffered print data will be printed before the printer processes this command 5 By using t...

Страница 39: ...cted from the printer This command is most commonly used when printing precut tickets to eject the finished ticket 2 Parameter n determines if the paper will be ejected from the front or the rear of the printer A value of 1 10 will cause the paper to be ejected from the front while any other value in the range 0 10 n 255 10 will cause the paper to be ejected from the rear 3 Attempting to eject the...

Страница 40: ...r printing objects such as text wide text bitmaps images and barcodes 2 Parameter n defines the alignment setting as follows 0 Left alignment Paper left left margin 1 Center alignment Paper center 2 Right alignment Paper right 3 The horizontal alignment setting will automatically reset the current reference position to the left center or right of the paper 4 The set position command ESC n1 n2 m1 m...

Страница 41: ...he upper left hand corner of where the object will print defined in tenths of a mm 0 1 mm m1 is the MSB while m2 is the LSB The Y coordinate is therefore defined as m1 256 10 m2 in tenths of a mm 4 The ranges of the four parameters are as follows Also please note that if the value of n1 256 n2 exceeds 560 for an X 56 203 dpi or 800 for an X 80 203 dpi the upper left corner of the printing start po...

Страница 42: ...90 180 and 270 character rotation 0 90 180 and 270 2 Parameter n defines what is affected by the rotation Parameter n Rotation 00 10 Text 01 10 Images 02 10 Bar Codes 03 10 Characters 3 Parameter m defines the angle of rotation Parameter m Angle of rotation 00 10 0 01 10 90 02 10 180 03 10 270 4 All objects can be rotated in all available directions whereas the left upper position is defined by th...

Страница 43: ...gle of rotation for the entire block Parameter n Angle of rotation FF 16 Disabled 00 16 0 01 16 90 02 16 180 03 16 270 3 The upper left corner of the block is the key when rotating and the block will start as far to the upper left as defined by the rotation of the objects sent 4 Please note that all commands including Line Feed are stored and are used only to position and format the data to be pri...

Страница 44: ...and closes the Start Block Rotation command and immediately causes printing of the data sent after the Start Block Rotation command was received Code 1B 16 F0 16 0C 16 00 16 27 10 240 10 12 10 00 10 Description 1 The ESC F0 0C 00 command ends the transmission of data to be printed as a block that was initiated by the Start Block Rotation command and causes it to be printed ...

Страница 45: ...ter reset software Function This command initializes resets the printer Code 1B 16 40 16 27 10 64 10 Description 1 The ESC command resets the printer settings to their default values 2 Default is defined as the status of the printer after initial power up 3 The ESC command prints the data contained in the print buffer before resetting ...

Страница 46: ...rd reset of the printer by resetting the hardware Code 1B 16 F2 16 03 00 27 10 142 10 03 00 Description 1 The ESC F2 03 00 command performs a hardware reset of the printer 2 When the ESC F2 03 00 command is executed the printer does not print the buffer before resetting All data in the buffer is lost All conditions are returned to those that would exist if the power were removed and then restored ...

Страница 47: ...ber is 0 10 m 255 10 4 If there is no registered image stored for a transmitted identification number then the command is ignored 5 Parameter n specifies the print mode as follows Parameter n Print mode Caption 00 10 Normal The stored image data is printed in the original stored size 01 10 Double width The stored image data is printed in double width 02 10 Double height The stored image data is pr...

Страница 48: ...e can be wide or narrow and black or white NARROW BLACK BAR NARROW WHITE BAR WIDE BLACK BAR WIDE WHITE BAR parameter n parameter n parameter m n parameter m n 3 Parameter n specifies the width of a narrow white black bar in dots 4 Parameter m specifies the width of a wide white black bar in dots 5 When the bar code selected does not consist of wide bars and or narrow bars the value of parameter n ...

Страница 49: ...r code height setting Function This command sets the height of a bar code in dots Code 1D 16 68 16 n 29 10 104 10 n Description 1 Command GS h n defines the height of a bar code 2 Parameter n specifies the height of the bar code in dots 3 The following conditions must be satisfied 1 10 n 255 10 4 The default value of parameter n is 60 10 ...

Страница 50: ... 10 n Description 1 Command GS w n specifies the width magnification of a one dimensional bar code by multiplying the dot width of the narrow and wide bars by a specified integer value 2 Parameter n specifies the horizontal magnification of a bar code 3 The following conditions must be satisfied 1 10 n 4 10 4 The default value of parameter n is 1 10 5 The widths of the narrow and wide bars black a...

Страница 51: ...nerates a bar code wider than will fit on one line the excess portion of the bar code will print on the next line 6 Bar code height will be determined by the bar code height setting GS h n regardless of the line spacing set with the ESC 2 or ESC 3 commands 7 When one line contains both a bar code and characters to be printed the bottom of these characters and the bottom of the bar code are aligned...

Страница 52: ...5 10 then d1 will be treated as data to be encoded If a subset is not specified the eXtendo printer will automatically select the appropriate subset depending upon what data is to be encoded in d1 dn Note that the value of n must include d1 regardless of whether it s data or a subset code Please note that subset C is intended for the creation of more compact Code 128 bar codes when only numeric da...

Страница 53: ... 84 33 10 A A 33 85 10 NAK u 85 34 10 B B 34 86 10 SYN v 86 35 10 C C 35 87 10 ETB w 87 36 10 D D 36 88 10 CAN x 88 37 10 E E 37 89 10 EM y 89 38 10 F F 38 90 10 SUB z 90 39 10 G G 39 91 10 ESC 91 40 10 H H 40 92 10 FS 92 41 10 I I 41 93 10 GS 93 42 10 J J 42 94 10 RS 94 43 10 K K 43 95 10 US DEL 95 44 10 L L 44 96 10 FNC3 FNC3 96 45 10 M M 45 97 10 FNC2 FNC2 97 46 10 N N 46 98 10 SHIFT SHIFT 98 4...

Страница 54: ...nt source primary secondary character set Subtitle Fonts Size Primary Font Secondary Font 8x16 01 16 09 16 12x24 03 16 0B 16 16x32 05 16 0D 16 20x40 07 16 0F 16 3 Parameter n has following bit map Bit Status Caption 0 Bar Code Plain Text Subtitle 0 Disabled 1 Enabled 1 2 Font size 00 08x16 01 12x24 10 16x32 11 20x40 3 Font source 0 Primary 1 Secondary 4 7 Reserved 0 these values should always be s...

Страница 55: ... code of appropriate resolution sent to it as a graphics file 2 Parameter n1 specifies the type of 2D bar code to be printed n1 Style 0 PDF417 1 Datamatrix 2 QR Code 3 Parameter n2 specifies the 2D bar code style depending upon the bar code selected It sets the Style for PDF417 n2 PDF417 Style 0 Normal style 1 Truncated style no stop pattern or right row indicator n2 determines how the encoded inp...

Страница 56: ...e more redundancy exists in the data and the larger the bar code is Therefore selection of this parameter is a tradeoff between greater readability when damaged and smaller size 5 Parameter n4 specifies the magnification range of the bar code The valid range is 1 10 n4 4 10 The default value is 1 6 Parameter n5 specifies the height to be used when setting the bar code s aspect ratio The valid rang...

Страница 57: ... data The process is as follows a If n 254 then only one 2D bar code print command lines is needed and the bar code will print after receipt of the last data byte Example ESC F0 0A 0A d1 d2 d10 2D barcode command with 10 bytes of data b If n 255 or is an exact multiple of 255 then multiple command lines are needed and printing will take place after the receipt of the last command line Note that an...

Страница 58: ...is the number of bytes of status data following the m Note that the first two header bytes are the same for all Status Packets while byte 3 defines the type of packet Here the 02 indicates a Printer Status Packet Printer Status Summary 4 Each of the 32 bits of the Printer Status Summary is available as a flag for the following purposes Note that this is a 32 bit unsigned integer Bit No Definition ...

Страница 59: ...should be ignored 22 31 Reserved for future use will always report 0 Status Parameter 1 If a print job completed correctly this will be the character previously sent to the printer using the FS r n command Note that this is an 8 bit unsigned character Printhead Temperature 2 Printhead temperature in degrees Celsius Note that this is a 16 bit signed integer allowing for both positive and negative n...

Страница 60: ...e are all 8 bit unsigned characters System Configuration 4 Each of the 8 nybbles of the System Configuration is available as an indicator for the following purposes Note that this is a 32 bit unsigned integer Nybble No Definition 2 0 0 LSN Model Type 000 X 56 3E8 X 80 FFF Custom 3 Reserved F default 4 Cutter type 0 none or manual 1 Twincut full and partial cut 2 Twincut full cut only 3 Rotary 4 Pi...

Страница 61: ...hich acts as a string terminator Note that these are all 8 bit unsigned characters Firmware Version Number 11 The first 10 bytes of this string contain the firmware version number in ASCII format in the form Rx Vy zzb The last byte is a NUL character which acts as a string terminator Note that these are all 8 bit unsigned characters Firmware Date 13 The first 12 bytes of this string contain the fi...

Страница 62: ...ed integer allowing for both positive and negative numbers The bytes are sent LSB MSB Control Board Voltage 2 Control board supply voltage in tenths of a volt Note that this is a 16 bit unsigned integer The bytes are sent LSB MSB Sensor Type and State 8 These 8 bit unsigned characters are used to relate the sensor type and status The sensors involved are as follows Byte Sensor 1 Paper low paper pr...

Страница 63: ...y between reception of the GS a n command and the transmission of the status information 5 A temperature alert will occur when print head temperature exceeds 70 C In this case no printing should be done until the printhead temperature drops below 70 C If a printout is initiated when the printhead temperature is above 70 C there could be serious damage to the printer 6 Customer flags are specified ...

Страница 64: ...lues for parameter n is 0 10 n 255 10 5 As soon as the status parameter is transmitted back to the host in response to the Request printer status command GS a 01 16 the value of the status parameter is reset to 0 10 6 This parameter can also be transmitted using the End of Page command 7 Typically this command is used at the end of a print job to verify that the printout has been completed success...

Страница 65: ...arameter n specifies the number of bytes needed to fully define the graphic dot line In the data that follows d1 dn dn is therefore the last data byte of the encoded data The values for n are as follows Printer Type n10 n16 X 56 203 dpi 56 38 X 80 203 dpi 80 50 3 Each bit of the data bytes d1 to dn represents a dot on the thermal printhead A dot is on if its corresponding bit is a 1 and off if it ...

Страница 66: ...epeated Y times Bits 6 0 The number of characters that make up the sequence The number of times the character will be repeated Y Examples Header 83 16 followed by a single data byte 44 16 indicates that the data byte is to interpreted as run of 3 of the same bytes 83 16 has the MSB high indicating a multiple occurrence of the same character and the lower seven bits equal 3 The data byte 44 16 will...

Страница 67: ...inted graphic dot line a specified number of times Code 1B 16 F0 16 04 16 01 16 n 27 10 240 10 04 10 01 10 n Description 1 The ESC F0 04 01 n command automatically reprints the previously printed graphic dot line a specified number of times 2 The parameter n specifies the number of times that the previous dot line will be reprinted The valid range for n is 0 10 n 255 10 3 If n 0 the previous dot l...

Страница 68: ...e bitmap with the specified width and height 2 The bitmap content is defined by one or more consecutive bitmap body data commands 3 Parameters w1 w2 define the width of the bitmap in pixels as follows bitmap width w1 256 10 w2 4 Parameters h1 h2 define the height of the bitmap in pixels as follows bitmap height h1 256 10 h2 5 Parameter a defines the attributes for printing the bitmap The following...

Страница 69: ...s d1 dn contain up to 256 bitmap bytes maximum 4 Each bitmap byte specifies 8 monochrome pixels whereas 0 indicates white and 1 indicates black The most significant bit in a bitmap byte is the left most pixel 5 The bitmap is sent to the printer in one or more consecutive bitmap body data commands The first byte of the first bitmap body data command transmitted is the left upper row byte of the bit...

Страница 70: ...to the individual dots that must be burned to create the current dot line 4 The duration of both the main burn phase and the post burn phase are defined by the dot history factor which specifies the percentage of the total burn time that is used for post burning 5 The default dot history post burn factor is stored in flash memory and its value can be 0 to 99 Dot history is enabled if the dot histo...

Страница 71: ... based on ambient temperature 2 The variables m1 to m11 are 8 bit signed integers that specify the burn time adjustment in µs 3 The adjustment range of m1 to m11 is from 125 to 125 µs 4 The variables m1 to m11 relate to the temperature as follows Variable Temperature m1 30ºC m2 20ºC m3 10ºC m4 0ºC m5 10ºC m6 20ºC m7 30ºC m8 40ºC m9 50ºC m10 60ºC m11 70ºC 5 The intended purpose of the Burn Time Cor...

Страница 72: ...st then burn the right side this is referred to as a double burn 4 The multi strobe factor is stored in flash memory where its value can be 0 or 1 Multi strobe burning is enabled if the multi strobe factor is equal to 1 and is disabled if the multi strobe factor equals 0 5 n defines the multi strobe factor in dot line burn cycles The range of parameter n is 0 10 n 1 10 where 0 10 disables multi st...

Страница 73: ...10 38400 04 10 57600 05 10 115200 06 10 230400 unsupported at this time 07 10 460800 unsupported at this time Choosing an unsupported or undefined value will cause the printer to select 115200 baud 4 Parameter d2 specifies the parity on off as follows 00 10 PARITY OFF 01 10 PARITY ON An unsupported or undefined value will select PARITY OFF 5 Parameter d3 specifies the parity even odd as follows 00...

Страница 74: ...omputers e g MS Windows Linux will stop RS 232 communication if they detect host TX blocked Note that if Host TX Block on Paper Out is enabled these computers are not able to communicate with the eXtendo e g inquire printer status in cases of paper out Therefore it is strongly recommended that the full ramifications of using this feature be evaluated before enabling it The most common use for this...

Страница 75: ...mber may be up to 16 alphanumeric characters long The values of m1 to m16 should be printable ASCII characters with the exception of the null character 0 16 The part number must have a following ASCII null character e g 0 16 if its length is less then 16 characters If the first character m1 is a null character then the customer specified part number is treated as undefined 3 If defined then the eX...

Страница 76: ...ber may be up to 16 alphanumeric characters long The values of m1 to m16 should be printable ASCII characters with the exception of the null character 0 16 The serial number must have a following ASCII null character e g 0 16 if its length is less then 16 characters If the first character m1 is a null character then the customer specified serial number is treated as undefined 3 If defined then the...

Страница 77: ... flag can either be 1 or 0 3 The customer flags are intended to be used to distinguish multiple printers that are connected to a single host The printer transmits the flags in the Status Packets see command GS a n Request Printer Status 4 Customer flags are to be specified in an 8 bit unsigned byte whereas the least significant bit is status flag 1 and the next bit is status flag 2 5 Following cus...

Страница 78: ...that will be implemented Please note the following regarding n a The value of n is a two s complement number representing both positive and negative numbers b The range of n is 100 to 100 This number represents the percentage of the maximum adjustment possible The maximum adjustment is 250 µs so the adjustment range is from 250 µs to 250 µs c The actual range of n is then 9C 16 to FF 16 100 10 to ...

Страница 79: ...p to 255 mm sec A value of n 2 may be used for print speeds from 60 mm sec up to 350 mm sec 6 Parameters d0 and dn define the target printing speed in mm s If n 1 then only dn should be sent If n 1 the range for parameter dn is 60 10 n 250 10 If n 2 both d0 and dn must be sent Note that d0 is the MSB and dn is the LSB If n 2 the range for parameter d0 is 0 to 1 The range for parameter dn is 0 10 n...

Страница 80: ...s and is ignored on all other versions 2 The ESC F2 0A 02 n m command is used to cause the paper back out from under the thermal printhead and be held by an auxiliary roller set 3 The value n sets the Unload speed in mm sec and has a range of 0 16 to FF 16 While this value may vary an initial value of 12 16 is recommended 4 The value m sets the Unload distance in mm and has a range of 0 16 to FF 1...

Страница 81: ...11 10 01 10 n Description 1 NOTE This command is used only by the X 56 Feed family of printers and is ignored on all other versions 2 The ESC F2 0B 01 n command is used to cause paper which has been unloaded in an X 56 Feed printer to be reloaded so that the printer is ready to print 3 The value n sets the Reload speed in mm sec and has a range of 0 16 to FF 16 While this value may vary an initial...

Страница 82: ...ng firmware upload Although all internal character sets are regarded to be fixed font a modified set can be integrated in the firmware binary and made effective through upload The external character sets can be uploaded into the flash memory with the appropriate commands The internal character set is also called the primary font The external character set is also called the secondary font 3 1 1 In...

Страница 83: ...mal hexadecimal 12x24 ANK internal character set 3 1 3 Internal 16x32 character set The internal 16x32 character set has 256 characters whereas the size of each character is Width 16 dots Height 32 dots The top row characters 0 to 31 1F 16 are control characters and are not used 3 1 4 Internal 24x40 character set The internal 24x40 character set has 256 characters whereas the size of each characte...

Страница 84: ...l 12x24 character set has 256 characters whereas the size of each character is Width 12 dots Height 24 dots The top row characters 0 to 31 1F 16 are control characters and are not used 00 1F 20 3F 40 5F 60 7F 80 9F A0 BF C0 DF E0 FF 0 31 32 63 64 95 96 127 128 159 160 191 192 223 224 255 decimal hexadecimal 12x24 sample external registered character set 3 1 7 External 16x32 character set The exter...

Страница 85: ...d Nr 4 150813 LEV Page 85 of 95 3 1 8 External 24x40 character set The external 24x40 character set has 256 characters whereas the size of each character is Width 24 dots Height 40 dots The top row characters 0 to 31 1F 16 are control characters and are not used ...

Страница 86: ... Wide Font Printing for more information on wide font indexing 24X24 wide character set containing 16 455 characters By default there is no wide character set provided in the eXtendo The eXtendo driver tools allow the upload of a wide character set where the character set is imported from a standard windows bitmap For the 24X24 type wide characters this bitmap contains exactly 16 x 455 characters ...

Страница 87: ...eXtendo Emulation Command Set Reference Part No D 684 112 Mod Nr 4 150813 LEV Page 87 of 95 20X20 wide character set containing 16 540 characters ...

Страница 88: ...S T U V W X Y Z 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 SP 0 1 2 3 4 5 6 7 8 9 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 8...

Страница 89: ...e correction 71 Dot history factor 70 Multi strobe factor 72 Character Sets Enable wide font printing 28 External 08X16 character set 83 External 12X24 character set 84 External 16X16 character set 84 External 24X24 character set 85 GB2312 Chinese 28 86 Internal 08X16 character set 82 Internal 12X24 character set 83 Internal 16X16 character set 83 Internal 24X24 character set 83 KS5601 Korean 28 8...

Страница 90: ...me correction ESC F1 01 0C 04 m1 m11 71 Cancel CAN 13 Carriage Return CR 11 Character Set and Country Code Selection ESC n 26 Character set selection ESC n 14 Character size specification ESC n 15 Character spacing specification ESC SP n 21 Character underlining ESC n 22 Create bitmap ESC F0 20 05 w1 w2 h1 h2 a 68 Customer flags setting ESC F1 01 02 07 n 77 Customer part number specification ESC F...

Страница 91: ...n 78 Set status parameter FS r n 64 Text End block rotation ESC F0 0C 00 44 Text Start block rotation ESC F0 0B 01 n 43 Unload Paper ESC F2 0A 02 n m 80 Escape Sequences CAN Cancel 13 CR Carriage Return 11 ESC n Character size specification 15 ESC n1 n2 m1 m2 Set position 41 ESC n Character set selection 14 ESC Printer reset software 45 ESC F0 06 x n m End of page 31 ESC F0 01 01 n Print speed set...

Страница 92: ...ne pitch setting 17 ESC 3 n Line pitch setting 18 ESC A n Line spacing setting 19 ESC D d1 dn NUL Horizontal tab positions 33 ESC d n Forward n line feed 35 ESC J n Forward paper feed 34 ESC RS Black on white reversed printing specification 16 ESC SP n Character spacing specification 21 ESC F2 03 00 Printer reset hardware 46 FF Form feed 12 FS r n Set status parameter 64 GS m n Print stored image ...

Страница 93: ...mp Retract 38 Position Stamp Set 36 Print speed setting 79 Top of Form 31 Top of Page 31 Printer Status Analog sensor values 62 Auxiliary Sensor 62 Auxiliary sensor active 58 Black mark detected 58 Chute paper exit sensor 62 Communication Protocol Rev No 59 62 Communications interface 60 Control board voltage 59 62 Customer flags 58 Cutter sensor 62 Cutter type 60 Date of manufacture 60 Digital se...

Страница 94: ...ed 58 Printer Status Packet Details 58 Printer Status Summary 58 Printhead over temperature 58 Printhead position sensor 62 Printhead raised up 58 60 Printhead temperature in degrees C 59 62 Printhead type 60 Request printer status 58 Sensor type and state 62 Set status parameter 64 Status Packet Definitions 58 Status Parameter 59 System configuration 60 System failure 58 System Features 61 System...

Страница 95: ...cter spacing specification 21 Character underlining 22 Double height 15 Double width 15 End block rotation 44 End of page 31 Horizontal tab positions 33 Left margin specification 20 Line pitch setting 18 Line spacing setting 19 Magnification 2X 3X 4X 15 Print Character 1 351 25 Print character as graphic 24 Set position 41 Start block rotation 43 Unload Paper ESC F2 0A 02 n m Unload Paper command ...

Отзывы: