background image

TH230/TH230+ 

 

Programmers Guide 

107 

 

 

 
Default character code table after Reset (a=16) 

 

(n

L

 + n

H

 * 256) 

Code Page 

Default 

0 … 255 

Equal to ESC t n 

0 (PC437) 

 
This value sets the Code Page number that is used after switch on the 

Printer or after use the sequence ESC @. 

 

 

This value should be set to a value which is listed at ESC t n (see page 74). 

If it is not listed in ESC t n then a Value of 0 is taken. 

 

Sometimes it is not possible to change the application program and in 

addition the application program needs a code page which is different to 

PC437. This custom value is used to set a specific start code page without 

changing the application program. 

 

 

Auto Recovery (a=17) 
 

(n

L

 + n

H

 * 256) 

Auto Recovery Mode 

Default 

Off 

0 (Off) 

1, 2 

Equal to DLE ENQ n 

This value sets the Auto Recovery Mode that is executed in error condition 

by closing the Cover. The Mode is the same like DLE ENQ n and mines 

    0: No Recover 

    1: Recover without clearing 

    2: Recover with clearing 

 

Power On Behavior (a = 18): 

This custom value is only available in iPRINT. 

(n

L

 + n

H

 * 256) 

Power On Behavior 

Default 

Restore last state before power fail 

System is always switched on 

System is always switched off 

 

Notes: 

 

This function works only in user setting mode. 

 

To activate the customized values you set with this function, you must 

transmit a Function 2 command. 

 

Customized value can be specified by the unit of 3 bytes [

a n

L

 n

H

]. 

 

Example: Transmit data when changing the paper width to 57.5 mm 

 

ASCII:   GS   (  

E  

pL   pH   fn   a  

n

L

  n

H

 

Hex:   0x1D  0x28  0x45  

0x04 0x00  0x05 0x03  0x02 0x00 

 

 

The setting value of the print speed is effective when the printer 

performs in proper condition. Print speed may slow temporarily, 

depending on the operating environment or the print duty.  

 

Summary of Contents for TH230

Page 1: ...TH230 TH230 POS Printer Programmers Guide July 2013 ...

Page 2: ...ve any constructive criticism We would like to thank you in advance for your comments With kind regards Wincor Nixdorf International GmbH SAT22 Wohlrabedamm 31 D 13629 Berlin _______________________________________________________________________ Your opinion TH230 TH230 POS Printer Programmers Guide ...

Page 3: ...TH230 TH230 POS Printer Programmers Guide July 2013 ...

Page 4: ...use of this document or its contents is not permitted without express authority Offenders will be liable for damages All rights including rights created by patent grant or registration of a utility model or design are reserved Delivery subject to availability technical modifications possible Copyright Wincor Nixdorf International GmbH 2013 ...

Page 5: ...0 Absolute Origin of Graphics and Text in Page Mode 11 Barcode 12 Control Sequences 13 Control Characters and Control Sequences 13 Notation of the Command Description 13 Command Overview 14 Commands sorted by function groups 17 Ignored Commands 22 Description of the Control Characters and Sequences 23 Transmit Status Identification Table 196 Printer Parameter Table 197 Character Sets and Fonts 199...

Page 6: ...e 21 WPC28605 Latin 9 224 Character code table Page 22 PC864 Arabic 225 Character code table Page 23 PC720 Arabic 226 Character code table Page 24 WPC1256 Arabic 227 Character code table Page 25 WPC28596 Arabic 228 Character code table Page 26 KATAKANA Asia 229 Character code table Page 27 PC775 Baltic 230 Character code table Page 28 WPC1257 Baltic 231 Character code table Page 29 WPC28594 Baltic...

Page 7: ...t 256 Diagnostic Menu 256 Configuration Menu 258 Information Menu 265 MF Menu 265 TH230 Diagnostic Functions 266 Selftest Printout 267 Sensor Test 273 EEPROM default settings 273 Endurance test 275 Black Mark test 277 Description of EERPOM Updates 278 Specialties 278 Calculating Power On Time 279 Technical Specifications 280 ERROR Blink Pattern 285 Recoverable Errors 285 Automatic Recoverable Erro...

Page 8: ... controller for the high speed ESC POS thermal printer TH230 TH230 Introduction The TH230 and the TH230 are powerful and low cost thermal printers for all kind of POS systems In this manual both printers will be referred to as TH230 Only in case of essential differences there will be a distinction between TH230 and TH230 ...

Page 9: ...125 mm resolution Print width 72 mm centered on 80 mm paper width Different Codepages and loadable Character Sets Bar Code printing Paper feed with Stepper motor vertical resolution 203 dpi 0 125 mm Fast Cutter with Stepper motor and Home Sensor cutting time is 300 ms Automatic Reverse Feeding after Cut to reduce Top Margin to 5 mm Sensors for Cover Open Paper Near End Paper End Optional Mark Sens...

Page 10: ...owever a precondition for proper use is the correct installation and or configuration of the system In addition you should be familiar with the operating system of your computer With the interfaces USB 1 1 USB 2 0 compliant or RS232 all the status information s can be called up using the different control commands Via this interface it is possible to synchronize the user software and the printing ...

Page 11: ...tage Error Offline Offline Cutter Error Offline Character Space Linefeed or Cut received User inserts new paper User inserts new paper Recoverable Error Real time request to printer DLE ENQ n Character Space Linefeed or Cut received Real time request to printer DLE ENQ n Automatic recoverable error Character Space Linefeed or Cut received Voltage comes back to normal value Voltage comes back to no...

Page 12: ...est printing see chapter Print Service Menu on page 246 Power LED Green Off Power is not stable On Power is stable Blinking The maximum power setting is auto and no Wincor Nixdorf power supply is used The maximum power setting can be changed by the command GS E fn 5 see page 105 The user has to set a fix maximum power setting according to the used power supply This LED is also used in the Diagnost...

Page 13: ...r Linefeed button pressed or Power button pressed short time or Cover closed or Data for Customer Display or Command for Cash Drawer ASB Sleep off Status command received or Cover open Off Mode X is controlled by Customized Setting Values GS E Function 5 Sleep Mode Waiting Time 5 seconds after entering from Ready Mode or last command finished Print data received or Linefeed button pressed Power bu...

Page 14: ...n is enabled and Printer was ON before 24V ON and hit Power Button for 3 seconds and Power Button is enabled or unrecoverable error or undefined firmware 24V ON and Power Button is enabled and Printer was OFF before 24V ON and Printer OFF 24V ON and Power Button is disabled 24V OFF 24V ON and DLE SO and DLE SO is enabled 24V ON and press Power Button and Power Button is enabled 24V ON and press Po...

Page 15: ...ntout starts from the beginning Thus the lifetime is much higher compared to print always on the same position Horizontal Dot Lines To increase the performance of the printer the programmer has to avoid printing of long horizontal dot lines like in the ticket on the left side If the printer has to print such lines the current to heat the print line is very high For this reason the printer moves th...

Page 16: ...on of the host The behavior of the Power Button is described on page 7 Page Mode Tips The thermal printer TH230 supports two different print modes standard mode and page mode The standard mode is supported by all banking printers and in this mode the printers print data in the print buffer by executing the print commands such as LF CR and ESC J or when the buffer is full The standard mode is the p...

Page 17: ...SC FF in procedure 5 Characteristics of the page mode The flexible layout enables you to execute printing which you cannot accomplish in the standard mode Downloaded graphics bit images or bar codes can be printed on the same line with other data including characters at the same time Characters and bit images can be rotated 90 clockwise 180 clockwise upside down or 90 counterclockwise Copy printin...

Page 18: ...dge for printing the graphics completely the upper part of the graphics will be cut If the print position in page on the upper edge depend on print direction ESC T the print position will be set down with the height of the print buffer Graphics which are built with more than one buffer will be cut For printing graphics in page take care for the space to the upper edge and to upper print lines If i...

Page 19: ... Graphics y x Positioning with Bottom to Top printing Positioning with Right to Left printing TEXT Graphics y x TEXT Graphics y x Barcode Barcode can be used in Pagemode with limitations Barcodes can only be print at start of line that s why horizontal position commands do not work with barcode For positioning barcodes ESC W is useable ...

Page 20: ...racters after ESC GS and DLE They only perform the requested command if the complete character string is valid The whole control string will be ignored if a wrong not valid character is found in the string The next character is than interpreted as the start of a new command Notation of the Command Description XXXX Command Character or Command Sequence Function Name of the command Code Code Sequenc...

Page 21: ...ode 34 EM Full cut 34 SUB Partial cut 34 ESC BMP file Download BMP logo 35 ESC BEL Generate tone 36 ESC FF Print data in page mode 36 ESC DC2 Select 90 Degree Counter Clockwise Rotated Print 36 ESC DC4 Set Column 37 ESC SYN Select Pitch Column Width 37 ESC SP Set right side character spacing 38 ESC Select print mode s 39 ESC Set absolute print position 40 ESC Select cancel user defined character s...

Page 22: ...g 68 ESC c 5 Enable disable feed button 69 ESC d Print and feed n lines 70 ESC i Full cut 70 ESC j Read from Non Volatile Memory 71 ESC l Start firmware upgrade mode 71 ESC m Partial cut 71 ESC p Generate pulse 72 ESC r Set current color 73 ESC s Write to Non Volatile Memory NVRAM 73 ESC t Select character code table 74 ESC u Transmit Peripheral Device Status 75 ESC v Transmit paper sensor status ...

Page 23: ...16 Function 129 Set serial number 117 Function 130 Set production date 117 Function 131 Sets communication condition of Ethernet interface 118 Function 132 Transmits communication condition of Ethernet interface 119 GS FGS FGS FGS FGS F Set adjustment value s 120 GS L Specify graphics data 122 Function 48 Sends the entire capacity of NV graphics domains 126 Function 51 Sends the available capacity...

Page 24: ...rough mode 191 GS 0x8E Download paper type description 192 GS 0x8F Return paper type description 193 GS 0xA0 Set temporary max target speed 193 GS 0xFF Reset firmware 194 US EOT Convert 6 dots mm bitmap to 8 dots mm bitmap 194 US ENQ Select superscript or subscript modes 194 US t Print Test Form 195 US V Send printer software version 195 US z Real time commands disabled 195 Commands sorted by func...

Page 25: ...on off 57 ESC G Turn double strike mode on off 56 ESC R Select an international character set 59 ESC V Turn 90 clockwise rotation mode on off 62 ESC r Set current color 73 ESC t Select character code table 74 ESC Turn upside down printing mode on off 79 GS Select character size 87 GS B Turn white black reverse printing mode on off 147 GS b Turn smoothing mode on off 163 GS 0x8D Text strike through...

Page 26: ...phics 64 GS L Specify graphics data 122 Function 48 Sends the entire capacity of NV graphics domains 126 Function 51 Sends the available capacity of NV graphics memory 127 Function 64 Sends the key code list for defined NV graphics 129 Function 65 Performs batch deletion of all NV graphics data 130 Function 66 Deletes the specified NV graphics data 131 Function 67 Defines in raster format NV graph...

Page 27: ...l commands cut cash drawer tone ESC BEL Generate tone 36 ESC i Full cut 70 ESC m Partial cut 71 ESC p Generate pulse 72 ETB Print 33 EM Full cut 34 SUB Partial cut 34 ESC w n 8 Play melody from flash 77 GS V Select cut mode and cut paper 155 GS 0xA0 Set temporary max target speed 193 Kanji commands FS Asia version Select print mode s for Kanji characters 81 FS Asia version Select Kanji character m...

Page 28: ...smits communication condition of serial interface 116 Function 129 Set serial number 117 Function 130 Set production date 117 Function 131 Sets communication condition of Ethernet interface 118 Function 132 Transmits communication condition of Ethernet interface 119 GS F Set adjustment value s 120 GS Erase User Flash Sector 146 GS 0x8E Download paper type description 192 GS 0x8F Return paper type ...

Page 29: ... time printer status transmission 86 GS D Enable disable real time command 93 Statistics GS g 0 Initialize maintenance counter 164 GS g 2 Transmit maintenance counter 166 User defined characters ESC Select cancel user defined character set 41 ESC Define user defined characters 41 ESC Cancel user defined characters 53 Test GS A Executes test and diagnosis functions 92 US t Print Test Form 195 US z ...

Page 30: ... this command Reference ESC D ESC 3 LF Function Print and line feed Code ASCII LF Code HEX 0x0A Description Prints the data in the print buffer and feeds one line Notes If auto linefeed enabled command is ignored after CR The amount of paper fed per line is based on the value set using the line spacing command ESC 2 see page 49 or ESC 3 see page 50 After printing the printing position moves to the...

Page 31: ...ter printing the printing position moves to the beginning of the line When a left margin is set the position of the left margin is the beginning of the line FF Function 2 Print and feed marked paper to print starting position Code ASCII FF Code HEX 0x0C Description Prints the data in the print buffer and feeds marked paper to the print starting position Notes If the BM sensor is enabled by using m...

Page 32: ...oves and the printer do not perform actual printing DLE Function Clear printer This command is ignored Code ASCII DLE Code HEX 0x10 Description Clears the print line buffer without printing and sets the printer to the following condition Double wide command 0x12 is canceled Line spacing pitch and user defined character sets are maintained at current selections RAM is not affected Single wide singl...

Page 33: ...ng that is the same as a code string in a parameter the printer processes and then continues with the bit image or other command This command is executed even when the printer is offline or an error occurs If the receive buffer is full the execution depends from Memory Switch 2 8 Listen to Real Time Commands see command GS E If Memory Switch 2 8 is set to off 48 command is executed If Memory Switc...

Page 34: ...ing stop due to a paper end No paper end stop Printing stops 6 Recoverable Error No error Error occured 7 Not used Fixed to 0 Bit 5 Bit 5 becomes 1 as sensor of the roll paper detects the paper not present made to the print stop Bit 6 Recoverable Error means Cover open Paper out Black mark error Cutter error n 3 error status Bit Function Value 0 1 0 Not used Fixed to 0 1 Not used Fixed to 1 2 Unde...

Page 35: ...er near end to the host until 0 2 m paper is feed and all the time the paper near end sensor detects no paper If the linefeed button is pressed within the hysteresis the printer reports paper near end immediately Notes Real time status can be differentiated by the information of bits 0 1 4 and 7 from other transmission data If the data transmitted from the printer is 0xx1xx10 x 0 or 1 process the ...

Page 36: ... E If Memory Switch 2 8 is set to off 48 command is executed If Memory Switch 2 8 is set to on 49 command is not executed When a recoverable error occurs after removing the cause of the error the printer can recover from the error by transmitting DLE ENQ 1 or DLE ENQ 2 without the printer being turned off DLE ENQ 1 or DLE ENQ 2 is enabled only when a recoverable error occurs with the exception of ...

Page 37: ...hin the code string of another command it is processed as a parameter of the other command and the print result is not correct If another command such as bit image or defined data has a code string in a parameter that is the same as this command the printer starts processing this command This command can be enabled or disabled by GS D page 93 and US z page 195 The default value is disabled The pri...

Page 38: ...nding of the settings in the Operating System the behavior is different hibernation power down do nothing The TH230 printer part of the iPRINT system follows the achieved power state Reference Table for the Transmit Status Identification DC1 Function Print raster monochrome graphics Code ASCII DC1 n1 n72 576 dots 80 mm paper or n51 408 dots 57 5 mm paper Code HEX 0x11 n1 n72 576 dots for 80 mm pap...

Page 39: ... Lines Code ASCII DC4 n Code HEX 0x14 n Range 0 n 255 Description Feeds the paper n lines at the current line height without printing Notes This command is enabled only when processed at the beginning of the line New applications should use the command ESC d NAK Function Feed n Dot Rows Code ASCII NAK n Code HEX 0x15 n Range 0 n 255 Description Feeds the paper n dot rows n 8 mm n 203 inch without ...

Page 40: ...ber of lines per inch and each extra dot row added Extra Rows Lines Per Inch Dot Rows Extra Rows Lines Per Inch Dot Rows 0 8 5 24 9 6 1 33 1 8 1 25 10 6 0 34 2 7 8 26 11 5 8 35 3 7 5 27 12 5 6 36 4 7 2 28 13 5 5 37 5 7 0 29 14 5 3 38 6 6 8 30 15 5 2 39 7 6 5 31 16 5 1 40 8 6 3 32 Notes New applications should use the command ESC 3 see page 50 Reference ESC 2 see page 49 ESC 3 see page 50 ETB Funct...

Page 41: ...ing area it is deleted EM Function Full cut Code ASCII EM Code HEX 0x19 Description This command is the same like ESC i see page 70 Notes WINCOR NIXDORF suggests using the newer command GS V see page 155 to cut the receipt If not at beginning of line a linefeed will be done SUB Function Partial cut Code ASCII SUB Code HEX 0x1A Description This command is the same like ESC m see page 71 Notes WINCO...

Page 42: ...tation However there is no longer an automatic erasure whenever the user downloads a character set as happened previously as well as in the case where the current logo was never set 0 the automatic erasure if user flash memory had filled up with inactive logo 0 definitions upon next power cycle Warnings about the effect of running out of defined logo space during a download apply i e the command i...

Page 43: ...e mode prints all buffered data in the printable area collectively Notes This command is enabled only in page mode After printing the printer does not clear the buffered data the printing position or values set by other commands The printer returns to standard mode with FF ESC S and ESC When it returns to standard mode by ESC all settings are cancelled ESC DC2 Function Select 90 Degree Counter Clo...

Page 44: ... This command prints the first character of the print line depending of the actual font Therefore this command is not influenced by the Double with command ESC or the Select character size command GS ESC SYN Function Select Pitch Column Width Code ASCII ESC SYN n Code HEX 0x1B 0x16 n Range 0 n 1 n 0 Standard pitch Font A n 1 Compressed pitch Font B Default n 0 Standard pitch Description The follow...

Page 45: ... page mode is selected the vertical or horizontal motion unit is used for the print direction set by ESC T When the starting position is set to the upper left or lower right of the printing area using ESC T the horizontal motion unit is used When the starting position is set to the upper right or lower left of the printing area using ESC T the vertical motion unit is used The right side character ...

Page 46: ...C3 Bit 7 Underline mode ESC The print modes set by this command are effective for all characters except for HRI characters When some characters in a line are double height all characters on the line are aligned at the baseline When double width mode is turned on the characters are enlarged to the right based on the left side of the character When both double height and double width modes are turne...

Page 47: ...ion Sets the print starting position to nL nH 256 horizontal or vertical motion unit from the beginning of the line Notes The printer ignores any setting that exceeds the printing area When standard mode is selected the horizontal motion unit is used When page mode is selected the horizontal or vertical motion unit is used for the print direction set by ESC T When the starting position is set to t...

Page 48: ... d y xk Code HEX 0x1B 0x26 0x03 c1 c2 x1 d1 d y x1 xk d1 d y xk Range y 3 32 c1 c2 255 0 x 16 0 d 255 k c2 c1 1 Description Defines user defined characters from character code check c1 to c2 y specifies the number of bytes in the vertical direction x specifies the number of dots in the horizontal direction d is the dot data for the user defined characters Notes Character codes from the alphanumeri...

Page 49: ...r stored in SRAM it will be available until ESC or ESC is executed the power is turned off or the printer is reset SRAM is always preferred against the Flash The Flash works like a backup medium for the SRAM see 0 The relationship between the definition data and printing result is as follows see example below 0 1 n d1 d4 dk 2 MSB LSB d2 d5 dk 1 MSB LSB d3 d6 dk MSB LSB ...

Page 50: ...he User Data Storage Flash Page at the address specified in a0 MSB to a2 LSB The printer waits for m bytes of data following the 3 byte address Notes m 0 equals 256 byte of data If any of the memory locations addressed by this command are not currently erased the command is not executed Result of this write is returned in bit 2 of response to transmit status command 0x1D 0x72 n 4 ...

Page 51: ...Single density nL nH 256 3 33 24 dot double density 24 Double density nL nH 256 3 49 Command ESC 1 see page 46 98 Command ESC b m see page 47 d indicates the bit image data If m 49 d1 dk defines a line graphics see GS 0x83 If m 62 Notes Data d specifies a bit printed to 1 and not printed to 0 If the bit image data exceeds the number of dots to be printed on a line the excess data is ignored The bi...

Page 52: ... 3 and 4 of GS E for the memory switch When both standard mode and page mode are selected a starting point specified by ESC T is upper left or lower right m Mode Vertical dot density Horizontal Dot density Set adjacent dots Maximum number of dots Paper width 80 mm Paper width 57 5 mm 576 dot 408 dot 0 8 dot single density 203 3 dpi 203 2dpi Permitted 288 204 1 8 dot double density 203 3 dpi 203 dp...

Page 53: ...he beginning of the line d contains nL 256 nH data byte and contains the pixel information beginning with the actual position The MSB of the first byte corresponds to the first pixel on the left side and the LSB of the last byte corresponds to the last pixel on the right side If a data bit is set the corresponding pixel is switched on If the number of columns determined in this way is smaller than...

Page 54: ... the dots where the color is black Caution If two color paper is selected two lines for one line are exepted Der internal Buffer collects 256 lines If one line missed the whole buffer will be restrained until the lost line or another command follows If the compression bit is set by ESC b m If decompression activated data bit will be decompressed with TIFF 4 0 Packbits Decompression TIFF 4 0 Compre...

Page 55: ...ned on 90 clockwise rotated characters and white black reverse characters cannot be underlined The printer cannot underline the space set by HT ESC and ESC In Asia version FS Asia version changing the character size does not affect the current underline thickness Otherwise underline thickness grows with vertical charcter size When underline mode is turned off the following data cannot be underline...

Page 56: ... 6 inch Code ASCII ESC 2 Code HEX 0x1B 0x32 Description Sets the line spacing to 1 6 inch Notes The line spacing can be set independently in standard mode and in page mode Selected line spacing is effective until ESC 3 is executed ESC is executed the printer is reset or the power is turned off When underline mode is turned off the following data cannot be underlined but the thickness is maintained...

Page 57: ...otion unit is used When the starting position is set to the upper right or lower left of the printing area using ESC T the horizontal motion unit is used The line spacing can be set independently in standard mode and in page mode When the motion unit is changed after the line spacing is set the line spacing setting does not change Selected line spacing is effective until ESC 2 is executed ESC is e...

Page 58: ...he range of requested data exceeds the sector boundary the printer will only send the data up to the sector boundary ESC Function Copy Character Set from ROM to RAM Code ASCII ESC 0 0 0 Code HEX 0x1B 0x3A 0x30 0x30 0x30 Default Current active ROM Code Page Description Copies characters in the active ROM set to RAM Use this command to reinitialize the User Defined Character Set Code Page 437 is cop...

Page 59: ...d real time commands If ASB is enabled when the printer is disabled by this command the printer transmits the ASB status message whenever the status changes ASB is specified by GS a Settings of this command are effective until the printer is reset the power is turned off or ESC is executed only when printer was enabled by ESC otherwise the command ESC is send only to the display After ESC the defa...

Page 60: ...e user defined character is cancelled the corresponding pattern from current active ROM Code Page is printed This command is ignored if n is out of range or if the user defined character is not defined This command can cancel user defined characters for each font independently To select a font use ESC This command can cancel user defined characters for each memory destination independently To sele...

Page 61: ... deletes the data in the printing areas initializes all settings and selects standard mode This command can cancel all the settings such as print mode and line feed at the same time The printing position moves to the beginning of the line when this command is executed When a left margin is set in standard mode the position of the left margin is the beginning of the line or there is no data in the ...

Page 62: ...he character width should be set before using this command A maximum of 32 horizontal tab positions can be set Data exceeding 32 horizontal tab positions is processed as normal data This command cancels any previous horizontal tab settings Transmit n k in ascending order and place a NUL code at the end ESC D NUL cancels all horizontal tab positions k is not transmission data to the printer Even if...

Page 63: ...ESC is executed ESC is executed the printer is reset or the power is turned off The emphasized mode is not effective if smooth mode on GS b ESC G Function Turn double strike mode on off Code ASCII ESC G n Code HEX 0x1B 0x47 n Range 0 n 255 Default n 0 Description Turns double strike mode on or off When the LSB of n is 0 double strike mode is turned off When the LSB of n is 1 double strike mode is ...

Page 64: ...nt is 1016 mm 40 inches If the specified amount exceeds 1016 mm 40 inches the paper feed amount is automatically set to 1016 mm 40 inches When standard mode is selected the vertical motion unit is used When page mode is selected the vertical or horizontal motion unit is used for the print direction set by ESC T When the starting position is set to the upper left or lower right of the printing area...

Page 65: ...maximum amount is executed ESC K Function Select Single Density Graphics Code ASCII ESC K n1 n2 d1 dn Code HEX 0x1B 0x4B n1 n2 d1 dn Range Value of n Value of n 8 Dot Single Density Mode Value of d n1 256 x n2 Number of Bytes of Data Description Enters one line of 8 dot single density graphics into the print buffer Any print command is required to print the line after which the printer returns to ...

Page 66: ...L part of functions The following commands are not effective in page mode If these commands are processed in page mode an internal flag is activated and this flag is enabled when the printer returns to standard mode ESC V ESC a ESC GS L and GS W The printer returns to standard mode with ESC S FF and ESC When it returns to standard mode by ESC all settings are cancelled Standard mode is selected as...

Page 67: ... is executed data in all the printing areas is cleared the printing area set by ESC W returns to the default value but the value set by ESC T is maintained The following commands switch the settings for standard mode because these commands can be set independently in standard mode and in page mode ESC SP ESC 2 and ESC 3 In standard mode CAN ESC FF GS and GS are ignored The settings of ESC T and ES...

Page 68: ...ting has no effect in standard mode If this command is processed in standard mode an internal flag is activated and this flag is enabled when the printer selects page mode The parameters for the horizontal or vertical motion unit differ depending on the starting position of the printing area as follows If the starting position is the upper left or lower right of the printing area These commands us...

Page 69: ...for all characters except for HRI characters in standard mode When underline mode is turned on the printer does not underline 90 clockwise rotated characters When character orientation changes in 90 clockwise rotation mode the relationship between vertical and horizontal directions is reversed The 90 clockwise rotation mode has no effect in page mode If this command is processed in page mode an in...

Page 70: ...t of the printable area If the horizontal or vertical logical origin is set outside the printable area this command is cancelled and the following data is processed as normal data If horizontal logical origin printing area width exceeds the printable area the printing area width is automatically set to horizontal printable area horizontal logical origin If vertical logical origin printing area hei...

Page 71: ...dn Code HEX 0x1B 0x59 n1 n2 d1 dn Range Value of n Value of n 8 Dot Single Density Mode Value of d n1 256 x n2 Number of Bytes of Data Description Enters one line of 8 dot double density graphics into the print buffer Any print command is required to print the line after which the printer returns to normal processing mode Double density mode allows 0 576 dot columns The number of bytes sent is rep...

Page 72: ...ftware driver sends the set control point command after linefeed commands However if the set control point command is sent before the linefeed command the printer also sends the control point answer before the line is printed completely Two examples with nL nH 256 0x1234 Correct control point answer to host is sent after all mechanical activities A B C D E 0x0A 0x1B 0x5B 0x21 0x74 0x34 0x12 Wrong ...

Page 73: ...lected the horizontal motion unit is used When page mode is selected the horizontal or vertical motion unit is used for the print direction set by ESC T When the starting position is set to the upper left or lower right of the printing area using ESC T the horizontal motion unit is used When the starting position is set to the upper right or lower left of the printing area using ESC T the vertical...

Page 74: ...e mode an internal flag is activated and this flag is enabled when the printer returns to standard mode This command executes justification in the printing area set by GS L and GS W This command justifies printing data such as characters bit images and bar codes and space area set by HT if received before the printed text ESC and ESC The settings of this command are effective until ESC is executed...

Page 75: ...m paper is feed and all the time the paper near end sensor detects no paper If the linefeed button is pressed within the hysteresis the printer reports paper near end immediately When a paper near end is detected printing stops after printing the current line and feeding the paper The printer goes offline and Paper LED comes on after printing stops To resume printing cancel the paper roll near end...

Page 76: ...le printer is waiting for the button to be pressed in the following states Whether the paper can be fed or not depends on the state When the printer is waiting for the button to be pressed while GS is executed but paper cannot be fed To prevent problems caused by accidentally pressing the feed button use this command to disable the button When the paper roll end sensor detects a paper end the FEED...

Page 77: ...eginning of the line When a left margin is set in standard mode the position of the left margin is the beginning of the line When this command is processed in page mode only the printing position moves and the printer does not perform actual printing This command is used to temporarily feed a specific line without changing the line spacing set by other commands The vertical motion unit see GS P wi...

Page 78: ...grade mode Code ASCII ESC l Code HEX 0x1B 0x6C Description This command starts the firmware upgrade mode if RS232 interface is used It is described in the following document WN Enhanced Serial Protocol doc ESC m Function Partial cut Code ASCII ESC m Code HEX 0x1B 0x6D Description Partial cuts the receipt Notes There are two codes 0x1A or 0x1B 0x6D for this command and both perform the same functio...

Page 79: ...0 t1 255 0 t2 255 Default None Description Outputs the pulse specified by t1 and t2 to the specified connector pin m as follows m Connector pin 0 48 Drawer kick out connector pin 2 1 49 Drawer kick out connector pin 5 The pulse for ON time is t1 2 msec and for OFF time is t2 2 msec Notes If t2 t1 the OFF time is equal to the ON time ...

Page 80: ...mmand 0 0 is set this command is recognized and retained but has no effect The monochrome paper selection usually black controls the output When two color paper is loaded and the two color paper type command set this command will designate which of the two colors will be used for everything not specified as having an explicit color parameter s such al color logos side bars surround graphics backgr...

Page 81: ...6 WPC1254 Turkish 17 WPC1250 Central Europe 18 WPC28591 Latin 1 19 WPC28592 Latin 2 20 WPC28599 Turkish 21 WPC28605 Latin 9 22 PC864 Arabic 23 PC720 Arabic 24 WPC1256 Arabic 25 WPC28596 Arabic 26 KATAKANA Asia 27 PC775 Baltic 28 WPC1257 Baltic 29 WPC28594 Baltic Notes There are two codes for this command See Select international character code 0x1B 0x52 n Both codes perform the same function The a...

Page 82: ... Status Byte Bit Function 0 1 0 Drawer kick out connector pin 3 Low High 1 Drawer kick out connector pin 3 Low High 2 Undefined 3 Undefined 4 Undefined 5 Undefined 6 Undefined 7 Undefined Notes The printer sends one byte to the host computer when it is not busy or in a fault condition In DTS DSR protocol the printer waits for DSR SPACE If no cash drawer is connected the status will indicate High ...

Page 83: ... Cutter error No error Error occurred 4 Not Used Fixed to Zero Fixed to Zero 5 Temperature In valid range Too hot or too cold 6 Voltage In valid range Too high or too low 7 Not Used Fixed to Zero Fixed to Zero Notes The printer sends one byte to the host computer when it is not busy or in a fault condition In DTS DSR protocol the printer waits for DSR SPACE If the Memory Switch to suppress the Pap...

Page 84: ...If the value of n is out of the specified range this command is ignored Receipt shooting flushing is executed only if Receipt shooting was enabled by memory switch 128 5 command GS E Printing of barcode PDF417 will stopped the printout for a short time see GS k Wincor Nixdorf specific function ESC w n 8 Function Play melody from flash Code ASCII ESC w n 8 n m Code HEX 0x1B 0x77 0x6E 0x38 n m Range...

Page 85: ...expand code used with composite code 4 segments are the minimum Less than 4 segments the barcode will not printed Count of segments has to be even Otherwise setting will be discard If barcode with set segments to wide for print area barcode will not print Notes Wincor Nixdorf specific function OLD COMMAND Use GS k pL pH cn fn cn 51 fn 72 instead COMMAND will not supported in further releases ESC w...

Page 86: ...effective until ESC is executed the printer is reset or the power is turned off When upside down printing mode is turned on the printer prints 180 rotated characters from right to left The line printing order is not reversed therefore be careful of the order of the data transmitted ESC w n _ g e t _ l a s t _ e r r o r FUNCTION Returns the last occurred error Code ASCII ESC w n _ g e t _ l a s t _...

Page 87: ...ESC w n _ r e s e t _ sys _ e r r o r FUNCTION Reset last error Code ASCII ESC w n _ r e s e t _ sys _ e r r o r NULL Code HEX 0x1B 0x77 0x6E 0x5F 0x72 0x65 0x72 0x65 0x74 0x5F 0x73 0x79 0x73 0x5F 0x65 0x72 0x72 0x6F 0x72 0x00 Description This function resets the last error that has occurred Notes Wincor Nixdorf specific function TH230 only Firmware 01 07 or newer Get the last error with ESC w n _...

Page 88: ... mode Disabled Enabled Notes If the ASIA character module is not loaded then this command is ignored The ASIA character set module can only be loaded in the Asia version of TH230 The Controller of this version is equipped with at least 4 MByte Flash Memory FS Asia version Function Select Kanji character mode Code ASCII FS Code HEX 0x1C 0x26 Description This command enable the ASIA character set mu...

Page 89: ...th Notes If the ASIA character module is not loaded then this command is ignored The ASIA character set module can only be loaded in the Asia version of TH230 The Controller of this version is equipped with at least 4 MByte Flash Memory FS Asia version Function Cancel Kanji character mode Code ASCII FS Code HEX 0x1C 0x2E Description This command disable the ASIA character set multi byte code Notes...

Page 90: ... JIS code c1 EC 40 c2 7E 80 c2 9E Simplified Chinese GB2312 Korean c1 FE A1 c2 FE 0 d 255 K 72 Description Defines the user defined Kanji character pattern d1 dk specified by the character codes c1 and c2 Notes If the ASIA character module is not loaded then this command is ignored The ASIA character set module can only be loaded in the Asia version of TH230 The Controller of this version is equip...

Page 91: ...lash Memory FS S Asia version Function Set Kanji character spacing Code ASCII FS S n1 n2 Code HEX 0x1C 0x53 n1 n2 Range 0 n1 255 0 n2 255 Default n1 0 n2 0 Description Sets the left side character spacing of the multi byte code character to n1 horizontal or vertical motion unit sets the right side character spacing of the multi byte code character to n2 horizontal or vertical motion unit Notes The...

Page 92: ... Notes If the ASIA character module is not loaded then this command is ignored The ASIA character set module can only be loaded in the Asia version of TH230 The Controller of this version is equipped with at least 4 MByte Flash Memory GS ETX Function Real time request to printer Code ASCII GS ETX n Code HEX 0x1D 0x03 n Range 1 n 2 Description This command is identical to command DLE ENQ see page 2...

Page 93: ...te see chapter Online Offline State Diagram or if the receive buffer is nearly full Bit 6 Error means Cover open Paper out Black mark error Cutter error Thermistor error High voltage error or Low voltage error Thermistor error is an unrecoverable error High voltage error and Low voltage error are automatic recoverable errors Notes When transmitting block data Header NUL the status will be sent aft...

Page 94: ... 48 4 On Off Off 40 64 5 On Off On 50 80 6 On On Off 60 96 7 On On On 70 112 8 Character height selection Bit 2 Bit 1 Bit 0 Hex Decimal Height Off Off Off 00 0 1 normal Off Off On 01 1 2 double height Off On Off 02 2 3 Off On On 03 3 4 On Off Off 04 4 5 On Off On 05 5 6 On On Off 06 6 7 On On On 07 7 8 Notes The character size set by this command is effective for all characters except for HRI char...

Page 95: ...d is not preserved over a power cycle n 49 ASCII n 1 Loads active logo to Flash Memory This is the default condition for logo Flash storage A logo defined following this command is stored in Flash Memory n 50 ASCII n 2 Loads user defined characters to RAM only This is the default condition for user defined character storage Any user defined characters defined following this command are not preserv...

Page 96: ...being sending ACK 0x06 or NAK 0x15 n1 n2 8 is equivalent to 512k user memory Notes Flash memory is made up of user and program code Therefore the available flash memory space will vary with the amount of program code utilized If n1 n2 is greater than the maximum number of sectors available the command is ignored and the printer responds with NAK 0x15 Issuing this command with parameters different ...

Page 97: ...elect Current Logo 0x1D 0x23 n command In this case the printer assigns 0 as the active logo identifier It automatically stores any new logo definition in Flash Memory as logo 0 inactivating any previous logo 0 definitions If the Flash Memory space available for logos fills up with inactive logo 0 definitions the firmware erases the old definitions at the next power cycle This is the only case in ...

Page 98: ...nored The printer ignores any setting that exceeds the printing area set by ESC W The horizontal or vertical motion unit is used for the print direction set by ESC T When the starting position is set to the upper left or lower right of the printing area using ESC T the vertical motion unit is used When the starting position is set to the upper right or lower left of the printing area using ESC T t...

Page 99: ...t function m Function 1 49 Enter the hexadecimal dump for the communication interface 2 50 Print the extended seftest form 6 54 Print a sample print This command is effective only when processed at the beginning of the line When processing the hexadecimal dump m 1 49 the printer stays in this test until the printer is switched off When processing the hexadecimal dump m 1 49 the test button is igno...

Page 100: ... n 2 execute power off It doesn t process 1 49 Enable DLE SO n a b n 2 execute power off It does process Notes You will find additional information about Power off control by host on page 9 The behavior of the Power Button is described on page 7 The printer processes each real time command that is enabled upon receiving it A real time command specified as disabled is not processed The setting of t...

Page 101: ...ion 5 Changes the customized setting values 6 Function 6 Transmits the customized setting values 11 Function 11 Sets communication condition of serial interface 12 Function 12 Transmits communication condition of serial interface 129 Function 129 Set serial number 130 Function 130 Set production date 131 Function 131 Sets communication condition of Ethernet interface 132 Function 132 Transmits com...

Page 102: ...it a command from the host because the printer will not receive the data Excessive use of this function may destroy the non volatile memory As a guideline do not use any combination of the following commands more than 10 times per day for writing data to the non volatile memory FS q GS E part of functions GS L part of functions GS g 0 and FS g 1 Notes for the processing to transmit data Data is tr...

Page 103: ...ce back to the host Transmit data Hex Decimal Data quantity Header 0x37 55 1 byte Identifier 0x20 32 1 byte NULL 0x00 0 1 byte When it has executed this function send the next commands after checking the mode change notice The host can differentiate the mode change notice from other data the printer transmits by the specific information in the transmit data block When the header transmitted from t...

Page 104: ...he printer is in user setting mode After the software reset the printer goes into the power on state Executing this function enables setting values set in user setting mode such as memory switch or customize value Be sure to execute this function after changing all the setting values Be sure to readout the transmit buffer of the printer before sending this command This ensures that the data of the...

Page 105: ...eceive buffer to small 1 3 50 Reserved 1 4 48 Data processing when occurring receive error Ignore the data 49 Data processing when occurring receive error Replace with 1 5 48 Automatic line feed enabled 49 Automatic line feed disabled 1 6 to 1 8 50 Reserved When a 2 memory switch 2 is set as follows Msw Setting Value b Function 2 1 48 Code128 Check Digit is enabled 49 Code128 Check Digit is disabl...

Page 106: ...rinter status will be suppressed 128 7 48 Black mark sensor is disabled 49 Black mark sensor is enabled 128 8 48 Original Controller Yes 49 Original Controller No The printer must be switched off and on to take effect of changed setting Notes This function works only in the user setting mode The value of the memory switch is specified from bit 8 to bit 1 by b18 b11 When b 50 the status of the bit ...

Page 107: ... notification together with other status messages the status transmitted must be differentiated according to table Transmit Status Identification see page 196 The printer must be switched off and on to take effect of changed setting for Legacy printer support memory switch Msw 128 4 The value for receipt shooting flush time will be set in the customer value CV 13 see page 105 The disable of power ...

Page 108: ...0 or 0x31 48 or 49 8 byte NULL 0x00 0 1 byte The value of the memory switch is transmitted from bit 8 to bit 1 48 or 49 is transmitted for a bit of Reserved The host can differentiate the data for the memory switch from other transmitted data by the specific information in the transmit data block When the header transmitted from the printer is 0x37 or 55 decimal the data up to NUL 0x00 or 0 decima...

Page 109: ...L nH 256 300 70 nL 255 nH 1 a 10 Only TH230 Draft 1 nL nH 256 65535 0 nL 255 0 nH 255 a 11 10 nL nH 256 6 246 nL 255 nH 255 0 nL 6 nH 0 a 12 0 nL nH 256 255 0 nL 255 nH 0 a 13 0 nL nH 256 2 0 nL 255 nH 0 a 18 Default nL nH 256 6 default value when a 3 nL nH 256 0 default value when a 5 nL nH 256 0 default value when a 6 nL nH 256 0 default value when a 9 nL nH 256 220 default value when a 10 nL nH...

Page 110: ...ity 13 Receipt shooting flush time 14 Sleep Mode waiting time 15 Power on to Cash Drawer opening delay 16 Default character code table 17 Auto Recovery 18 Power On Behavior Paper width settings a 3 nL nH 256 Paper width Default 2 57 5 mm 80 mm 6 80 mm Print density settings a 5 nL nH 256 Print density Default 10 65526 50 100 9 65527 55 8 65528 60 7 65529 65 6 65530 70 5 65531 75 4 65532 80 3 65533...

Page 111: ...mm sec 220 mm sec 70 300 Speed in mm sec TH230 Draft 220 mm sec TH230 High Speed Draft Mode Values in the range 220 to 300 a only allowed in the TH230 printer This maximum speed is only reached if the print density is lower then 100 For example 300 mm s is reached with 65 density or less 260 mm s is reached with 85 density 235 mm s is reached with 100 density The reached maximum speed depends on t...

Page 112: ...s i e CV13 8 Receipt shooting flush time 2 sec The range is from 1 to 255 250 ms to 63 75 seconds or 0 for endless default If the Memory Switch for receipt shooting 128 5 see page 98 is disabled the printer ignores this time If the host sends a cut or graphics command the receipt is printed out Logo s are buffered The buffered data can also be printed out by the sequence ESC w n 7 see page 77 Afte...

Page 113: ...ittle bit higher compared to an USB Interface The printer leaves the Sleep Mode by every transmitted data on the host interface by pressing the feed button or power button or when the cover sensor is changed NOTE If both Receipt shooting and Sleep Mode are enabled and the Sleep Mode time is equal or smaller than the shooting time the buffered receipt is not printed out in Sleep Mode If a macro run...

Page 114: ...he Auto Recovery Mode that is executed in error condition by closing the Cover The Mode is the same like DLE ENQ n and mines 0 No Recover 1 Recover without clearing 2 Recover with clearing Power On Behavior a 18 This custom value is only available in iPRINT nL nH 256 Power On Behavior Default 0 Restore last state before power fail 0 1 System is always switched on 2 System is always switched off No...

Page 115: ...IXDORF power supply is used the printer responds with the string ID FAIL 48 and selects 48 Watt command GS E fn 6 see page 109 In this case the user has to set a fix maximum power setting according to the used power supply To indicate this condition the green Power LED is blinking see page 5 a 9 If the setting Auto is selected and the interface card is an PoweredUSB type then the printer selects 7...

Page 116: ...e NV memory area specified by parameter a a Customized value 3 Paper width 5 Print density 6 BM adjustment value offset 7 Sensor values 9 Maximum power 10 Maximum speed 11 Number of Endurance test tickets 12 Color density 13 Receipt shooting flush time 14 Sleep Mode waiting time 15 Power on to Cash Drawer opening delay 16 Default character code table 17 Auto Recovery Mode 18 Power On Behavior Pape...

Page 117: ... 54 53 53 51 52 95 0x36 0x35 0x35 0x33 0x35 54 53 53 51 53 100 0x30 48 105 0x31 49 110 0x32 50 115 0x33 51 120 0x34 52 125 0x35 53 130 0x36 54 BM adjustment value offset a 6 BM offset Direction Bit 7 Value Bit 6 Bit 0 decimal hexadecimal 0 127 0 Forwards 0 127 0x00 0x7F 128 255 1 Backwards 0 127 0x00 0x7F Two s complement values in backward direction Sensor values a 7 Sensor Value Backup Value BM ...

Page 118: ...35 0x35 0x35 0x35 0x33 0x33 0x34 0x35 Color density settings a 12 hexadecimal decimal Print density d1 d2 d3 d4 d5 d1 d2 d3 d4 d5 50 0x36 0x35 0x35 0x32 0x36 54 53 53 50 54 55 0x36 0x35 0x35 0x32 0x37 54 53 53 50 55 60 0x36 0x35 0x35 0x32 0x38 54 53 53 50 56 65 0x36 0x35 0x35 0x32 0x39 54 53 53 50 57 70 0x36 0x35 0x35 0x33 0x30 54 53 53 51 48 75 0x36 0x35 0x35 0x33 0x31 54 53 53 51 49 80 0x36 0x35...

Page 119: ...ecover with clearing 1 and 2 is equal to the function DLE ENQ n Power On Behavior a 18 This custom value is only available in iPRINT Value Power On Behavior 0 Restore last state before power fail 1 System is always switched on 2 System is always switched off Notes This function works both in user setting mode and during normal printer operation The printer transmits the data below Header to NUL wi...

Page 120: ... transmitted from the printer is 0x37 or 55 decimal the data up to NUL 0x00 or 0 decimal is handled as one group and can be identified using the following data Transmit data Hex Decimal 1st byte header 0x37 55 2nd byte identifier 0x27 39 However consider the following requirement for data processing When communication with the printer uses XON XOFF control the XOFF code may interrupt the Header to...

Page 121: ...its length Description Change the communication settings of the serial interface defined by a a Communication condition 1 Baud rate 2 Parity 3 Flow control 4 Bit length Baud rate a 1 is specified by number The following 8 baud rates are selectable 1200 2400 4800 9600 19200 38400 57600 and 115200 Example When defining 19200 bps 5 bytes as 19200 decimal 49 57 50 48 48 Baud rate bps d1 d2 d3 d4 d5 d6...

Page 122: ...tion 55 Select 7 bits length 56 Select 8 bits length Notes If the communication control between host and printer does not correspond the printer cannot process data from the host normally and the host cannot receive data from the printer normally This function works in user setting mode The communication condition set by this function is enabled by executing Function 2 or restarting the printer It...

Page 123: ...0x00 0 1 byte 1 Communication condition is specified by a 2 Setting value is set by Function 11 Setting value is set by Function 11 It might differ from the current communication condition before executing Function 2 This function is used to confirm whether Function 11 ends normally before executing Function 2 The host can differentiate the setting value of the customize value from other transmit ...

Page 124: ... of pL pH 256 is out of the specified range this command is ignored GS E pL pH fn d1 dn fn 130 Function Set production date Code ASCII GS E pL pH fn d1 dn Code HEX 0x1D 0x28 0x45 pL pH 0x82 d1 dn Range pL pH 256 7 fn 130 48 d 57 n 6 01 DD 31 01 MM 12 00 YY 99 Description Set the production date in the EEPROM Parameter d1 dn specifies the production date in ASCII character s as a string without zer...

Page 125: ...the communication settings of the Ethernet interface defined by a a Communication condition 2 DHCP 3 IP Address 4 Net Mask 5 Gateway 6 Boot P Bootstrap Protocol DHCP a 2 is specified by d as follows d Function 48 DHCP disabled 49 DHCP enabled Enabling DHCP will set the IP and gateway address to 0 0 0 0 and the net mask to 255 255 255 0 automatically IP address Net Mask and Gateway a 3 4 5 have a d...

Page 126: ... a Communication condition 1 MAC Address fixed 2 DHCP 3 IP Address 4 Net Mask 5 Gateway 6 Boot P Bootstrap Protocol Notes This function works in user setting mode and during normal operation but only if an Ethernet interface card is installed This function transmits Header to NUL as follows Field Value Data quantity Header 0x37 1 byte Identifier 0x33 1 byte Communication condition 1 0x31 0x35 1 by...

Page 127: ...rint starting position and the cutting position are set to the head position and the cutter position respectively when the BM sensor detects the BM Description This command is effective only when the BM sensor is enabled with memory switch 0x80 Sets adjustment values s for the printer operations specified by a pL pH specifies pL pH 256 for the number of bytes after pH a fn nL and nH a specifies se...

Page 128: ...s Therefore there may occur time delay for the execution of this command after the printer receives this command The delay time depends on the status of the receive buffer If the adjustment value greater than the paper mark distance printer feed only the remainder between adjustment value and mark distance mark width separator value modulo mark distance mark width For example if the separator valu...

Page 129: ...ter values from m on as bytes pL pH 256 p1 p2 p3 and p4 specify parameter values from m on as bytes p1 p2 256 p3 65536 p4 16777216 parameter is included in descriptions of all functions Recommen ded Functions This command is recommended for use when printing image data The image processing controlled using this command is referred to as the Graphics function The name is important as it distinguish...

Page 130: ... FF and clears the print buffer after FF is executed Notes The functions of this command are determined by the fn setting Actual command operation varies according to function The NV graphics and download graphics data is managed using key codes Expressed as kc1 and kc2 the key codes are used to identify data groups The key codes have a 2 byte configuration and can be specified using the full rang...

Page 131: ...t when other factors cause it to enter the BUSY state During the interval between the sending of the data header and NUL ASB status and the real time commands are rendered invalid When operating with a serial interface be sure to configure operation so that the host computer only uses the printer when it is READY When operating with a parallel interface the data sent by this function starting with...

Page 132: ...Send Data Remains indicated by identification status of send data group Response code Description ACK CAN Cancels procedure initiated by this command NAK Resends the just received data When codes other than the ACK NAK or CAN codes are received the CAN procedure is executed The data lengths listed in the table below are used for storing control information for each group of graphics data contained...

Page 133: ...mple If the entire capacity is 1200 bytes the 1200 expressed decimally as 49 50 48 and 48 is converted to 4 byte data When this command is used to send the entire capacity the entire byte capacity of the domain is sent regardless of definitions currently entered for NV graphics data The entire capacity referred to here includes the area used for control information Note that the NV graphics functi...

Page 134: ...0x28 0x4C 0x02 0x00 0x30 fn Range pL pH 256 2 pL 2 pH 0 m 48 fn 3 51 Description Sends the unused capacity in the NV graphics domain This function does not require ESC POS Handshaking Protocol Notes This function is used to send the following data groups beginning with the Header and ending with NUL Send data Hexadecimal Decimal Data length Header 0x37 55 1 byte Identifier 0x31 49 1 byte Unused ca...

Page 135: ...t the following procedures are required for processing the data When communication with the printer uses XON XOFF control the XOFF may interrupt the Header to NUL data string Do not use this function in conjunction with NV bit images FS q The domain of the NV graphics data can be selected by using Function 5 of the GS E command Unit byte Selectable data domain Default 0 64 K 128 K 192 K 256 K 320 ...

Page 136: ...When the number of NV graphics data groups exceeds 40 the groups are divided into blocks in compliance with the following conventions When unsent data is present the Identification status byte byte 3 is set to hexadecimal value 0x41 and decimal value 65 When unsent data is not present the Identification status byte byte 3 is set to hexadecimal value 0x40 and decimal value 64 2 If the number of NV ...

Page 137: ...e XOFF may interrupt the Header to NUL data string Do not use this function in conjunction with NV bit images FS q GS L pL pH m fn d1 d2 d3 fn 65 Code ASCII GS L pL pH m fn d1 d2 d3 Code HEX 0x1D 0x28 0x4C 0x05 0x00 0x30 0x41 0x43 0x4C 0x52 Range pL pH 256 5 pL 5 pH 0 m 48 fn 65 d1 67 d2 76 d3 82 Description Deletes NV graphics data that has been defined using Function 67 Deleted areas are designa...

Page 138: ...fn 66 32 kc1 126 32 kc2 126 Description Deletes NV graphics data that has been defined using key codes kc1 and kc2 Deleted areas are designated Unused areas Deleted key codes are designated as undefined Notes Use this function at the beginning of the line when the standard mode is selected This function is incompatible with macros so be sure to avoid including it when defining macros ...

Page 139: ...y codes kc1 and kc2 in non volatile memory Switch b is used to specify the number of colors for NV graphics xL and xH specify the horizontal size of NV graphics in units of dots xL xH 256 yL and yH specify the vertical size of NV graphics in units of dots yL yH 256 Switch c is used to specify the color of the defined data c Color specifications 49 Color 1 50 Color 2 Switch d is used to specify the...

Page 140: ... to dots that will not be printed Specify single data groups c d1 dk when monochrome is selected b 1 as the color Specify b number of data groups c d1 dk when multiple colors are selected b 1 It is also important to specify different colors in units of data groups when specifying color I NV graphics data is printed using Function 69 Note that it is not possible to create definitions for both NV gr...

Page 141: ...text effect bold underline orientation and font size do not affect the printing of the NV graphics data Feeds the paper the required distance when printing graphics data regardless of line feed pitch settings entered using the Set line feed command Moves print position to the left side of the printing area after printing of graphics data is completed The printer then enters the Beginning of line o...

Page 142: ...H cn fn Code HEX 0x1D 0x28 0x6B pL pH cn fn Range 2 pL pH 256 65530 0 pL 255 0 pH 255 cn 48 49 51 fn 65 66 67 68 69 70 80 81 82 Description cn fn Function name 0 0 All Erase symbol storage area 48 65 PDF417 Set the number of columns in the data region 66 PDF417 Set the number of rows in the data region 67 PDF417 Set the width of the module 68 PDF417 Set the row heigth 76 PDF417 Set ratio of width ...

Page 143: ... 0x6B pL pH 0x00 0x01 n Range pL pH 256 3 pL 3 pH 0 cn 0 fn 1 48 n 50 Description Transmit symbol storage area n signs the barcode type which should be read out If the type not equal to the stored barcode nothing will be transmit n Barcode 48 PDF417 49 QR Printer transmit follow data Transmit data Hex Decimal 1 byte header 0x37 55 2 byte identifier 0x28 33 3 byte identifier2 0x6B 107 4 byte transm...

Page 144: ... HEX 0x1D 0x28 0x6B pL pH 0x30 0x50 0x30 d1 dk Range 4 pL pH 256 5424 0 pL 255 0 pH 255 cn 48 fn 80 m 48 0 d 255 k pL pH 256 3 Description Stores the PDF417 symbol data d1 dk in the symbol storage area The printer will respond to the command being sending ACK 0x06 or NAK 0x15 Notes TH230 only Firmware 01 07 or newer Storgage area will be taken from RAM Font memory If there is no memory free comman...

Page 145: ...ommand works only if PF417 data stored in symbol area GS k pL pH cn fn n1 n2 cn 49 fn 65 Code ASCII GS k pL pH 1 A n1 n2 Code HEX 0x1D 0x28 0x6B pL pH 0x31 0x41 n1 n2 Range pL pH 256 4 pL 4 pH 0 cn 49 fn 65 n1 50 n2 0 Description Selects the model for QR Code n1 Function 50 Selects QR Model 2 encoding Notes TH230 only Firmware 01 07 or newer GS k pL pH cn fn n cn 49 fn 67 Code ASCII GS k pL pH 1 C...

Page 146: ...e error correction level to default GS k pL pH cn fn n cn 49 fn 70 Code ASCII GS k pL pH 1 F n Code HEX 0x1D 0x28 0x6B pL pH 0x31 0x46 n Range pL pH 256 3 pL 3 pH 0 cn 49 fn 70 0 n 4 48 n 52 0 48 default Description Encoding modes n Function 0 48 Encode lower case alphabet characters in 8 bit mode 1 49 Ignore case distinctions and use only upper case characters 2 50 Encode lower case alphabet char...

Page 147: ...pH cn fn cn 0 fn 0 Max encodable data depends on selected error level ERROR LEVEL L 1273 ERROR LEVEL M 1058 ERROR LEVEL Q 804 ERROR LEVEL H 625 GS k pL pH cn fn m cn 49 fn 81 Code ASCII GS k pL pH 1 Q 0 Code HEX 0x1D 0x28 0x6B pL pH 0x31 0x51 0x30 Range pL pH 256 3 pL 3 pH 0 cn 49 fn 81 m 48 Description Encodes and prints the QR symbol data in the symbol storage area Notes TH230 only Firmware 01 0...

Page 148: ...cifies the count of Data Segments in one Line Contains the barcode more Segments the barcode will be wrapped If the expand code used with composite code 4 segments are the minimum Less than 4 segments the barcode will not be printed Count of segments has to be even Otherwise setting will be discarded If barcode with set segments to wide for print area barcode will not be printed Notes TH230 only F...

Page 149: ...ecified Data control by key code is possible Redefining or deleting the same data is possible Selecting a color for printing is possible Defining data by raster format is possible The remaining capacity of the definition area can be confirmed Notes Pixel data are arranged column by column For each x 8 x columns are needed if y 1 8 bytes are necessary For each y 8 vertically dots will be defined Da...

Page 150: ...0x2F m Range 0 m 3 48 m 51 Description Prints a downloaded bit image using the mode specified by m as follows m Mode 0 48 Normal 1 49 Double width 2 50 Double height 3 51 Quadruple Recommended Functions It is recommended that NV graphics function GS L GS 8 L Function 52 and Function 80 Function 85 be used because it offers the following additional features Multiple logo data and mark data can be s...

Page 151: ... double strike underline character size white black reverse printing or 90 clockwise rotated upside down printing mode The downloaded bit image is defined by GS Downloaded bit image is printed in the default dot density dot density of vertical and horizontal direction in normal mode defined by GS L Function 49 After printing the downloaded bit image the printing position is set to the left of the ...

Page 152: ... While the macro is defined the printing is also executed The maximum number of data is limited to 2048 bytes All exceeded data bytes are not stored If the printer processes GS again immediately after previously processing it the printer clears the definition Macro is not defined when the power is turned on The defined contents of the macro are not cleared by ESC Defined content of the macro is ef...

Page 153: ...ll sectors available for user defined character and logos storage in RAM Printer returns NAK 0x15 if erase failure or READY 0x0D if erase is finished Notes Erases a page of Flash Memory and sends a carriage return when the operation is complete Important While erasing Flash Memory the printer disables all interrupts including communications To provide feedback to the application the printer respon...

Page 154: ... black reverse printing mode is effective for all characters except for HRI characters When white black reverse printing mode is turned on it also affects the right side character spacing set by ESC SP When white black reverse printing mode is turned on it does not affect the space between lines When underline mode is turned on the printer does not underline white black reverse characters This com...

Page 155: ...cter when printing a bar code using n as follows n Printing position 0 48 Not printed 1 49 Above the bar code 2 50 Below the bar code 3 51 Both above and below the bar code Notes HRI characters are printed using the font specified by GS f This command setting is effective until performing of ESC reset or power off HRI character is Human Readable Interpretation character indicated with barcode If p...

Page 156: ... version String with 6 characters _xx xx 66 Manufacturer _WINCOR NIXDORF 67 Printer model _TH230 or _TH230 68 Serial number Serial number of the printer String 69 ASIA Character generator name String with max 17 characters 70 Firmware date String format _DDMMYY 112 Ignored Ignored 128 Manufactured Board Number _A _Z _AA _AZ 129 Serial number date Production date set by GS E pL pH fn d1 dn fn 130 P...

Page 157: ...extmarke nicht definiert 160 Number of Colors String with the number of colors For example _1 or _2 161 ASIA Character generator name String with max 17 characters 162 ASIA Character generator version String with 6 characters _xx xx 163 ASIA Character generator checksum result String _OK or _Err 254 Sensor Plug Info String _xxxxxxxx See table below 255 Measured Mark Distance String with max 12 cha...

Page 158: ...ransmitted must be differentiated according to table Transmit Status Identification see page 196 When n is out of the specified range this command is ignored The Firmware version may be changed The firmware version can be confirmed by self test printing Self test is executed by panel switch operation when power is turned on Printer information is distinguished from other send data by the header of...

Page 159: ...d to 0 n 130 Character sets Example _0 PC437 1 PC850 2 PC852 3 PC860 4 PC863 5 PC865 6 PC858 7 PC866 8 PC1252 9 PC862 10 PC737 11 PC874 NUL n 254 Sensor Plug Info Byte from left Sensor 0 Mark Sensor 1 Undefined 2 Undefined 3 Undefined 4 Undefined 5 Undefined 6 Undefined 7 Undefined Value ASCII Meaning 0 not plugged 1 plugged 2 no information available n 158 Interface Board Description Example _RS2...

Page 160: ...when the printer returns to standard mode If the setting exceeds the printable area the left margin is automatically set to the maximum value of the printable area If this command and GS W set the printing area width to less than the width of one character the printing area width is extended to accommodate one character for the line Horizontal motion unit is used If horizontal motion unit is chang...

Page 161: ... SP ESC ESC GS L and GS W Commands using y ESC 3 ESC J ESC K and GS V In page mode the following commands use x or y when the starting position is set to the upper left or lower right of the printing area using ESC T Commands using x ESC SP ESC ESC W ESC and FS S Commands using y ESC 3 ESC J ESC K ESC W GS GS V and GS In page mode the following commands use x or y when the starting position is set...

Page 162: ...on unit Notes When standard mode is selected these commands are enabled only when processed at the beginning of the line When using these commands there is a gap between the cutting position and the printing position Function 0 1 48 49 If no autocutter is installed this command feeds the paper to the tear off edge Function 0 1 48 49 Cut is executed without feeding the print position to the cut pos...

Page 163: ...t possible head loss of 5 mm set n to 96 steps 12mm Function 67 The maximum value for backward feed is 96 steps 12 mm This reduces the top margin from 17 mm to 5 mm Function 67 programming hints see page 8 The vertical motion unit is specified by GS P see page 154 GS V 0 If Black mark sensor is enabled this command cuts paper not at the mark position To cut at mark positions please use GS V 65 66 ...

Page 164: ...age mode the printing area width is set and it is enabled when the printer returns to standard mode If the left margin printing area width exceeds the printable area the printing area width is automatically set to printable area left margin If this command and GS L set the printing area width to less than the width of one character the printing area width is extended to accommodate one character f...

Page 165: ...t to the downward and a negative number specifies movement to the upward N pitch movement to the downward nL nH 256 N Use the complement of N for setting N pitch movement to the upward nL nH 256 65536 N The horizontal or vertical motion unit is used for the print direction set by ESC T When the starting position is set to the upper left or lower right of the printing area using ESC T the vertical ...

Page 166: ...red to be repeated And then execute macro by using GS to print the same data repeatedly Macro function eliminates the need for sending all the print data every time If a macro is not defined or if r is 0 this command is ignored Even if the panel buttons are disabled by ESC c 5 paper feed button will be enabled temporarily while printer is waiting for the button to be pressed m 1 However paper can ...

Page 167: ...nabled except n 0 and ASB starts Then transmit the current ASB status After that during ASB is active the selected enabled ASB status is transmitted whenever the status changes When n 0 ASB is disabled During ASB is disabled ASB status is not transmitted Multiple status items can be selected During ASB is active ASB status is transmitted whenever the status changes even if ESC is not selected This...

Page 168: ... nearly full doesn t trigger an ASB message when using USB interface Second byte error information Bit Function Value 0 1 0 Customer display Not connected or Handshake blocked Connected and Handshake ready 1 Undefined 2 Undefined 3 Cutter error No error Error occurred 4 Not used Fixed to 0 5 Not used Fixed to 0 6 Error No error Error occurred 7 Not used Fixed to 0 Bit 3 If Cutter error occurs due ...

Page 169: ...l Mode Sleep Mode 1 Undefined 2 Undefined 3 Undefined 4 Not used Fixed to 0 5 Undefined 6 Undefined 7 Not used Fixed to 0 The printer transmits a 4 byte ASB status message without confirming whether the host can receive data ASB status except for the XOFF code is always consecutive ASB status can be differentiated by other transmission data by Bit 0 1 4 and 7 of the first byte Process the transmit...

Page 170: ...oth mode on GS b The italic mode is not effective if smooth mode on GS b GS f Function Select font for HRI characters Code ASCII GS f n Code HEX 0x1D 0x66 n Range n 0 1 48 49 Default n 0 Description Selects a font for the Human Readable Interpretation HRI characters when printing a bar code using n as follows N Font of HRI characters 0 48 Font A 1 49 Font B Notes The font set by this command is ef...

Page 171: ...r Errors 55 Low Voltage Errors 56 High Voltage Errors 57 Cover Open Counter 59 Maximum Head Temperature Notes In standard mode this command is effective only when processed at the beginning of a line Unsupported counter numbers cannot be specified Do not use this command while a macro is being defined because the command cannot be included in the macro There are two kinds of maintenance counters r...

Page 172: ...functions GS g 0 or FS g 1 When a counter reaches its maximum value its value is reset to 0 in the next updating process maximum values for maintenance counter see page 197 The maintenance counter value can be transmitted by GS g 2 nL nH x 256 59 Maximum Head Temperature This resettable counter isn t set to 0 but is set to the actual temperature of the thermal print head The maintenance counter va...

Page 173: ...ounter 1 7 52 inch total 149 Accumulation Counts all fired dots total 178 Accumulation Cutter operations total 198 Accumulation Power on time in hours total 199 Accumulation Power on cycles 200 Accumulation EEPROM update cycles 238 Accumulation Paper feeding mechanism changes 239 Accumulation Print head changes 240 Accumulation Cutter changes Notes There are two kinds of maintenance counters reset...

Page 174: ...0 Decimal 0 as maintenance counter data There is an exception described below When the host is communicating with the printer by XON XOFF control the XOFF code might interrupt Header NUL When transmitting data Header NUL with this command ASB status and real time commands cannot be used Be sure to use this function when the host is in the READY state The counter values may be different from actual...

Page 175: ...X Dimension GS1 Expanded 16 81 34 dots X Dimension GS1 Expanded Stacked 16 81 34 dots X Dimension Row 3 X Dimension Separator Notes This command setting is effective until performing of ESC reset or power off A set unit is one dot One dot corresponds to 0 125 mm 1 203 inch GS h works not for composite codes and the separator for composite codes see GS k Height of composite codes are adjusted with ...

Page 176: ...as normal characters if command not used at start of line UPC A UPC E EAN 8 EAN 13 GS1 Databar support in mixed 1D 2D data With 2D data the barcodes will be encoded like the composite code specification Without 2D Data the barcodes will be encoded like the normal specific 1D code specification 0x7C of barcodes which supports 1D 2D data indicates the separator between 1D and 2D data Data before the...

Page 177: ...1 k 12 0 9 48 d 57 2 E J AN1 3 1D Fixed 12 k 13 0 9 48 d 57 3 E J AN8 1D Fixed 7 k 8 0 9 48 d 57 4 CODE39 Variab le 1 k 255 0 9 48 d 57 A Z 65 d 90 S P 32 36 37 43 45 46 47 42 start stop character will be added automatically 5 ITF Interlea ved 2 of 5 Variab le 1 k 255 0 9 48 d 57 6 CODABA R NW7 Variab le 1 k 255 0 9 48 d 57 A D 65 d 68 start stop character 36 43 45 46 ...

Page 178: ... Variab le 1 k 13 0 9 48 d 57 13 GS1 Stacked 1D Variabl e 1 k 13 0 9 48 d 57 14 GS1 Stacked Omni Directio nal 1D Variabl e 1 k 13 0 9 48 d 57 15 GS1 Limited 1D Variabl e 1 k 13 0 9 48 d 57 16 GS1 Expande d 1D Variabl e 1 k 72 0 9 48 d 57 A Z 65 d 90 a z 97 d 122 SP 32 33 34 35 FNC1 37 38 39 40 41 42 43 44 45 46 47 58 59 60 61 62 63 _ 95 ...

Page 179: ...s 67 E J AN13 1D Fixed 12 k 13 0 9 48 d 57 2D Variable 1 j n 0 d 255 CC A CC B 4 Columns 68 JAN8 EAN8 1D Fixed 7 k 8 0 9 48 d 57 2D Variable 1 j n 0 d 255 CC A CC B 3 Columns 69 CODE39 Variable 1 n 255 0 9 48 d 57 A Z 65 d 90 SP 32 36 37 43 45 46 47 42 start stop character 70 ITF Interleav ed 2 of 5 Variable 1 n 255 0 9 48 d 57 71 CODABAR NW7 Variable 1 n 255 0 9 48 d 57 A D 65 d 68 36 43 45 46 47...

Page 180: ... GS1 Truncate d 1D Variable 1 k 13 0 9 48 d 57 2D Variable 1 j n 0 d 255 CC A CC B 4 Columns 78 GS1 Stacked 1D Variable 1 k 13 0 9 48 d 57 2D Variable 1 j n 0 d 255 CC A CC B 4 Columns 79 GS1 Stacked Omni Direction al 1D Variable 1 k 13 0 9 48 d 57 2D Variable 1 j n 0 d 255 CC A CC B 4 Columns 80 GS1 Limited 1D Variable 1 k 13 0 9 48 d 57 2D Variable 1 j n 0 d 255 CC A CC B 3 Columns 81 GS1 Expand...

Page 181: ... the bar code data in the print buffer but the printer does not print the bar code data The bar code width that exceeds the printing area cannot be specified This command feeds as much paper as required to print the bar code regardless of the line spacing specified by line space setting commands The bar code is not affected by print mode emphasized underline 90 clockwise rotated or upside down pri...

Page 182: ... combination of UPC A and the composite codes CC A and CC B Separator to composite code is ASCII 7C HEX 124 DEZ Barcode can be printed without composite part Barcode will not be printed if the separator is given without composite code UPC E m 1 66 process The first data d1 is processed as number system character NSC so 0 must be specified If n is out of the specified range or if n is an odd number...

Page 183: ...ITF request a even count of digits In case of odd digits a leading 0 will be inserted if the memory switch CodeITF Leading 0 is enabled see GS E In other case last digit will be discarded CODABAR m 6 71 process Start code and stop code are not added automatically Transmit data including the codes Check digits are not calculated and added PDF417 m 10 75 process Parameter is set with command GS p Pr...

Page 184: ...08 9 09 09 10 0A 10 11 0B 11 12 0C 12 13 0D 13 14 0E 14 15 0F 15 16 10 0 0 16 17 11 1 1 17 18 12 2 2 18 19 13 3 3 19 20 14 4 4 20 21 15 5 5 21 22 16 6 6 22 23 17 7 7 23 24 18 8 8 24 25 19 9 9 25 26 1A 26 27 1B 27 28 1C 28 29 1D 29 30 1E 30 31 1F 31 32 20 32 33 21 A A 33 34 22 B B 34 35 23 C C 35 36 24 D D 36 37 25 E E 37 38 26 F F 38 39 27 G G 39 40 28 H H 40 ...

Page 185: ...5 37 W W 55 56 38 X X 56 57 39 Y Y 57 58 3A Z Z 58 59 3B 59 60 3C 60 61 3D 61 62 3E 62 63 3F _ _ 63 64 40 NUL 64 65 41 SOH a 65 66 42 STX b 66 67 43 ETX c 67 68 44 EOT d 68 69 45 ENQ e 69 70 46 ACK f 70 71 47 BEL g 71 72 48 BS h 72 73 49 HT i 73 74 4A LF j 74 75 4B VT k 75 76 4C FF l 76 77 4D CR m 77 78 4E SO n 78 79 4F SI o 79 80 50 DLE p 80 81 51 DC1 q 81 82 52 DC2 r 82 83 53 DC3 s 83 84 54 DC4 ...

Page 186: ...calculated and added automatically Special character HRI is processed as follows The printer does not print HRI characters that correspond to the shift character or code set selection character CODE A CODE B or CODE C HRI characters of the function characters FNC1 FNC2 FNC3 or FNC4 and control characters 0x00 to 0x1F and 0x7F are printed as spaces Not printable characters 32 are printed as The fol...

Page 187: ...or to composite code is ASCII 7C HEX 124 DEZ Barcode can be printed without the composite part Barcode will not be printed if the separator is given without composite code If encoding of composite code failed barcode will not be printed Example 2001234567890 Composite GS1 Stacked Composite m 13 78 process Barcode is combination of GS1 Stacked and the composite codes CC A and CC B Separator to comp...

Page 188: ...t is 1999999999999 All barcodes greater this value will not be printed The barcode information is not printed as normal text If encoding of composite code failed barcode will not be printed Example 0040941991026 Composite GS1 Expand Composite m 16 81 process Barcode can be print out over more than 1 row by setting the segments per row see ESC w n b Barcode is combination of GS1 Expand and the comp...

Page 189: ...of validation according to GS1 128 specification http www gs1 128 info Separator to composite code is ASCII 7C HEX 124 DEZ If encoding of composite code failed barcode will not be printed CC_A Composite Code is only usable with an composite Barcode The maximum of encoded data depends from the parts of characters and digits Columns Max Digits Max Chars 2 47 26 3 47 26 4 56 31 Input Buffer 255 chars...

Page 190: ...Width of a single module in dots YES f y dimen sion 2 f 25 Height of the code word in dots NO PDF 417 is a multi row continuous variable length symbolism which has high data capacity Each symbol has between 3 and 90 rows with each row containing a start pattern a left row indicator 1 to 30 data characters a right row indicator and a stop pattern The number and length of the rows are selectable whi...

Page 191: ...each having 929 distinct patterns Because different clusters are used for adjacent rows it is possible for the decoder to tell if the scanning path is crossing row boundaries without the use of separator bars All parameter except e ignored but it have to be transmitted The height is the double of the width ...

Page 192: ...s to be transmitted is as follows Paper sensor status n 1 49 Bit Function Status 0 1 0 Paper roll near end sensor Paper present No paper 1 Cover Closed Open 2 Paper roll end sensor Paper present No paper 3 Undefined 4 Not used Fixed to 0 5 Undefined 6 Undefined 7 Not used Fixed to 0 The status to be transmitted is as follows Drawer kick out connector status n 2 50 Bit Function Status 0 1 0 Drawer ...

Page 193: ...nizes the print completion by receiving paper sensor status Normal status can be differentiated by the information of bits 4 and 7 from other transmission data If the data transmitted from the printer after outputting GS r to the printer is 0xx1xx10 x 0 or 1 process the data as a normal status When the paper roll cover is open paper detection detected by the paper roll end sensor may be incorrect ...

Page 194: ...3 JAN8 EAN8 CODE93 and CODE128 and Binary level barcode CODE39 ITF CODABAR NW7 The units for n depend on the printer model This command setting is effective until performing of ESC reset or power off If the barcode to wide for printable area barcode will not be print The module width differs depending on the specification Unit mm n Module width mm for multilevel bar code 1 0 125 0 005 inch 2 0 250...

Page 195: ...iptions for customer selected color types m n 1 0 red black paper When issuing this command a value of n 0xFF can always be use that is interpreted as requested the setting of the highest version defined in the printer of that category This is a save way for an application to always select the latest of a manufacturer s paper category thus choosing latest standard red black An incorrect setting of...

Page 196: ...1 see page 31 GS 0x83 Function Print raster color graphics Code ASCII GS 0x83 n1 n144 576 dots 80 mm paper or n102 408 dots 57 5 mm paper Code HEX 0x1D 0x83 n1 n144 576 dots 80 mm paper or n102 408 dots 57 5 mm paper Range n1 to n144 n102 corresponds to one dot row data Description For each printed dot row starting at the top left two part bit strings are used to define in the first half all dots ...

Page 197: ...ytes Note that n2 can be any length subject of memory space availability If 57 5 mm paper is used the value of n1 could be bigger than 408 8 bytes but of course the logo is truncated on the right side while printed For each color dot row starting at the top left a two part parameter byte string is used to define first all dots that are not white and the second half defines all dots where the color...

Page 198: ...the character itself m 1 black m 2 paper color n standard cell height Default n 0 off Description This command prints a strike through over characters If the strike through is as wide as the cell height this will produce a cell that will be printed as a solid current color When characters are greater than normal size such as double high the number of character rows claimed by n also increases prop...

Page 199: ...en set If an immediate effect is desired follow up this command with a set paper type m n where m and n are bytes 0 and 1 of the description Once stored in flash memory this paper type selectable by ID m n remains a valid choice by the set paper type command until firmware flash memory is erased Restrictions If the value of m n 0 0 then the command will be ignored It is thus impossible to overwrit...

Page 200: ...criptions the last two bytes will be a CRC value and the first 24 bytes will be as follows Bytes Offset Definition 1 0 Manufacturer paper type category 1 1 Version in type category 1 2 Print head type 1 3 Structure format type 20 4 Descriptive name as a null terminated ASCII string GS 0xA0 Function Set temporary max target speed Code ASCII GS 0xA0 nL nH Code HEX 0x1D 0xA0 nL nH Range 0x15 nL nH 25...

Page 201: ... mm bitmap to 8 dots mm bitmap Code ASCII US EOT n Code HEX 0x1F 0x04 n Range 0 Off 1 On Default n 0 Off Description Selects or cancels 6 dot mm emulation mode When the 6 dot mm emulation is selected logos and graphics are expanded horizontally and vertically during download to emulate their size on a 6 dot mm printer The horizontal positioning commands also emulate positioning on a 6 dot mm print...

Page 202: ...software version The first 4 bytes returned are an ASCII string for the loader version The second 4 bytes are an ASCII string for the firmware version Example For 1 034 56 8 bytes the loader version is 1 03 and the firmware version is 4 56 Notes New software applications should use the more significant command GS I see page 149 instead of US V US z Function Real time commands disabled Code ASCII U...

Page 203: ...Function Status Reply ESC l upgrade 00011011 B ESC w n 7 00011001 B DLE EOT 0 1 10 B GS ENQ 1 0 B GS I with 1 n 3 49 n 51 0 0 B GS I with n 65 1st byte 01011111 B GS g 2 1st byte 01011111 B GS E with fn 4 or 6 1st byte 00110111 B XON 00010001 B XOFF 00010011 B ASB 1st byte 0 1 00 B ASB 2nd to 4th byte 0 0 B Power on notification 00111011 B ...

Page 204: ...the printer hardware Maximum power Auto or 48 W 110 W GS E fn 5 Auto Maximum speed 70 220 mm sec GS E fn 5 220 mm sec Max speed TH230 Draft 70 300 mm sec GS E fn 5 220 mm sec Number of Endurance test tickets 1 65535 Tickets GS E fn 5 100 Tickets Paper selection Single color Two color GS 0x81 Single color Firmware version 00 00 99 99 no Depends of the firmware version Maintenance Counter for the wh...

Page 205: ...Maximum Head Temperature 0 255 GS g 0 0 Reset able Maintenance Counter for replaced spare parts Linefeeds 0 4294967295 GS g 0 0 Dots 0 4294967295 GS g 0 0 Cuts 0 4294967295 GS g 0 0 Counter for replacements of spare parts Linefeed mechanism 0 255 GS g 0 0 Print head 0 255 GS g 0 0 Cutter unit 0 255 GS g 0 0 ...

Page 206: ...g Thermal Printer on 57 5 mm Paper Default character spacing Characters per line cpl Font Character Dimension W H Spacing set by the command ESC SP see page 38 Character size incl spacing mm B H Used dots per Line Print area per Line max 72 mm 576 dot mm Character Density cpi 44 A 13 24 0 1 625 3 572 71 50 15 6 41 A 13 24 1 1 75 3 574 71 75 14 5 38 A 13 24 2 1 875 3 570 71 25 13 5 57 B 10 24 0 1 2...

Page 207: ...e available or not after power off The flash memory works like a backup medium for the RAM If a font defined in flash and not in RAM the RAM will be update The user defined character will be read only from the RAM GS define the storage destination of user characters but it is read only from the RAM If flash chosen as storage destination but the character is in RAM already defined the RAM character...

Page 208: ...ic 6 PC858 Multilingual I Euro 7 PC866 Russian 8 WPC1252 Latin I 9 PC862 Hebrew 10 PC737 Greek 11 PC874 Thai 12 PC857 Turkish 16 WPC1254 Turkish 17 WPC1250 Central Europe 18 WPC28591 Latin 1 19 WPC28592 Latin 2 20 WPC28599 Turkish 21 WPC28605 Latin 9 22 PC864 Arabic 23 PC720 Arabic 24 WPC1256 Arabic 25 WPC28596 Arabic 26 KATAKANA Asia 27 PC775 Baltic 28 WPC1257 Baltic 29 WPC28594 Baltic All codepa...

Page 209: ...301 for 1 03 02 12 Separator 1 Blank 0x20 13 Version 4 Release and release version 0105 for V01 05 17 Separator 1 Blank 0x20 18 Name 8 Module name e g TH230__ 26 Separator 1 Dot 27 Extension 3 Extension FNT for standard code pages 30 Separator 1 String terminator 0x00 31 Length 3 Module data length 34 Checksum 4 32 bit checksum 38 Reserved 26 Reserved 64 Name 16 Name of this Character Set 80 Separ...

Page 210: ...set n 8 1 3 4 Character image n max n LastCharacter FirstCharacter 1 Index for International Code Table 0 not international Reserved Offset to Character Image International Code Table Structure Offset Field Size Description 0 CharacterNumber 1 Number of characters for one country 1 CountryNumber 1 Number of countries 2 CharacterWidth 1 Width of character in pixels 3 CharacterHeight 1 Height of cha...

Page 211: ...Byte 29 Line 16 Byte 32 Byte 31 Line 17 Byte 34 Byte 33 Line 18 Byte 36 Byte 35 Line 19 Byte 38 Byte 37 Line 20 Byte 40 Byte 39 Line 21 Byte 42 Byte 41 Line 22 Byte 44 Byte 43 Line 23 Byte 46 Byte 45 Line 24 Byte 48 Byte 47 Example Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 Line 7 Line 8 Line 9 Line 10 Line 11 Line 12 Line 13 Line 14 Line 15 Line 16 Line 17 Line 18 Line 19 Line 20 Line 21 Line 22 L...

Page 212: ...Byte 29 Line 16 Byte 32 Byte 31 Line 17 Byte 34 Byte 33 Line 18 Byte 36 Byte 35 Line 19 Byte 38 Byte 37 Line 20 Byte 40 Byte 39 Line 21 Byte 42 Byte 41 Line 22 Byte 44 Byte 43 Line 23 Byte 46 Byte 45 Line 24 Byte 48 Byte 47 Example Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 Line 7 Line 8 Line 9 Line 10 Line 11 Line 12 Line 13 Line 14 Line 15 Line 16 Line 17 Line 18 Line 19 Line 20 Line 21 Line 22 L...

Page 213: ...Programmers Guide TH230 TH230 206 Standard code pages tables In the following tables the implemented code pages are shown Character code table Page 0 PC437 USA Standard Europe ...

Page 214: ...TH230 TH230 Programmers Guide 207 Character code table Page 1 PC850 Multilingual Latin I ...

Page 215: ...Programmers Guide TH230 TH230 208 Character code table Page 2 PC852 Latin II ...

Page 216: ...TH230 TH230 Programmers Guide 209 Character code table Page 3 PC860 Portuguese ...

Page 217: ...Programmers Guide TH230 TH230 210 Character code table Page 4 PC863 Canadian French ...

Page 218: ...TH230 TH230 Programmers Guide 211 Character code table Page 5 PC865 Nordic ...

Page 219: ...Programmers Guide TH230 TH230 212 Character code table Page 6 PC858 Multilingual I Euro ...

Page 220: ...TH230 TH230 Programmers Guide 213 Character code table Page 7 PC866 Russian ...

Page 221: ...Programmers Guide TH230 TH230 214 Character code table Page 8 WPC1252 Latin I ...

Page 222: ...TH230 TH230 Programmers Guide 215 Character code table Page 9 PC862 Hebrew ...

Page 223: ...Programmers Guide TH230 TH230 216 Character code table Page 10 PC737 Greek ...

Page 224: ...TH230 TH230 Programmers Guide 217 Character code table Page 11 PC874 Thai ...

Page 225: ...Programmers Guide TH230 TH230 218 Character code table Page 12 PC857 Turkish ...

Page 226: ...TH230 TH230 Programmers Guide 219 Character code table Page 16 WPC1254 Turkish ...

Page 227: ...Programmers Guide TH230 TH230 220 Character code table Page 17 WPC1250 Central Europe ...

Page 228: ...TH230 TH230 Programmers Guide 221 Character code table Page 18 WPC28591 Latin 1 ...

Page 229: ...Programmers Guide TH230 TH230 222 Character code table Page 19 WPC28592 Latin 2 ...

Page 230: ...TH230 TH230 Programmers Guide 223 Character code table Page 20 WPC28599 Turkish ...

Page 231: ...Programmers Guide TH230 TH230 224 Character code table Page 21 WPC28605 Latin 9 ...

Page 232: ...TH230 TH230 Programmers Guide 225 Character code table Page 22 PC864 Arabic ...

Page 233: ...Programmers Guide TH230 TH230 226 Character code table Page 23 PC720 Arabic ...

Page 234: ...TH230 TH230 Programmers Guide 227 Character code table Page 24 WPC1256 Arabic ...

Page 235: ...Programmers Guide TH230 TH230 228 Character code table Page 25 WPC28596 Arabic ...

Page 236: ...TH230 TH230 Programmers Guide 229 Character code table Page 26 KATAKANA Asia ...

Page 237: ...Programmers Guide TH230 TH230 230 Character code table Page 27 PC775 Baltic ...

Page 238: ...TH230 TH230 Programmers Guide 231 Character code table Page 28 WPC1257 Baltic ...

Page 239: ...Programmers Guide TH230 TH230 232 Character code table Page 29 WPC28594 Baltic ...

Page 240: ...D 5 Separator 1 Blank 0x20 6 Date 6 Release date with the format YYMMDD 020301 for 1 03 02 12 Separator 1 Blank 0x20 13 Version 4 Release and release version 0105 for V01 05 17 Separator 1 Blank 0x20 18 Name 8 Module name e g TH230__ 26 Separator 1 Dot 27 Extension 3 Extension FNE for standard code pages 30 Separator 1 String terminator 0x00 31 Length 3 Module data length 34 Checksum 4 32 bit chec...

Page 241: ...9 Reserved Reserved 10 Reserved Reserved 11 Reserved Reserved 12 Reserved Reserved 13 Reserved Reserved 14 Reserved Reserved 15 Reserved Reserved 88 CodeTableArray 20 FirstCode LastCode OffsetFont 20 8 2 2 4 Code table array 2 Bytes for the first character in table 2 Bytes for the last character in table Offset to Code Table Structure Code Table Structure Offset Field Size Description 0 CharacterW...

Page 242: ... An USB device has only one device descriptor Offset Field Size Value Description 0 bLength 1 12h Size of this descriptor in bytes 1 bDescriptorType 1 01h DEVICE descriptor type 2 bcdUSB 2 0200h USB specification release number in binary coded decimal 2 0 4 bDeviceClass 1 00h Class code 5 bDeviceSubClass 1 00h Subclass code 6 bDeviceProtocol 1 00h Protocol code 7 bMaxPacketSize0 1 08h Maximum pack...

Page 243: ...ce 0 Descriptor Printer Endpoint 1 2 Descriptors Interface 1 Descriptor DFUX DFUX Functional Descriptor Offset Field Size Value Description 0 bLength 1 09h Size of this descriptor in bytes 1 bDescriptorType 1 02h CONFIGURATION descriptor type 2 wTotalLength 2 XXh Size of complete configuration descriptors configuration interface endpoint class or vendor specific in bytes 4 bNumInterfaces 1 02h Num...

Page 244: ...re Upgrade interface DFUX and the Printer interface A multi interface device is called composite device Interface 0 Descriptor Printer This interface is used as printer class interface for transferring data to and from the device From the systems point of view this interface stands for the printer device so the used printer class driver will be bind to this interface Offset Field Size Value Descri...

Page 245: ... descriptor in bytes 1 bDescriptorType 1 05h ENDPOINT descriptor type 2 bEndpointAddress 1 81h Endpoint address IN Bit 7 0 OUT 1 IN Bit 4 6 Reserved must be 0 Bit 0 3 Endpoint number 3 bmAttributes 1 02h BULK endpoint 4 wMaxPacketSize 2 40h Maximum data transfer size 6 bInterval 1 00h Does not apply to Bulk endpoints Endpoint 2 Descriptor Interface 0 This endpoint is used for transferring data fro...

Page 246: ... requesting a string descriptor the requester specifies the desired language using a sixteen bit language ID LANGID LangID Offset Field Size Value Description 0 bLength 1 04h Size of this descriptor in bytes 1 bDescriptorType 1 03h STRING descriptor type 2 bString 2 0409h standard US ASCII characters Manufacture String Offset Field Size Value Description 0 bLength 1 1Eh Size of this descriptor in ...

Page 247: ...ors are not published in the devices descriptor set hidden strings SerialNumber String index 80h Offset Field Size Value Description 0 bLength 1 12h Size of this descriptor in bytes 1 bDescriptorType 1 03h STRING descriptor type 2 bString 10h Unicode Serial Number WN Device Configuration String index 81h Offset Field Size Value Description 0 bLength 1 28h Size of this descriptor in bytes 1 bDescri...

Page 248: ...nterface to their default states This request does not change the USB addressing or USB configuration in other words there is none new USB enumeration USB Reset On receipt of an USB reset all printer buffers are cleared and a new USB enumeration is started USB Detach Attach When the printer is detached from USB the current printer receive buffer content will be proceed on On attaching the printer ...

Page 249: ...g those please refer to GS E pL pH fn a d1 dk Function 11 page 114 Handshake control In DTR DSR mode the RTS line is switch parallel to DTR to be conform to older cable variants Receiving data DTR RTS MARK between power on and ready to accept data in an error state remaining space in data buffer falls below off hysteresis XOFF sent in an error state remaining space in data buffer falls below off h...

Page 250: ...ide TH230 TH230 244 Receipt Buffer Following hysteresis levels are valid Size 4096 Bytes Size 45 Bytes Handshake Off fill level Handshake On fill level Handshake Off fill level Handshake On fill level 3968 3072 27 9 ...

Page 251: ...HCP DNS DDNS ARP BOOTP HTTP Telnet SNMP DynDNS Connector RJ 45 Handshake control Due to technical limitations there is none data flow control handshake Therefore the application must ensure that the printer receipt data buffer does not overflow see page 247 0 for receipt buffer size Only with Printer Legacy Support enabled a receipt data buffer overflow will be prevented but with the disadvantage ...

Page 252: ...ower up or printer reset The service menu splits up in two parts LED Service Menu see page 248 Print Service Menu see page 249 If there is no paper inserted in the printer there are only some major functions which do not require paper available via the LED driven menu With paper inserted the Print menu will be printed out and all of the functionality of the service menu is available The flowchart ...

Page 253: ...selected function Confirm The current selection is indicated by the 3 LED s Function LED code LED on LED off LED flashing Please select 1 2 3 4 5 6 7 8 9 10 For example if you wish to choose the function with the number 3 you have to click the LF button 3 times and then confirm the selection with a long click If the print menu is active the current menu or sub menu will also be printed Note In cas...

Page 254: ...D Service Menu If there is no paper inside the printer the service menu will be represented by a LED driven menu which allows only some major functions The hierarchy is flat which means there are no sub menus To get access to the full service menu please insert some paper in the printer Function LED code LED on LED off LED flashing Description Please select 1 Reset printer 2 Run sensor test 3 Set ...

Page 255: ...shown Service Menu Structure Main Menu Main Menu 1 Exit Save Print Self Test Diagnostic Configuration Information 2 3 4 5 Exit Menu Printout Selftest returns to Main Menu Diagnostic 1 Exit Endurance Test Rolling Pattern Test Sensor Test Black Mark Test 2 3 4 5 Cutter Test Full Cut 6 Cutter Test Half Cut 7 Configuration 1 Exit Save Hardware Software Print Options EEPROM Counters 2 3 4 5 RS232 Commu...

Page 256: ...nt Pattern Unlimited 2 3 Print Pattern 10 Times Print Pattern 50 Times 4 5 Print Pattern 100 Times 6 Print Pattern 500 Times 7 Cutter Test Full Cut 1 Exit Perform Single Cut Perform Unlimited Cuts 2 3 Perform 10 Cuts Perform 50 Cuts 4 5 Perform 100 Cuts 6 Perform 500 Cuts 7 Cutter Test Half Cut 1 Exit Perform Single Cut Perform Unlimited Cuts 2 3 Perform 10 Cuts Perform 50 Cuts 4 5 Perform 100 Cut...

Page 257: ... Sleep Mode Enable Disable Sleep Mode Time 2 3 Sleep Mode Enable Disable 1 Exit Enable Sleep Mode Disable Sleep Mode 2 3 Sleep Mode Time 1 Exit Endless 10 sec 2 3 30 sec 4 10 min 6 Main Menu Configuration Hardware Sleep Mode Interface Power On Off 4 Sleep Mode Cash Drawer Delay 5 30 min 7 1 min 5 Sleep Mode Interface Power On Off 1 Exit Set Sleep Mode Interface Power On Set Sleep Mode Interface Po...

Page 258: ...ce Paper NE Notice 2 3 Automatic Line Feed No of Endurance Tickets 4 5 Legacy Printer Support 6 No of Endurance Tickets 1 Exit Print 1 Ticket Print 10 Tickets 2 3 Print 30 Tickets Print 100 Tickets 4 5 Print 1000 Tickets 6 Print 65535 Tickets 7 Legacy Printer Support 1 Exit Enable Legacy Printer Support Disable Legacy Printer Support 2 3 Main Menu Configuration Software 7 Listen To RT Cmds Listen ...

Page 259: ...nsity 4 5 Color Print Density 6 Print Density 1 Exit 50 70 2 3 85 100 4 5 115 6 130 7 Auto Recovery 7 130 mm sec 4 160 mm sec 5 190 mm sec 6 220 mm sec 7 Color Print Density 1 Exit 50 70 2 3 85 100 4 5 115 6 130 7 Receipt Shooting 1 Exit Receipt Shooting Enable Disable Receipt Shooting Time 2 3 Receipt Shooting Enable Disable 1 Exit Enable Receipt Shooting Disable Receipt Shooting 2 3 Receipt Shoo...

Page 260: ...ength 4 5 Receive Buffer Capacity 6 Receive Error Handling 7 Print Settings 8 4 5 6 7 2400 bps 4800 bps 9600 bps 19200 bps 38400 bps 8 9 57800 bps 115200 bps Odd Parity 4 Flow Control 1 Exit DTR DSR XON XOFF 2 3 Bit Length 1 Exit 7 Bits 8 Bits 2 3 Receive Buffer Capacity 1 Exit Set Capacity to 4 KB Set Capacity to 45 Byte 2 3 Data Reception Error 1 Exit Replace Data with Ignore Data 2 3 Main Menu ...

Page 261: ... Guide 255 Ethernet Settings 1 Exit DHCP Boot P 2 3 DHCP 1 Exit Enable DHCP Disable DHCP 2 3 Boot P 1 Exit Enable Boot P Disable Boot P 2 3 Main Menu Configuration Ethernet Settings Main Menu Configuration Ethernet Settings ...

Page 262: ... rolling pattern tickets You also can perform a sensor a cutter and a black mark test Diagnostic See chapter x x x 1 Exit 2 Endurance Test 3 Rolling Pattern Test 4 Sensor Test 5 Black Mark Test 6 Cutter Test Full Cut Endurance Test 1 Exit 2 Run Test Unlimited 3 Run Test Limited Rolling Pattern Test 1 Exit 2 Print Pattern Once 3 Print Pattern Unlimited 4 Print Pattern 10 Times 5 Print Pattern 50 Ti...

Page 263: ... once endless which will be interrupted by a long click of the LF button and a predefined number of times 1 10 50 100 500 endless 3 4 Sensor Test This function shows the sensor changes See page 273 The Sensor Test can be stopped by pushing the Linefeed button once for a long time 1 second Afterwards a SW reset is executed 3 5 Black Mark Test In this menu the black mark test can be choose see page ...

Page 264: ...usage of the black mark sensor Be sure that there is black marked paper inside Otherwise a black mark error will occur In this case is the only way to set all EEPROM Data to default by using the LED menu see 0 Set EEPROM to default page 248 Enable Black Mark Sensor Disable Black Mark Sensor 4 2 5 Endurance Test Select the start method for endurance test by using a USB or RS232 short cut plug Enabl...

Page 265: ...TH230 230 Programmer s Guide 259 4 2 6 5 Sleep Mode Cash Drawer Delay The minimum time between leaving Sleep Mode and opening cash drawer 0 sec 0 5 sec 1 sec 1 7 sec 2 5 sec 5 sec ...

Page 266: ... number of endurance tickets in for a limited endurance test Print 1 Ticket Print 10 Tickets Print 30 Tickets Print 100 Tickets Print 1 000 Tickets Print 65 535 Tickets 4 3 6 Legacy Printer Support Enable this to fully support Windows printer support driver e g Usbprint sys Following changes in the printer behaviour will be made printer doesn t accept data while receive buffer is full none data lo...

Page 267: ...nd print quality 70 100 130 160 190 220 260 300 mm sec 4 4 3 Paper Width Set the used paper width New Paper Width 57 5 mm New Paper Width 80 mm 4 4 4 Paper Type Set the used paper type This value will be valid without a software reset Single Color Two Color 4 4 5 Print Density Set the print density for different paper types 50 70 85 100 115 130 4 4 6 Color Print Density Set the color print density...

Page 268: ... Receipt Shooting memory Endless 2 sec 5 sec 10 sec 30 sec 60 sec EEPROM Counters Menu Nr Description Available Options 4 5 1 Exit Exit this menu level and give a save request if there are unsaved changes 4 5 2 Set EEPROM to Default Sets the EEPROM values to see 0 Set EEPROM to default page 248 ...

Page 269: ...00 19200 38400 57600 115200 bps 4 6 3 Parity Select the data parity for serial communication No Parity Even Parity Odd Parity 4 6 4 Flow Control Select the flow control for serial communication DTR DSR ON XOFF 4 6 5 Bit Length Select data bit length for serial communication 7 Bits 8 Bits 4 6 6 Receive Buffer Capacity Select the receive buffer capacity FIFO Set Capacity to 4 KB Set Capacity to 45 B...

Page 270: ...ion Available Options 4 6 1 Exit Exit this menu level and gives a save request if there are unsaved changes 4 6 2 DHCP Enable the Dynamic Host Configuration Protocol to use a automatically assign of IP address and other configuration information Enable DHCP Disable DHCP 4 6 3 Boot P Enable the Bootstrap Protocol to obtain the IP address via this method Enable Boot P Disable Boot P ...

Page 271: ...Pages That prints a collection of printouts of all chars of installed codepages 6 4 Print Statistic Report That prints a printout with printer data and statistic data 6 5 Print Extended Self Test That prints the extended self test with all printer data 6 7 Print Example That prints a small demo printout with capabilities of the TH230 6 5 Help Prints a short instruction for use the service menu MF ...

Page 272: ...ow to test sensor functions Diagnostic mode menu LED diagnostic menu EEPROM to default Set some settings in EEPROM to default Diagnostic mode menu LED diagnostic menu Endurance Test Produce endless or a fixed count of test prints Diagnostic mode menu Short cut the USB interface or RS232 interface Black Mark Test Test the function of black mark control Diagnostic mode menu Additional there is a hid...

Page 273: ...able only in debug firmware releases Menu Nr Short self test Extended self test Statistic report Installed codepages Availability service menu 2 Control sequence us t service menu 6 5 Control sequence GS A 2 0 0 2 service menu 6 4 service menu 6 2 Hardware information s X X X X RS232 settings X X Ethernet settings X X Software modules X X Asia Font X X Printer settings X X Sleep Mode X X Sensor in...

Page 274: ...ers Guide TH230 TH230 268 Example of the Extended Selftest form The self test starts with collecting the printer data The short and the extended self test perform a simple Piezo test before the printout starts ...

Page 275: ...ter Baudrate Bit length Parity Stop bits Handshake communication protocol Buffer size description Receive Error description Ethernet Settings only available if a Ethernet interface board is used MAC Addr fixed XXXX XXXX XXXX DHCP enabled disabled IP Address XXX XXX XXX Net Mask XXX XXX XXX Gateway XXX XXX XXX Boot P enabled disabled Software Modules Firmware version sub version vv rr Booter versio...

Page 276: ...ode enabled disabled ITF Leading Zero Leading Zero in ITF Barcode enabled disabled Brc String Term Barcode String Termination enabled disabled Legacy Printer Support enabled disabled Listen to RT Cmds Always BufNotFull Default Code Page 0 255 Auto Recovery off on Orig Controller yes no Sleep Mode optional Waiting Time timeout before switch to Sleep Mode Interface Power power of cash drawer and dis...

Page 277: ...lled Codepages 0 PC437 1 PC850 2 PC852 3 PC860 4 PC863 5 PC865 6 PC858 7 PC866 8 WPC1252 9 PC862 10 PC737 11 PC874 12 PC857 13 14 15 16 WPC1254 17 WPC1250 18 WPC28591 19 WPC28592 20 WPC28599 21 WPC28605 22 PC864 23 PC720 24 WPC1256 25 WPC28596 26 KATAKANA 27 PC775 Baltic 28 WPC1257 Baltic 29 WPC28594 Baltic ...

Page 278: ...rs Error counter for Cutter Errors 16 bit Max Head Temp Maximum head temperature in o C Black Mark Error Error counter for Black Mark Errors 16 bit Thermistor Error Error counter for Thermistor Errors 16 bit Low Voltage Error Error counter for Low Voltage Errors 16 bit High Voltage Error Error counter for High Voltage Errors 16 bit Cover Open Counter for Cover Open 16 bit Firmware starts number of...

Page 279: ...ower Button Enabled Power ON Notice Disabled Paper NE Notice Enabled Receipt Shooting Disabled Sleep Mode Disabled TH230 enabled Code 128 Check Digit Enabled ITF Leading Zero Enabled Barcode String Termination Enabled Legacy Printer Support Disabled Listen To RT Cmds Always Interface Power in Sleep Mode On Also the configuration settings are set to the following values Customized values Print Dens...

Page 280: ... Default Code Page 0 PC437 Sleep Waiting Time 1 min Sleep Cash Drawer Delay 1 7 sec Default Code Page 0 PC437 RS232 Settings Baud Rate 19200 baud Bit Length 8 Bit Parity None Handshake DTR DSR Receive Buffer Large Receive Error Ignore ...

Page 281: ...ing a If the linefeed button is pressed while the printer is switched on the endurance test is executed in endless mode In this mode test tickets will be printed until the power is switched off b If the linefeed button is not pressed while switching on the printer the endurance test prints a predefined number of tickets In limited mode printing stops after a determined count of tickets The number ...

Page 282: ...raphics The endurance test prints the following graphics for 80 mm paper width for 57 5 mm paper width After printing a ticket two status lines are printed and the printer performs a partial paper cut Then the printout starts again The status lines at the end of the ticket gives information s about total number of printed tickets information whether black mark function is active or not the expired...

Page 283: ...k prints three lines moves the paper until the next black mark is underneath the cutter one Form Feed and cuts the paper After this operation the paper is moved backwards to the first print position top of form This test is repeated continuously and can be stopped by pushing the Linefeed button once ...

Page 284: ... Printing If the self test is started while switching on the printer the update of the Power on counter happens during the self test is printed This means that during this update of the statistical data parts of the self test printout were added to the statistic data Example of Loosing Statistical Data If statistic data are readout by a command or printed with the self test printout always the act...

Page 285: ...n special situations the EEPROM is updated additionally and then the Power on count is increased This occurs every time when the Revision level counter was changed Due to this procedure the Power on counter could be increased before the 15 minute period was passed This means that with every change of the revision counter the calculated Power on time could have an error of maximum 15 minutes This i...

Page 286: ...h 80 mm Paper 72 mm 576 dot With 57 5 mm Paper 51 mm 408 dot Top Margin 5 mm incl Reverse Feeding 17 mm without Reverse Feeding Temperature Sensor Thermistor Cutter Method Guillotine Function Full Cut or Partial Cut Cutting Speed 300 ms Drive Stepper Motor Sensors Paper Near End adjustable Optical Slot Paper End Optical Slot Black Mark Reflective Optical Sensor Optional as snap in Backside or fron...

Page 287: ... 2 WPC28599 Turkish WPC28605 Latin 9 PC864 Arabic PC720 Arabic WPC1256 Arabic WPC28596 Arabic KATAKANA Asia PC775 Baltic WPC1257 Baltic WPC28594 Baltic Character Matrix WxH Font A 13 24 Dots Font B 10 24 Dots Electronic Board Dimension 124 mm 110 mm TH230 and iPRINT Microcontroller ARM7 ATMEL AT91SAM7SE TH230 Microcontroller ARM7 ATMEL AT91M55800 FLASH Memory 16 MBit 1M 16 3 3V RAM 4 MBit 256K 16 ...

Page 288: ...tions Input Voltage 24 V 10 Power Consumption adjustable 48 W to 110 W or automatic detection for WN Powersupplies TH230 Ready Mode Current Power ca 78 mA 1 9 W including USB interface board this value may change with other interface Sleep Mode 1 Current Power ca 40 mA 1 0 W including USB interface board this value may change with other interface Sleep Mode 0 Current Power ca 12 mA 0 29 W includin...

Page 289: ...68 EN60068 Air temperature 5 C 45 C Humidity 5 r h 1g m3 85 r h 25g m3 Temperature change 0 5 K min max 7 5K 30min Air pressure 70kPa 106kPa 70kPa is equivalent to an installation altitude of approx 3000m above mean sea level The operator should avoid locations exposed to long periods in direct sunlight Storage conditions IEC 721 3 1 class 1k2 according to EN 60721 3 1 Air temperature 5 C 40 C Hum...

Page 290: ...5m s 1 Oct min duration 30 min 2 9 Hz amplitude 3 5mm9 200 Hz acceleration 10m s 1 Oct min duration 30 min Test parameters Random Vibration Acceleration spectral density ASD 10 to 30 Hz Rise 6 dB Oct 30 to 200 Hz Constant PSD 1m s 200 to 500 Hz 12 dB Oct duration 30 min each axis Test parameters Half sine Shock acceleration 40 m s type LShock duration 22 ms 50 shocks each axis and orientation Shoc...

Page 291: ...wing table shows the blink pattern of all errors which recover automatically These patterns are called negative blink patterns because the user has to count how many times the Error LED red is switched off Error Description Blink Count ERROR LED Blinking Pattern Approximately 240 ms Low voltage error The supply voltage is extremely low 2 High voltage error The supply voltage is extremely high 3 Un...

Page 292: ...hardware error found Printer stops 4 USART error USART hardware error found Printer stops 5 ADC DAC error ADC DAC hardware error found Printer stops 6 SPI error SPI hardware error found Printer stops 7 Interface card error None valid interface card found Printer stops None valid Firmware or Codepage module found There is none valid Firmware FRM or Codepage FNT module existing in the Flash memory t...

Page 293: ...Wincor Nixdorf International GmbH 2013 D 33094 Paderborn ...

Reviews: