DIEBOLD NIXDORF P1200 Programming Manual

DIEBOLD NIXDORF P1200 Programming Manual

Hide thumbs Also See for P1200:
Table of Contents

Advertisement

P1200 Standard POS Printer
Programming Manual
01750353820B

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the P1200 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for DIEBOLD NIXDORF P1200

  • Page 1 P1200 Standard POS Printer Programming Manual 01750353820B...
  • Page 2: Table Of Contents

    PROGRAMMING GUIDE Contents General............................1 Printer basic functions ..................... 1 General..........................1 Internal Buffers ........................2 1.2.1 RAM (Total Size: IRAM 1.5MB, DRAM 8MB) ..............2 1.2.2 Flash Memory (Total Size: 8MB) ..................2 Summary of Option Interface ..................3 RS232C Interface ........................
  • Page 3 PROGRAMMING GUIDE 3.2.4 Feed n Dot Rows......................18 3.2.5 Add n Extra Dot Rows ....................18 3.2.6 Print ..........................19 3.2.7 Set Line Spacing to 1/6 Inch ..................19 3.2.8 Set Line Spacing ......................19 3.2.9 Print and Feed Paper ....................19 3.2.10 Print and Feed n Lines ....................19 3.2.11 Set Horizontal and Vertical Minimum Motion Units ............20 Horizontal Positioning Commands..................21 3.3.1...
  • Page 4 PROGRAMMING GUIDE 3.4.23 Select Character Size....................32 3.4.24 Select or Cancel White/Black Reverse Printing Mode ............33 3.4.25 Selects Superscript or Subscript Modes ................33 Graphics Commands ......................34 3.5.1 Print Raster Graphics ....................34 3.5.2 Print Raster Color Graphics...................34 3.5.3 Define Bitmap File as Logo ...................34 3.5.4 Select Bit Image Mode ....................35 3.5.5...
  • Page 5 PROGRAMMING GUIDE 3.5.37 Transmits set values for top/bottom logo printing ..............54 3.5.38 Set top logo printing .....................56 3.5.39 Set bottom logo printing ....................56 3.5.40 Make extended settings for top/bottom logo printing ............57 3.5.41 Enable/disable top/bottom logo printing ................57 3.5.42 Define Windows BMP graphics data in Flash Memory ............58 3.5.43 Define Windows BMP graphics data in RAM ..............58 Status Commands ......................60 3.6.1...
  • Page 6 PROGRAMMING GUIDE 3.8.6 PDF417: Set the error correction level ................91 3.8.7 PDF417: Select the options ...................92 3.8.8 PDF417: Store the data in the symbol storage area ............92 3.8.9 PDF417: Print the symbol data in the symbol storage area..........92 3.8.10 PDF417: Transmit the size information of the symbol data in the symbol storage area ...93 3.8.11 QR Code: Select the model ...................93 3.8.12 QR Code: Set the size of module ...................93 3.8.13 QR Code: Select the error correction level ...............94...
  • Page 7 PROGRAMMING GUIDE 3.11.2 Read User Defined Data ..................... 110 3.11.3 Select Memory Type for User Defined Data ..............110 3.11.4 Flash Memory Allocation for User-defined Storage Area ..........111 3.11.5 Erase User-defined storage area in Flash Memory............111 3.11.6 Printer Setting Change ....................113 3.11.7 Read Printer Setting....................
  • Page 8 PROGRAMMING GUIDE 3.13.3 Get Firmware Sector CRC ..................146 3.13.4 Return IPL Firmware CRC ..................146 3.13.5 Erase all Flash Memory ....................147 3.13.6 Return Main Firmware CRC ..................147 3.13.7 Erase Selected Flash Sector ..................147 3.13.8 Download to Active Flash Sector.................. 147 3.13.9 Reboot the Printer......................
  • Page 9 PROGRAMMING GUIDE 4.20 Character code table Page 19 (WPC28592: Latin 2): ............. 163 4.21 Character code table Page 20 (WPC28599: Turkish): ............164 4.22 Character code table Page 21 (WPC28605: Latin 9): ............. 164 4.23 Character code table Page 22 (PC864: Arabic): ..............165 4.24 Character code table Page 23 (PC720: Arabic): ..............
  • Page 10 GS ( k Print 2-dimensional Barcode..................192 Diagnostics .......................... 194 Offline Diagnostic ......................194 10.1 Offline Printer Configuration ....................194 10.2 P1200 Diagnostic Functions....................207 10.2.1 Selftest Printout ......................207 10.2.2 Sensor Test ......................210 10.2.3 Black Mark test......................210 Printer Errors ........................
  • Page 11: General

    PROGRAMMING GUIDE General 1. Printer basic functions General Resolution 203.2 dpi x 203.2 dpi (8 dots/mm) Interface (communicate with a USB Type-B 2.0 High Speed / Full Speed system) Printer class Emulation Mode DN POS receipt ESC/POS Character set SBCS CP437 (DOS USA),CP720(Arabic),CP737(Greek),CP775(Baltic), CP850 (DOS Latin 1), CP852 (DOS Latin 2), CP857(Turkish), CP858...
  • Page 12: Internal Buffers

    PROGRAMMING GUIDE Internal Buffers 1.2.1 RAM (Total Size: IRAM 1.5MB, DRAM 8MB) Interface Receive Data Buffer 64 KB Interface Send Data Buffer 1 KB User-defined Logo Buffer 256 KB Macro Buffer 2 KB 1.2.2 Flash Memory (Total Size: 8MB) User-defined Logo area 256 KB User-defined Character area 64 KB...
  • Page 13: Summary Of Option Interface

    PROGRAMMING GUIDE 2. Summary of Option Interface The printer initially has USB type-B interface as the primary interface. It additionally allows an operator to install either RS232C interface card or Ethernet interface card as an option. In order to make the option interface card available, the USB interface cable has to be disconnected. It is because the option interface card is not activated if USB connection is established with a system.
  • Page 14: Dhcp

    PROGRAMMING GUIDE 2.2.4 DHCP DHCP is used by DHCP client (Printer) to acquire IP address, Subnet mask and Gateway address from DHCP server. Transport protocol UDP/IP 2.2.5 HTTP HTTP is used to configure the network setting by WEB Provision. HTTP version V1.1 Transport protocol TCP/IP...
  • Page 15: Emulation

    PROGRAMMING GUIDE Emulation The printer supports the following commands. ESC/ Command sequence Function Printer Function Commands Clear Printer EM or ESC i 19H or 1BH 69H Perform Full Knife Cut SUB or ESC m 1AH or 1BH 6DH Perform Partial Knife Cut ESC BEL 1BH 07H Generate Tone...
  • Page 16 PROGRAMMING GUIDE ESC/ Command sequence Function Print Characteristic Commands Select Double-Wide Characters Select Single-Wide Characters ESC DC2 1BH 12H Select 90 Degrees Counter-Clockw ise Rotated Print ESC SYN 1BH 16H Select Pitch (Column Width) ESC SP 1BH 20H Set Character Right-Side Spacing ESC ! 1BH 21H Select Print Modes...
  • Page 17 PROGRAMMING GUIDE ESC/ Command sequence Function Graphics Commands DC1 or GS 0x82 11H or 1DH 82H Print Raster Graphics GS 0x83 1DH 83H Print Color Raster Graphics ESC “BMP file” 1BH “BMP file” Define Bitmap File as Logo ESC * 1BH 2AH Select Bit Image Mode ESC * 1...
  • Page 18 PROGRAMMING GUIDE GS D 1DH 44H Define Window s BMP graphics data in RAM Status Commands (Batch Mode) ESC u NULL 1BH 75H 00H Transmit Peripheral Device Status ESC v 1BH 76H Transmit Printer Status GS l 1DH 49H Transmit Printer ID GS I @ 1DH 49H 40H Error! Reference source not found.
  • Page 19 PROGRAMMING GUIDE ESC/ Command sequence Function GS a 1DH 61H Enable/disable Automatic Status Back (ASB) Barcode Commands GS H 1DH 48H Select Printing Position of HRI Characters GS f 1DH 66H Select Pitch for HRI Characters GS h 1DH 68H Select Bar Code Height GS k 1DH 6BH...
  • Page 20 PROGRAMMING GUIDE 2-dimensional GS1 DataBar: Transmit the size GS ( k pL pH 33H 1DH 28H 6BH pL pH information of the symbol data in the symbol storage 33H 52H area GS ( k pL pH 36H 1DH 28H 6BH pL pH DataMatrix: Set the symbol type, number of columns, 36H 42H number of row s...
  • Page 21 PROGRAMMING GUIDE ESC/ Command sequence Function User Data Storage Commands ESC ‘ 1BH 27H Write User Defined Data ESC 4 1BH 34H Read User Defined Data GS “ 1DH 22H Select Memory Type for User Defined Data Flash Memory Allocation for User-defined Storage GS “...
  • Page 22 PROGRAMMING GUIDE GS SP 1DH FFH Reboot the Printer Flash Dow nload Commands in Main Firmw are ESC [ | 1BH 5BH 7CH Flash Firmw are ESC [ { 1BH 5BH 7BH Activate Firmw are in the alternative area Diagnostics Commands GS d 1DH 64H 01H Error! Reference source not found.
  • Page 23: Command Descriptions

    PROGRAMMING GUIDE 3. Command Descriptions Printer Function Command 3.1.1 Clear Printer ASCII: Hexadecimal: Decimal: This command is ignored. 3.1.2 Perform Full Knife Cut ASCII: EM or ESC i Hexadecimal: 19 or 1B 69 Decimal: 25 or 27 105 It fully cuts receipt paper. 3.1.3 Perform Partial Knife Cut ASCII:...
  • Page 24: Enable Or Disable Feed Button

    PROGRAMMING GUIDE It enables or disables to suspend printing data if the paper low is detected while printing data. Once printing is suspended by this function, it does not resume printing until the certain paper is supplied. The settings of this command are effective until ESC @ is executed, the printer is reset, or the power is turned off.
  • Page 25: Print Configuration Form

    • Receipt shooting flushing is executed only if Receipt shooting was enabled by memory switch (command GS ( E). • Printing of barcode PDF417 will stopped the printout for a short time (see GS k) Diebold Nixdorf specific function 3.1.12...
  • Page 26 2300 Hz / 150 ms ST_MELODY 1150 Hz / 100 ms 2300 Hz / 100 ms 1150 Hz / 100 ms 2300 Hz / 100 ms 1150 Hz / 100 ms 2300 Hz / 100 ms Notes: Diebold Nixdorf specific function...
  • Page 27: Switch The Printer Into Sleep-Mode

    Switch the printer into Sleep-Mode ASCII: ESC w n c Hexadecimal: 1B 77 6E 63 Decimal: 27 119 110 99 Description : This function immediately starts the Sleep-Mode of the printer when the memory switch is enabled. Notes: Diebold Nixdorf specific function.
  • Page 28: Vertical Positioning And Print Commands

    PROGRAMMING GUIDE Vertical Positioning and Print Commands 3.2.1 Print and Feed Paper One Line ASCII: Hexadecimal: Decimal: It prints data in the print buffer and performs one line feed. LF command will be ignored after CR(if automatic linefeed enabled) 3.2.2 Print and Carriage Return ASCII: Hexadecimal:...
  • Page 29: Print

    PROGRAMMING GUIDE 6.35 6.16 5.98 5.81 5.64 3.2.6 Print ASCII: Hexadecimal: Decimal: It prints data in the print buffer and performs one line feed. The printer behavior is same as LF (0x0A) command. 3.2.7 Set Line Spacing to 1/6 Inch ASCII: ESC 2 Hexadecimal:...
  • Page 30: Set Horizontal And Vertical Minimum Motion Units

    PROGRAMMING GUIDE Value of n: Number of lines to be printed and feed. 1 – 255 Range of n: It prints data in the buffer and feeds paper n lines according to the current line spacing. 3.2.11 Set Horizontal and Vertical Minimum Motion Units ASCII: GS P x y Hexadecimal:...
  • Page 31: Horizontal Positioning Commands

    PROGRAMMING GUIDE Horizontal Positioning Commands 3.3.1 Horizontal Tab ASCII: Hexadecimal: Decimal: It moves the print position to the next horizontal tab position set by the Set Horizontal Tab Positions (1B 44 n1 n2 ... 00) command. 3.3.2 Set Column ASCII: ESC DC4 n Hexadecimal: 1B 14 n...
  • Page 32: Select Justification

    PROGRAMMING GUIDE Decimal: 27 92 n1 n2 -32768 ≤ n1 + n2 x 256 ≤ 32767 Range of n: It moves the print position to the relative position specified by ((n1 + n2 x 256) x (horizontal motion unit)) from the current print position. The horizontal motion unit follows Set Horizontal and Vertical Minimum Motion Units (1D 50) command.
  • Page 33 PROGRAMMING GUIDE 58 mm paper width: 408 dots (the maximum printable area) It sets the print area to ((nL + nH x 256) x (horizontal motion unit)). The horizontal motion unit follows Set Horizontal and Vertical Minimum Motion Units (1D 50) command. The maximum printable area is 576 dots.
  • Page 34: Print Characteristic Commands

    PROGRAMMING GUIDE Print Characteristic Commands 3.4.1 Select Double-Wide Characters ASCII: Hexadecimal: Decimal: It prints characters in double width. It automatically comes back to single-wide mode after one line data has been printed or Initialize Printer (1B 40) / Clear Printer (10) command is received. 3.4.2 Select Single-Wide Characters ASCII:...
  • Page 35: Select Print Modes

    PROGRAMMING GUIDE 50) command. In Standard Mode, the horizontal motion unit is used to specify the character right side spacing. In Page Mode, either horizontal or vertical motion is used to specify the character right side spacing according to the print direction. 3.4.6 Select Print Modes ASCII:...
  • Page 36: Define User-Defined Characters

    PROGRAMMING GUIDE selected. 3.4.9 Define User-defined Characters ESC & 3 c1 c2 [x1 d1 d2 ... d(x1 x 3)]…..[xk d1 d2 … d(xk x 3)] ASCII: 1B 26 3 c1 c2 [x1 d1 d2 ... d(x1 x 3)]…..[xk d1 d2 … d(xk x 3)] Hexadecimal: 27 38 3 c1 c2 [x1 d1 d2 ...
  • Page 37: Select Or Cancel Underline Mode

    PROGRAMMING GUIDE 3.4.10 Select or Cancel Underline Mode ASCII: ESC - n Hexadecimal: 1B 2D n Decimal: 27 45 n Value of n: 0, 48 = Cancel underline mode 1, 49 = Select underline mode (1 dot height) 2, 50 = Select underline mode (2 dots height) Default of n: 0 (Cancels underline mode) It turns the underline mode on or off.
  • Page 38: Select Or Cancel Italic Print

    PROGRAMMING GUIDE It turns double strike mode on or off. Only the lowest bit of n is effective. The printer behavior of this command is completely same as Select or Cancel Emphasized Mode command. Exceptions: This command is not valid for image printing. 3.4.15 Select or Cancel Italic Print ASCII:...
  • Page 39: Select International Character Set.(Escpos Emulation)

    PROGRAMMING GUIDE set. There are two command codes to select the international character set and the functionality of both commands are completely same. 3.4.17 Select International Character Set.(ESCPOS emulation) ASCII: ESC R n Hexadecimal: 1B 52 n Decimal: 27 82 n 0 ≤...
  • Page 40: Select Character Code Table(Escpos Emulation)

    PROGRAMMING GUIDE Norway ¤ É Æ Ø Å Ü é å ü æ ø Denmark II É Æ Ø Å Ü é å ü æ ø Spain II á Ñ é Í ñ ó ú ¡ ¿ Latin America á Ñ...
  • Page 41: Select Or Cancel Unicode(Utf-16) Mode

    PROGRAMMING GUIDE Reserved Reserved [WPC1250 (Central Europe)] [WPC1251 (Cyrillic)] [WPC1253 (Greek)] [WPC1254 (Turkish)] [WPC1255 (Hebrew)] [WPC1256(Arabic)] [WPC1257(Baltic)] Reserved [KZ-1048: Kazakhstan] Code Page 932(Japanese) Code Page 936(Simplified Chinese) Code Page 949(Korean) Code Page 950(Traditional Chinese) Page 255 [User-defined page] 3.4.19 Select or Cancel Unicode(UTF-16) Mode ASCII: ESC + n Hexadecimal:...
  • Page 42: Select Or Cancel Upside & Down Printing Mode

    PROGRAMMING GUIDE 1: Color Default: 0: Monochrome It turns the color mode on or off. Color printing is available when the printer is configured to the two color paper mode, and setting the two color thermal paper is required to actualize the color printing. Limitation: This command is not available to print multi-tone data.
  • Page 43: Select Or Cancel White/Black Reverse Printing Mode

    PROGRAMMING GUIDE 7 times 8 times Character Height Selection Decim al Height 1 time (normal) 2 times 3 times 4 times 5 times 6 times 7 times 8 times Exceptions: This command is not effective for bar code HRI characters. 3.4.24 Select or Cancel White/Black Reverse Printing Mode ASCII:...
  • Page 44: Graphics Commands

    PROGRAMMING GUIDE Graphics Commands 3.5.1 Print Raster Graphics DC1 n1 … nk or GS 0x82 n1 … nk ASCII: 11 n1 … nk or 1D 82 n1 … nk Hexadecimal: 17 n1 … nk or 29 130 n1 … nk Decimal: Value of n: n specifies the defined data (Raster image format)
  • Page 45: Select Bit Image Mode

    PROGRAMMING GUIDE 3.5.4 Select Bit Image Mode ASCII: ESC * m n1 n2 d1 ... dn Hexadecimal: 1B 2A m n1 n2 d1 ... dn Decimal: 27 42 m n1 n2 d1 ... dn It prints the bit image data defined by “d” according to the mode specified by m as follows. Values: Mode Vertical direction...
  • Page 46: Select Bit-Image Mode - Line Graphics

    PROGRAMMING GUIDE 8 Dot Single Density Mode 24 Dots Single Density Mode – Receipt Only 3.5.5 Select bit-image mode - Line Graphics ASCII: ESC * 1 n1 n2 d1 ... dn Hexadecimal: 1B 2A 31 n1 n2 d1 ... dn Decimal: 27 42 49 n1 n2 d1 ...
  • Page 47: Turn On/Off Tiff Compression

    PROGRAMMING GUIDE application. Thus it is guaranteed that the printer has left the graphics function even if the graphics data stream was interrupted. • If two-color paper is selected, two lines will be merged to one line. The first line defines the secondary color (i.e.
  • Page 48: Select Single Density Graphics

    PROGRAMMING GUIDE Exceptions: Advanced Raster graphics is not available in Page Mode. 3.5.8 Select Single Density Graphics ESC K n1 n2 d1 … dn ASCII: Hexadecimal: 1B 4B n1 n2 d1 ... dn Decimal: 27 75 n1 n2 d1 ... dn Values: [ n1 + (256 x n2)] Number of Bytes of Data...
  • Page 49 PROGRAMMING GUIDE 0 – 255 Range of n: It selects the current user-defined logo according to ID specified by “n” when a user defines a logo or prints a logo. 1. Logo definition Whenever a user defines a logo, first of all, the logo ID has to be specified by this command so that the logo is defined with this ID.
  • Page 50: Define Bit Image As Logo

    PROGRAMMING GUIDE 3.5.12 Define Bit Image as Logo ASCII: GS * n1 n2 d1 ... dn Hexadecimal: 1D 2A n1 n2 d1 ... dn Decimal: 29 42 n1 n2 d1 ... dn Value of n1: See the following table. Value of n2: See the following table.
  • Page 51: Print Current Logo

    PROGRAMMING GUIDE 3.5.13 Print Current Logo ASCII: GS / m Hexadecimal: 1D 2F m Decimal: 29 47 m Value and Range of m: Value of m Print Mode Vertical DPI Horizontal DPI 0,48 Normal 1,49 Double Width 2,50 Double Height 3,51 Quadruple It prints the current logo.
  • Page 52: Convert 6 Dots/Mm Bitmap To 8 Dots/Mm

    PROGRAMMING GUIDE 3.5.16 Convert 6 Dots/mm Bitmap to 8 Dots/mm ASCII: US EOT n Hexadecimal: 1F 04 n Decimal: 31 04 n Value of n: 0 = off 1 = on Default: 0 (Off) It converts 6 dots/mm image data to 8 Dots/mm. Once it is enabled, all image data such as logos and graphics are expanded horizontally and vertically to emulate its size on a 6 dot/mm printer.
  • Page 53: Transmit Remaining Size For User-Defined Logo Area In Ram

    PROGRAMMING GUIDE Response Decimal Data Header 37 H 1 byte Identifier 31 H 1 byte Data 30 H to 39H 48 to 57 1 to 8 byte 00 H 1 byte 3.5.19 Transmit Remaining Size for User-defined Logo Area in RAM ASCII: GS ( L pL pH m fn Hexadecimal:...
  • Page 54: Delete All Logo In Flash Memory

    PROGRAMMING GUIDE Example: When two logo are defined with key code” kc1=0x20, kc2=0x21” and ” kc1=0x22, kc2=0x23”, command response is “0x37 0x72 0x40 0x20 0x21 0x22 0x23 0x00”. If no logo with key code are defined, response is “0x37 0x72 0x40 0x00”. 3.5.21 Delete all Logo in Flash Memory ASCII:...
  • Page 55 PROGRAMMING GUIDE 1 ≤ b ≤ 4 (when a = 52) 1 ≤ (xL + xH × 256) ≤ 576 (0 ≤ xL ≤ 255, 0 ≤ xH ≤ 2) Range of xL, xH: 1 ≤ (yL + yH × 256) ≤ 2304 (0 ≤ yL ≤ 255, 0 ≤ yH ≤ 9) Range of yL, yH: Range of c: c = 49 (when a = 48)
  • Page 56: Print User-Defined Logo In Flash Memory

    PROGRAMMING GUIDE Graphic data format and Formula Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 7 6 5 4 3 2 1 0 ・・・ 7 6 5 4 3 2 1 0 level 12 level 6 level 16 level 2 level 1 level 15 level 3...
  • Page 57: Delete All User-Defined Logo In Ram

    PROGRAMMING GUIDE ASCII: GS 8 L p1 p2 p3 p4 m fn d1 d2 Hexadecimal: 1D 38 4C p1 p2 p3 p4 m fn d1 d2 Decimal: 29 56 76 p1 p2 p3 p4 m fn d1 d2 Range of pn: (p1 + p2 x 256 +p3 x 65536 + p4 x 16777216) = 4 (p1 =4 , p2 = 0, p3 = 0, p4 = 0) Value of m: m = 48 Value of fn: fn = 80 Value of d1: d1 = 75...
  • Page 58: Delete User-Defined Logo In Ram

    PROGRAMMING GUIDE 3.5.27 Delete User-defined Logo in RAM ASCII: GS ( L pL pH m fn kc1 kc2 Hexadecimal: 1D 28 4C pL pH m fn kc1 kc2 Decimal: 29 40 76 pL pH m fn kc1 kc2 0 ≤ (pL + pH × 256) ≤ 65535 Range of pL, pH: It indicates the total number of bytes of subsequent data after pH.
  • Page 59: Print User-Defined Logo In Ram

    PROGRAMMING GUIDE The color of the selectable defined data (c) is Color 1 when a = 48 (monochrome). The colors of the selectable defined data (c) are Color 1 ~ Color 4 when a = 52 (multi-tone). d: specifies the defined data (raster format). Exceptions: The maximum width of each logo is 576/203 inches, and the maximum height of each logo is 2304/203 inches.
  • Page 60 PROGRAMMING GUIDE 4: Roll 2 (Right -> Center -> Left -> Right -> ...) 5: Twist (Left -> Center -> Right -> Center -> Left -> ...) yL, yH: It specifies the offset from the bottom of one watermark to the top of the next watermark by the number of dots in the vertical direction as (yL + yH ×...
  • Page 61: Transmits Set Values For Watermark

    PROGRAMMING GUIDE 3.5.31 Transmits set values for Watermark ASCII: GS ( L pL pH m fn Hexadecimal: 1D 28 4C pL pH m fn Decimal: 29 40 76 pL pH m fn Range: (pL + pH x 256) = 2 (pL = 2, pH = 0) m = 48 fn = 100 Data to be transmitted is as follows:...
  • Page 62: Store The Graphics Data In The Print Buffer

    PROGRAMMING GUIDE 3.5.33 Store the graphics data in the print buffer GS 8L p1, p2, p3, p4 m fn a bx by c xL xH yL yH d1 … dk ASCII: 1D 38 4C p1, p2, p3, p4 m fn a bx by c xL xH yL yH d1 … dk Hexadecimal: 29 40 76 p1, p2, p3, p4 m fn a bx by c xL xH yL yH d1 …...
  • Page 63: Download Logo Image

    PROGRAMMING GUIDE 3.5.35 Download logo image ASCII: GS 0x84 m n1 n2 d1 ... dn Hexadecimal: 1D 84 m n1 n2 d1 ... dn Decimal: 29 132 m n1 n2 d1 ... dn Value of m : 1 = Monochrome 2 = two-color Value of n1: See the following table.
  • Page 64: Cancel Set Values For Top/Bottom Logo Printing

    PROGRAMMING GUIDE 3.5.36 Cancel set values for top/bottom logo printing ASCII: FS ( E pL pH fn m c d1 d2 d3 Hexadecimal: 1C 28 45 pL pH fn m c d1 d2 d3 Decimal: 28 40 69 pL pH fn m c d1 d2 d3 Range: (pL + pH x 256) = 6 (pL = 6, pH = 0) fn = 60...
  • Page 65 PROGRAMMING GUIDE logo/bottom logo Fixed value 32 H 0 or 1 byte Flash graphics key codes 20 H to 7E H 32 to 126 0 or 2 bytes Justification setting 30 H to 32 H 48 to 50 0 or 1 byte When c = 50 is specified.
  • Page 66: Set Top Logo Printing

    PROGRAMMING GUIDE 3.5.38 Set top logo printing ASCII: FS ( E pL pH fn m kc1 kc2 a n Hexadecimal: 1C 28 45 pL pH fn m kc1 kc2 a n Decimal: 28 40 69 pL pH fn m kc1 kc2 a n Range: (pL + pH x 256) = 6 (pL = 6, pH = 0) fn = 62...
  • Page 67: Make Extended Settings For Top/Bottom Logo Printing

    PROGRAMMING GUIDE 3.5.40 Make extended settings for top/bottom logo printing FS ( E pL pH fn m a1 n1 … [ak nk] ASCII: 1C 28 45 pL pH fn m a1 n1 … [ak nk] Hexadecimal: 28 40 69 pL pH fn m a1 n1 … [ak nk] Decimal: 4 ≤...
  • Page 68: Define Windows Bmp Graphics Data In Flash Memory

    PROGRAMMING GUIDE Disables Settings set by this command are maintained even after power off. 3.5.42 Define Windows BMP graphics data in Flash Memory GS D m fn a kc1 kc2 b c d1…dk ASCII: 1D 44 m fn a kc1 kc2 b c d1…dk Hexadecimal: 29 68 m fn a kc1 kc2 b c d1…dk Decimal:...
  • Page 69 PROGRAMMING GUIDE Tone of data to define Monochrome (digital) Multi-tone c specifies the color of data to define. Color of data to define Color 1 d specifies the data to define (Windows BMP format). Monochrome BMP (1bpp) and color BMP (24bpp, 8bpp, 4bpp) are supported.
  • Page 70: Status Commands

    PROGRAMMING GUIDE Status Commands Status Command Introduction There are three methods to provide an application the printer status, Batch Status Commands, Real Time Status Commands and Auto Status Back Commands as follows. Batch Status Commands – The batch status command is sent based on the same manner as other commands/data.
  • Page 71: Transmit Peripheral Device Status

    Logo Definition Logo Definition Refer to the following table String with 6 characters “_xx.xx” Firmware version “_DIEBOLD-NIXDORF” Manufacturer “P1200” Printer model Serial number Serial number of the printer string ASIA-Character generator String with max 17 characters name String format “_DDMMYY”...
  • Page 72 • When using GS I, GS ( E or GS g 2 together with Automatic Status Back (ASB status, the status transmitted must be differentiated according to table Transmit Status Identification (see page 71). P1200 sends the Bare PCB Number (“_A”..”_Z”)
  • Page 73 PROGRAMMING GUIDE • 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.
  • Page 74: Transmit Printer Id, Remote Diagnostics Extension

    PROGRAMMING GUIDE “_04” Powered USB connected. (USB , Cash Drawer) “_10” MF interface – USB connected. Type ID (n=254) Sensor Plug Info: Byte# (from left) Sensor Mark sensor Undefined Undefined Undefined Undefined Undefined  Undefined  Undefined  Value (ASCII) Meaning ‘0’...
  • Page 75: Enable/Disable Automatic Status Back (Asb)

    PROGRAMMING GUIDE “00000”~”65535”) Not used Return UDP Port number, Total 7 bytes SNMP Community (R/W) Write to non-volatile memory (16 digits ASCII numeric + Null Not used terminator) Not used Return SNMP Community (R/W), Total 19 bytes SNMP Trap 1 Community Write to non-volatile memory (16 digits ASCII numeric + Null Not used...
  • Page 76 PROGRAMMING GUIDE Off/On Decimal Status 0, 1 Fixed. One or both cash drawers open Both cash drawers closed Online. Offline. Fixed. Cover is closed. Cover is open. Paper is not being fed with the paper feed button. Paper is being fed with the paper Feed button. Fixed.
  • Page 77: Initialize Maintenance Counter

    PROGRAMMING GUIDE  Third byte (paper sensor information) Off/On Decimal Status 0, 1 Roll paper near-end sensor: paper adequate. Roll paper near-end sensor: paper near end. 2, 3 Roll paper end sensor (Paper sensor): paper present. And Roll paper jam sensor: no paper jam Roll paper end sensor (Paper sensor): paper not present Or Roll paper jam sensor: paper jam Fixed.
  • Page 78 PROGRAMMING GUIDE temperature of the thermal print head.The maintenance counter value can be used for establishing the time for replacing consumed parts or cleaning.
  • Page 79: Transmit Maintenance Counter

    PROGRAMMING GUIDE 3.6.7 Transmit maintenance counter ASCII: GS g 2 m nL nH Hexadecimal: 1D 67 32 m nL nH Decimal: 29 103 50 m nL nH Range: m = 0 (nL + nH x 256) = 20, 21, 22, 50,52,53,54,55,56,57,59, 70, 148, 149, 150, 178,198 ,200,238,239,240 It transmits the value of the maintenance counter specified by (nL + nH x 256) (nL + nH x 256)
  • Page 80: Transmit Status

    PROGRAMMING GUIDE 3.6.8 Transmit Status ASCII: GS r n Hexadecimal: 1D 72 n Decimal: 29 114 n Values of n: 1, 49 = printer status 2, 50 = cash drawer status 4, 52 = Flash Memory status Transmits the status specified by n. This is a batch mode command which transmits the response after all prior data in the receive buffer has been processed.
  • Page 81: Send Printer Firmware Version

    PROGRAMMING GUIDE Not used. Fixed to off. 1 – 4 Range of n: 49 –52 Exceptions: When n is out of the specified range, the command is ignored. 3.6.9 Send Printer Firmware Version ASCII: US V Hexadecimal: 1F 56 Decimal: 31 86 The printer returns 16 bytes containing the boot and Flash Firmware version.
  • Page 82: Execute Head Failure Detection

    PROGRAMMING GUIDE 3.6.11 Execute Head Failure Detection ASCII: US SUB 02 00 Hexadecimal: 1F 1A 02 00 Decimal: 31 26 02 00 Response: Result of the Head Failure Detection (3bytes) Response format table (3bytes) Description Byte #1 Byte #2 and #3 No Error 0x06 0x00, 0x00...
  • Page 83 PROGRAMMING GUIDE 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 control point –...
  • Page 84: Real Time Commands

    PROGRAMMING GUIDE Real Time Commands Real Time Commands are immediately processed regardless of the condition of the receiving buffer and the printer status as soon as it's received. For example, even if the printer is in an error condition, it properly responds to a real time status command sent.
  • Page 85 PROGRAMMING GUIDE Undefined Not used. Fixed to off. Transmit 0ffline status (n=2) Off/On Hex Decimal Function Undefined. Fixed to off. Undefined. Fixed to on Cover is closed Cover is opened Paper Feed Button is not pressed Paper Feed Button is pressed Not used.
  • Page 86: Real Time Request To Printer

    PROGRAMMING GUIDE Black mark sensor : detect white Black mark sensor : detect black Not used. Fixed to on. Not used. Fixed to off. Not used. Fixed to off. Not used. Fixed to off. Thermal Head failure dots status (Bit 2) becomes valid once Execute Head Failure Detection command (1F 1A 02 00) is processed or / Error! Reference source not found.
  • Page 87: Generate Pulse In Real-Time

    PROGRAMMING GUIDE pL,pH specify (pL + pH x 256) as the number of bytes after pH (m and [a1 b1] … [ak bk]). Function 0, 48 DLE DC4 fn m t (fn = 1): Not processed (disabled). 1 (Default), 49 DLE DC4 fn m t (fn = 1): Processed (enabled).
  • Page 88: Control Buzzer (Internal Buzzer)

    PROGRAMMING GUIDE 3.7.6 Control Buzzer (Internal buzzer) ASCII: DLE DC4 fn a n r t1 t2 Hexadecimal: 10 14 03 a n r t1 t2 Decimal: 16 20 3 a n r t1 t2 Value: fn = 3 a = 0 n = 0 r = 0 t1 = 1...
  • Page 89: Extended Real-Time Status Transmission

    PROGRAMMING GUIDE 3.7.9 Extended Real-Time Status Transmission ASCII: DLE EM n Hexadecimal: 10 19 n Decimal: 16 25 n Values of n: 0x01 = (Reserved) 0x02 = Error status 0x10 = Detail Cutter Error status 0x11 = Detail Printer Jam Error status 0x12 = Detail Thermal Head 1 Error status 0x14 = Detail Memory Error status 0x15 = (Reserved)
  • Page 90 PROGRAMMING GUIDE Undefined Fixed Fixed to on These status bits are detail error status of Jam Error which is assigned at Bit2 in Error status (n=0x02) of Extended Real-Time Status Transmission. Detail Thermal Head 1 Error status (n=0x12) Function Value Remarks No failure dots in thermal head This is not an...
  • Page 91 PROGRAMMING GUIDE Fixed Fixed to on Bit 0 indicates actual paper low sensor status. Based on this sensor status, the printer firmware detects the paper low according to “Paper Low Detection” setting in the printer configuration. Other Printer status (n=0x17) Function Value Remarks...
  • Page 92: Real Time Printer Status Transmission

    PROGRAMMING GUIDE Receipt length tally (Front) It returns receipt length tally, Total 10 bytes Knife cut tally It returns Knife cut tally, Total 10 bytes Hours on tally It returns Hours on tally, Total 10 bytes Boot firmware version It returns boot firmware version, Total 6 bytes Control Table version It returns Control table version, Total 6 bytes Flash firmware version...
  • Page 93: Real-Time Printer Maintenance

    PROGRAMMING GUIDE then it changes the LED state according to the new parameter specified by this command. Exceptions: If the printer is in Auto mode of LED, this command is ignored. The command is ignored if n is out of range. 3.7.12 Real-Time Printer Maintenance ASCII:...
  • Page 94 PROGRAMMING GUIDE Value of Status Byte: Sensor ON/OFF value which is lowest/highest during this power-on cycle.
  • Page 95: Bar Code Commands

    PROGRAMMING GUIDE Bar Code Commands 3.8.1 Select Printing Position of HRI Characters ASCII: GS H n Hexadecimal: 1D 48 n Decimal: 29 72 n Value of n: Printing Position of HRI Characters 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 Default:...
  • Page 96 PROGRAMMING GUIDE not sent from a system. Start/Stop characters of Code 39 are automatically added and processed by the printer if they are not sent from a system. First Formula: String terminated by NULL m = 0 – 6, 10 d = 32 - 126 (see the table) n = 1 - 255 (see the table) First Formula...
  • Page 97 PROGRAMMING GUIDE 48 – 57, CODE39 Variable length 65 – 90 (ASCII alphabet), 32, 36, 37, 43, 45, 46, 47 (ASCII special characters) d1=dk=42 (start/stop code is supplied by printer if necessary) 48 – 57 Interleaved 2 of 5 Variable length (ITF) (Even number) Start / stop code : 65 –...
  • Page 98 PROGRAMMING GUIDE the input data including wrong C/D is received, the printer prints the data without correction. In the case of Expanded and Expanded stacked, when attaching the bracket to AI in HRI, it is necessary to transmit data as follows. Fig.
  • Page 99 PROGRAMMING GUIDE Second Variation: Length of Byte Specified at Beginning of String m = 65 - 73, 75-82 (see the table) d = 0 - 127 (see the table) n = 1 - 255 (see the table) Second Formula Barcode type Data n;...
  • Page 100 PROGRAMMING GUIDE Stacked HRI print: automatically. (01)15012345678907(30)23(17)950827 In order to express AI in HRI, AI is surrounded by the bracket and printed. Because this parenthesis needs to distinguish from the usual data, it is necessary to use special data. In the case of Expanded and Expanded stacked, C/D is used for only HRI characters printing. Even if the input data including wrong C/D is received, the printer prints the data without correction.
  • Page 101: Pdf417: Set The Row Height

    PROGRAMMING GUIDE 3.8.5 PDF417: Set the row height ASCII: GS ( k pL pH cn fn n Hexadecimal:1D 28 6B pL pH cn fn n Decimal: 29 40 107 pL pH cn fn n Range: (pL + pH x 256) =3, (pL = 3, pH = 0) cn = 48 fn = 68 2 ≤...
  • Page 102: Pdf417: Select The Options

    PROGRAMMING GUIDE 3.8.7 PDF417: Select the options ASCII: GS ( k pL pH cn fn m Hexadecimal: 1D 28 6B pL pH cn fn m Decimal: 29 40 107 pL pH cn fn m Range: (pL + pH x 256) = 3 (pL = 3, pH = 0) cn = 48 fn = 70 m = 0, 1...
  • Page 103: Pdf417: Transmit The Size Information Of The Symbol Data In The Symbol Storage Area

    PROGRAMMING GUIDE 3.8.10 PDF417: Transmit the size information of the symbol data in the symbol storage area ASCII: GS ( k pL pH cn fn m Hexadecimal: 1D 28 6B pL pH cn fn m Decimal: 29 40 107 pL pH cn fn m Range: (pL + pH x 256) = 3 (pL = 3, pH = 0) cn = 48...
  • Page 104: Qr Code: Select The Error Correction Level

    PROGRAMMING GUIDE Range of n: 1-16 Default n : It sets the size of the module for QR Code as n dots. User must secure the quiet zone (left, right, upward, and downward space areas defined by the QR Code symbol specifications) for QR Code printing. Quiet zone is defined as 4 cells in standard and MicroQR code versions.
  • Page 105: Qr Code: Store The Data In The Symbol Storage Area

    PROGRAMMING GUIDE 3.8.15 QR Code: Store the data in the symbol storage area cn fn m d1…dk ASCII: GS ( k p cn fn m d1…dk Hex: 1D 28 6B p cn fn m d1…dk Decimal: 29 40 107 p 4 - 255, Here 4 ≤...
  • Page 106: 2-Dimensional Gs1 Databar: Set The Module Width

    PROGRAMMING GUIDE 0x31 - Printing is impossible Horizontal and vertical sizes are specified as ASCII value of received byte. They can be obtained by following equations. Horizontal size = Number of cells in Horizontal Direction × Symbol size specified by the command 1D 28 6B 03 00 31 43 n Vertical size = Number of cells in Vertical Direction ×...
  • Page 107: 2-Dimensional Gs1 Databar: Store Data In The Symbol Storage Area

    PROGRAMMING GUIDE 3.8.20 2-dimensional GS1 DataBar: Store data in the symbol storage area ASCII: GS ( k pL pH cn fn m n d1,,,dk Hexadecimal: 1D 28 6B pL pH cn fn m n d1,,,dk Decimal: 29 40 107 pL pH cn fn m n d1,,,dk Range of pL, pH: 6 ≤...
  • Page 108: 2-Dimensional Gs1 Databar: Transmit Size Information Of The Symbol Data In The Symbol Storage Area

    PROGRAMMING GUIDE 3.8.22 2-dimensional GS1 DataBar: Transmit size information of the symbol data in the symbol storage area ASCII: GS ( k pL pH cn fn m Hexadecimal: 1D 28 6B pL pH cn fn m Decimal: 29 40 107 pL pH cn fn m Range of pL, pH: (pL + pH ×...
  • Page 109 PROGRAMMING GUIDE 1 ≤ e ≤ 7 X dimension Width of a single Supported module in dots. 2 ≤ f ≤ 25 Y dimension Height of the code Not supported word in dots. 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.
  • Page 110: Datamatrix: Set The Symbol Type, Number Of Columns, Number Of Rows

    PROGRAMMING GUIDE 3.8.24 DataMatrix: Set the symbol type, number of columns, number of rows ASCII: GS ( k pL pH cn fn m d1 d2 Hexadecimal: 1D 28 6B pL pH cn fn m d1 d2 Decimal: 29 40 107 pL pH cn fn m Range of pL, pH: (pL + pH ×...
  • Page 111 PROGRAMMING GUIDE  DataMatrix is capable of encoding variable length data. For m with automatic processing, the resulting symbol varies according to the amount of data encoded. For m which requires setting d1 and d2, the following table provides a useful guide to estimating size of symbol depending on number of data to be encoded: Symbol Maximum Data...
  • Page 112: Datamatrix: Set The Size Of The Module

    PROGRAMMING GUIDE 3.8.25 DataMatrix: Set the size of the m odule ASCII: GS ( k pL pH cn fn n Hexadecimal: 1D 28 6B pL pH cn fn n Decimal: 29 40 107 pL pH cn fn n Range of pL, pH: (pL + pH × 256) = 3 (pL= 3, pH = 0) Value of cn: Value of fn: Value of n:...
  • Page 113: Datamatrix: Print The Symbol Data In The Symbol Storage Area

    PROGRAMMING GUIDE 3.8.27 DataMatrix: Print the sym bol data in the sym bol storage area ASCII: GS ( k pL pH cn fn m Hexadecimal: 1D 28 6B pL pH cn fn m Decimal: 29 40 107 pL pH cn fn m Range of pL, pH: (pL + pH ×...
  • Page 114: Datamatrix: Transmit The Size Information Of The Symbol Data In The Symbol Storage Area

    PROGRAMMING GUIDE 3.8.28 DataMatrix: Transmit the size information of the symbol data in the symbol storage area ASCII: GS ( k pL pH cn fn m Hexadecimal: 1D 28 6B pL pH cn fn m Decimal: 29 40 107 pL pH cn fn m Range of pL, pH: (pL + pH ×...
  • Page 115: Page Mode Commands

    PROGRAMMING GUIDE Page Mode Commands Standard Mode is the default mode which prints data as soon as one line data in the print buffer is ready to print. One line data is printed once a print command such as LF (0x0A) is processed or one line buffer is full.
  • Page 116: Print Data In

    PROGRAMMING GUIDE 3.9.4 Print Data in Page Mode ASCII: ESC FF Hexadecimal: 1B 0C Decimal: 27 12 It prints all buffered data in the page buffer on the page area defined. Exceptions: This command is valid in Page Mode. 3.9.5 Select Page Mode ASCII: ESC L...
  • Page 117: Set Printing Area In Page Mode

    PROGRAMMING GUIDE Default: 0 (Upper left corner proceeding across page to the right) Exceptions: This command is valid in Page Mode. This command is ignored if the value of n is out of the range. 3.9.8 Set Printing Area in Page Mode ASCII: ESC W n1, n2 ...n8 Hexadecimal:...
  • Page 118: Set Relative Vertical Print Position In

    PROGRAMMING GUIDE Exceptions: This command is valid in Page Mode. If the position specified exceeds the print area, this command is ignored. 3.9.10 Set Relative Vertical Print Position in Page Mode ASCII: GS \ nL nH Hexadecimal: 1D 5C nL nH Decimal: 29 92 nL nH It moves the vertical print position to the position specified by this command from the current position in...
  • Page 119: Macro Commands

    PROGRAMMING GUIDE 3.10 Macro Commands 3.10.1 Start and Terminate Macro Definition ASCII: GS : Hexadecimal: 1D 3A Decimal: 29 58 It starts and terminates a macro definition to the target memory specified by Select Memory Type for User Defined Data(1D 22 n) command. Only one macro can be stored in Macro area of each target memory (RAM and Flash memory).
  • Page 120: User Data Storage Commands

    PROGRAMMING GUIDE 3.11 User Data Storage Commands 3.11.1 Write User Defined Data ESC ‘ m a0 a1 a2 d1 ... dm ASCII: Hexadecimal: 1B 27 m a0 a1 a2 d1 ... dm Decimal: 27 39 m a0 a1 a2 d1 ... dm 1 –...
  • Page 121: Flash Memory Allocation For User-Defined Storage Area

    PROGRAMMING GUIDE not affect the functionality to print user defined characters. User defined characters are printed according to the character code irrespective of the storage area. n = 52 (ASCII n = 4) It specifies RAM as Macro definition area. The subsequent commands to define Macro are stored into RAM.
  • Page 122 PROGRAMMING GUIDE...
  • Page 123: Printer Setting Change

    PROGRAMMING GUIDE 3.11.6 Printer Setting Change US 6 [m n], [m n] … [m n] 0FFH ASCII: 1F 36 [m n], [m n] … [m n] 0FFH Hexadecimal: 31 54 [m n], [m n] … [m n] 0FFH Decimal: Value of m, n: It sets the printer configuration specified by m and n.
  • Page 124 PROGRAMMING GUIDE m (Hex) Function n (Hex) Option Effect Black mark sensor Disable (Default) Power off/on Enable 28-29 Reserved Receipt Shooting Disable(Defalut) Immediate Enable Receipt Shooting time Endless(Defalut) Immediate 01-FF Time out value (250ms~63.75s) Compatible Top Margin Disable (Default) Power off/on Enable Compatible top margin time out Disable (Default)
  • Page 125 PROGRAMMING GUIDE - 4 : 80% - 3 : 85% - 2 : 90% - 1 : 95% 0 : 100% 1 : 105% 2 : 110% 3 : 115% 4 : 120 5 : 125% 6 :130% 39 – 3D Reserved Special Font Disable : Original font (Default) Immediate...
  • Page 126 PROGRAMMING GUIDE m (Hex) Function n (Hex) Option Effect 437 (Default) Immediate Default code page 1252 1251 1255 KZ 1048 1254 1250 28591 28592 28599 28605 1256 28596 KATAKANA. 1257 28594 1253 41 - 45 Reserved Remove Upper Space Disable (Default) Power off/on (ECO funtionality) Enable...
  • Page 127 PROGRAMMING GUIDE Reset all setting to Default Default Power off/on m (Hex) Function n (Hex) Option Effect 51 - 56 Reserved ECO function Disable/Enable Disable (Default) Power off/on Enable Remove lines containing only Disable (Default) Power off/on spaces (ECO funtionality) Enable 59 –...
  • Page 128 PROGRAMMING GUIDE m (Hex) Function n (Hex) Option Effect Power off/on International character set 00 U.S.A (Default) France Germany U.K. Denmark I Sweden Italy Spain I Japan Norway Denmark II Spain II Latin America Korea Slovenia/ Croatia China Reserved Arabia Immediate Top logo alignment Left justification (Default)
  • Page 129 PROGRAMMING GUIDE Power off/on Listen to Real time Always(Default) Buffer not full Power off/on Legacy Printer support Disable(Default) Enable B1 – FF Reserved...
  • Page 130: Read Printer Setting

    PROGRAMMING GUIDE 3.11.7 Read Printer Setting ASCII: US DC2 m Hexadecimal: 1F 12 m Decimal: 31 18 m Value of m: 16 (0x10) to 191 (0xBF). Refer to 3.11.6 Printer Setting Change Command in detail. This command is to read the setting specified by m. 3.11.8 LED Configuration ASCII:...
  • Page 131: Read Led Configuration

    PROGRAMMING GUIDE …. Blink pattern Example: LED ON: These parameters are 0xFF 0xFF 0xFF 0xFF LED OFF: These parameters are 0x00 0x00 0x00 0x00 Range of q: 0 to 255 It specifies ON time of bit specified as ON (=1) in blink pattern. Unit is 100 m sec, so Actual time = Parameter (q) x Unit time (100 ms) Range of r: 0 to 255...
  • Page 132: End The User Setting Mode Session

    PROGRAMMING GUIDE use setting mode notice (4) Header 1 byte (5) Identifier 1 byte (6) NULL 1 byte 3.11.11 End the user setting mode session ASCII: GS ( E pL pH fn d1 d2 d3 Hexadecimal: 1D 28 45 pL pH fn d1 d2 d3 Decimal: 29 40 69 pL pH fn d1 d2 d3 Range:...
  • Page 133 PROGRAMMING GUIDE 2-4 to 2-7 Reserved Listen to Real-Time-Commands – Always Listen to Real-Time-Commands – Only if Receive-Buffer is not full When a = 2, memory switch 1 is set as follows: Setting Function value(b) 128-1 Power button is enabled Power button is disabled 128-2 In Sleep-Mode is Interface Power On...
  • Page 134: Transmits The Host The Value For The Memory Switch

    PROGRAMMING GUIDE • The value for receipt shooting flush time will be set in the customer value CV 13 The disable of power button is only related to the switch off function. • Memory switch “Original Controller” (Memory switch 128-8) is used to differentiate between original controller and repaired controller.
  • Page 135 PROGRAMMING GUIDE Flash memory is used as the storage area for setting values. (Setting values are maintained even after power off) This command is processed in user setting mode. (“Change into the user setting mode” command need to be sent before this command, and “End the user setting mode session” need to be sent after this command) Note: Other configuration can be changed by US DC1 (1Fh 36h) command.
  • Page 136 PROGRAMMING GUIDE Value of a: Parameters in Setting Type pf customized value Change Command (1F 36) Roll paper width 1F 36 32 n Print density when printing in monochrome and multi-tone 1F 36 30 n BM adjustment value Default international character 1F 36 A0 n Maximum power 1F 36 36 n...
  • Page 137 PROGRAMMING GUIDE 115% 120% 125% 130% BM adjustment value offset (a = 6) (nL +nH x 256) BM offset Default 0….127 Offset value with forward direction in 0.125 mm 128…255 Offset value with backward direction in 0.125 mm (two's complement) Default international character (When a = 7) See (n) of the ESC R command to select international character.
  • Page 138 PROGRAMMING GUIDE 105% 110% 115% 120% 125% 130% Receipt shooting flush time (a = 13) (nL +nH x 256) Flush time Default Endless 1…255 Time in 0.25 Sec This value sets the time how long the printer is waiting for print commands from the host before the receipt is printed out.
  • Page 139 PROGRAMMING GUIDE Default character code table (When a = 16) See (n) of the ESC t command to select character code table. Auto Recovery (a=17) (nL +nH x 256) Auto Recovery Mode Default 0(Off) 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 Paper auto-cut after closing the roll paper cover (when a = 100)
  • Page 140 PROGRAMMING GUIDE 0, 48 Font A 1, 49 Font B (Same as no replacement) (Default) Buzzer function: Enabling/disabling internal buzzer (when a = 119) (nL + nH x 256) Enabling/disabling internal buzzer Disabled (Default) Enabled Buzzer function: Buzzer frequency for Errors (when a = 120) (nL + nH x 256) Buzzer frequency No sound...
  • Page 141: Transmit The Customized Setting Values

    PROGRAMMING GUIDE 3.11.15 Transmit the customized setting values ASCII: GS ( E pL pH fn a Hexadecimal: 1D 28 45 pL pH fn a Decimal: 29 40 69 pL pH fn a Range: (pL + pH x 256) = 2 (pL = 2, pH = 0) fn = 6 a = 3, 5, 6, 8 ≤...
  • Page 142 PROGRAMMING GUIDE (ASCII format) (6) NULL 1 byte Example: When “Roll paper width” setting is 82.5mm, command “0x1D 0x28 0x45 0x02 0x00 0x06 0x03” response is “0x37 0x27 0x33 0x1F 0x36 0x00”. Print density Settings (a = 5,a = 12) Hexadecimal Print Density...
  • Page 143: Set The Configuration Item For The Serial Interface

    PROGRAMMING GUIDE 3.11.16 Set the configuration item for the serial interface GS ( E pL pH fn a d1 … dk ASCII: Hexadecimal: 1D 28 45 pL pH fn a d1 … dk 29 40 69 pL pH fn a d1 … dk Decimal: 3 ≤(p x256) ≤65535 (0 ≤p...
  • Page 144: Transmit The Configuration Item For The Serial Interface

    PROGRAMMING GUIDE 3.11.17 Transmit the configuration item for the serial interface ASCII: GS ( E pL pH fn a Hexadecimal: 1D 28 45 pL pH fn a Decimal: 29 40 69 pL pH fn a Range: (pL + pH x 256) = 2 (pL = 2, pH = 0) fn = 12 a = 1 It transmits the configuration item for the serial interface specified by a.
  • Page 145 PROGRAMMING GUIDE ASCII: GS ( E pL pH fn a Hexadecimal: 1D 28 45 pL pH fn a Decimal: 29 40 69 pL pH fn a Range: (pL + pH x 256) = 2 (pL =2, pH = 0) fn = 16 a = 1 It transmits the set values for USB communication specified by a.
  • Page 146: Set Serial Number

    PROGRAMMING GUIDE 3.11.20 Set Serial number GS ( E pL pH fn d1 … dk ASCII: Hexadecimal: 1D 28 45 pL pH fn d1 … dk 29 40 69 pL pH fn d1 … dk Decimal: 2 ≤(p x256) ≤11 Range: fn = 129 32 ≤...
  • Page 147: Transmit Communication Condition Of Ethernet Interface

    PROGRAMMING GUIDE IP Address Net Mask Gateway Reserved. ・ DHCP(a = 2) is specified by d as flollows: Function DHCP disabled 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 dotted-decimal notation format.
  • Page 148: Set Adjustment Value(S)

    PROGRAMMING GUIDE Function 2. • The host can differentiate the setting value of the customize value from other transmit data by the specific data in the transmit data block. When the header transmitted from the printer is [hex = 0x37, decimal = 55], the data up to NUL [hex = 00H, decimal = 0] is handled as one group and can be identified by the following data: Transmit data Decimal...
  • Page 149: Set Paper Type

    PROGRAMMING GUIDE 3.11.25 Set Paper type ASCII: GS 0x81 m n Hexadecimal: 1D 81 m n Decimal: 29 129 m n 0 ≤ m ≤ 255 Range: 0 ≤ n ≤ 255 Default : m = 0 (monochrome paper) Description : Sets the paper type specified by m, as follows Mode Monochrome (Black) paper Two-color papers...
  • Page 150: Download Paper Type Description

    PROGRAMMING GUIDE 3.11.27 Download paper type description GS 0x9E nl nh d1…dn ASCII: Hexadecimal: 1D 9E nl nh d1…dn 29 158 nl nh d1…dn Decimal: Description: This command will store in flash memory a paper type description identified by the structure in d1..dn, adding the uniquely (by type category and version) identified structure for subsequent use by the set paper type command.
  • Page 151 PROGRAMMING GUIDE paper. The parameter is same as GS ( E command. ・ Speed density (Graphic) : this area defined strobe time offset for each speed, it will apply text line. 8 bytes area format is below. BYTE Target speed note 14 IPS The parameters adjust...
  • Page 152: Set Temporary Max Target Speed

    PROGRAMMING GUIDE 3.11.29 Set temporary max target speed ASCII: GS 0xA0 nl nh Hexadecimal: 1D A0 nl nh Decimal: 29 160 nl nh 0x15 ≤ (nL + nH * 256) ≤ 0x162 monochrome Range: 0x15 ≤ (nL + nH * 256) ≤ 0x6E color Default : (nL + nH * 256) = 0 = normal speed Description: This command sets a specific speed for an operation, allowing the user more control of the print...
  • Page 153: Asian Character Command

    PROGRAMMING GUIDE 3.12 Asian character command 3.12.1 Select print modes for Asian characters ASCII: FS ! n Hexadecimal: 1C 21 n Decimal: 28 33 n Value of n: The character attribute for Asian character Off/On Hex Decimal Function Undefined Undefined Double width mode is not selected Double width mode is selected Double height mode is not selected...
  • Page 154: Define User-Defined Asian Characters

    PROGRAMMING GUIDE 3.12.5 Define user-defined Asian characters FS 2 c1 c2 d1 … dn ASCII: 1C 32 c1 c2 d1 … dn Hexadecimal: 28 50 c1 c2 d1 … dn Decimal: Value of c1: Specified the first Asian character code Value of c2: Specified the second Asian character code Value of d:...
  • Page 155: Set Asian Character Spacing

    PROGRAMMING GUIDE ASCII: Hexadecimal: 1C Decimal: Range: n = 0, 1, 48, 49 Default: n = 0 It selects a Kanji character code system for the Japanese model. Kanji character code system 0, 48 JIS code 1, 49 SHIFT JIS code 3.12.7 Set Asian character spacing ASCII:...
  • Page 156: Ipl(Initial Program Loader) Command

    PROGRAMMING GUIDE 3.13 IPL(Initial Program Loader) Command There are two ways to update the firmware in online. 1) Update the firmware in IPL mode 2) Update the firmware in Main firmware mode Following commands are to update the firmware in IPL mode provided for the serious malfunction such as the corruption of the main firmware.
  • Page 157: Erase All Flash Memory

    PROGRAMMING GUIDE Response: ACK (0x06) + 2 bytes CRC (<low byte> <high byte>) It calculates and returns CRC of IPL firmware. This command is available only in IPL mode. 3.13.5 Erase all Flash Memory ASCII: GS SO Hexadecimal: 1D 0E Decimal: 29 14 Response:...
  • Page 158 PROGRAMMING GUIDE It resets the printer. If the printer is in IPL mode and receives this command, it goes to Main mode after the reset. If it is in Main mode, it's still in Main mode even after the reset. This command is available in both IPL and Main mode.
  • Page 159: Flash Download Commands In Main Firmware

    PROGRAMMING GUIDE 3.14 Flash Download Commands in Main Firmware These commands are used to download the firmware in online. Since it does not switch to IPL mode, the flashing firmware is performed without disconnecting the interface. Those are not allowed to use in an application. Otherwise, it may cause the printer failure, or it may become not operational in worst case.
  • Page 160 PROGRAMMING GUIDE Error Code: 00H: Unknown error 01H: Illegal Parameter (n and p) 05H: No firmware in alternative area 06H: Fail to activate This command is not available in IPL mode.
  • Page 161: Diagnostic Commands

    PROGRAMMING GUIDE 3.15 Diagnostic Commands All diagnostic commands are supported for the printer production. Those are not allowed to use in an application. Otherwise, it may cause the printer failure, or it may become not operational in worst case. 3.15.1 Execute test print ASCII: GS ( A pL pH n m...
  • Page 162: Sensor Calibration

    PROGRAMMING GUIDE 3.15.3 Sensor Calibration ASCII: GS d 15H n Hexadecimal: 1D 64 15 n Decimal: 29 100 21 n Range of n: n = 01H: execute sensor calibration n = 02H: (Reserved) Response: ACK (0x06) + AA + EE + GG Index Sensor Value Jam Sensor...
  • Page 163: Retrieve Detail Log

    PROGRAMMING GUIDE monitoring OFF value of the Jam sensor and it disables the paper jam detection automatically when OFF value is abnormal. Exceptions: While the printer is performing the calibration, it does not process any subsequence data. 3.15.4 Retrieve Detail Log ASCII: GS d 20H m Hexadecimal:...
  • Page 164: Appendix 1 Character Sets

    PROGRAMMING GUIDE 4. Appendix 1 Character sets Character code table page 0 (PC437 : USA,Standard Europe) Character code table Page 1 (PC850: Multilingual Latin I):...
  • Page 165: Character Code Table Page 2 (Pc852: Latin Ii)

    PROGRAMMING GUIDE Character code table Page 2 (PC852: Latin II): Character code table Page 3 (PC860: Portuguese):...
  • Page 166: Character Code Table Page 4 (Pc863: Canadian French)

    PROGRAMMING GUIDE Character code table Page 4 (PC863: Canadian French): Character code table Page 5 (PC865: Nordic):...
  • Page 167: Character Code Table Page 6 (Pc858: Multilingual I + Euro)

    PROGRAMMING GUIDE Character code table Page 6 (PC858: Multilingual I + Euro ): Character code table Page 7 (PC866: Russian):...
  • Page 168: Character Code Table Page 8 (Wpc1252: Latin I)

    PROGRAMMING GUIDE Character code table Page 8 (WPC1252: Latin I): 4.10 Character code table Page 9 (PC862: Hebrew):...
  • Page 169: Character Code Table Page 10 (Pc737: Greek)

    PROGRAMMING GUIDE 4.11 Character code table Page 10 (PC737: Greek): 4.12 Character code table Page 11 (PC874: Thai):...
  • Page 170: Character Code Table Page 12 (Pc857: Turkish)

    PROGRAMMING GUIDE 4.13 Character code table Page 12 (PC857: Turkish): 4.14 Character code table Page 13 (WPC1251: Cyrillic):...
  • Page 171: Character Code Table Page 14 (Wpc1255: Hebrew)

    PROGRAMMING GUIDE 4.15 Character code table Page 14 (WPC1255: Hebrew): 4.16 Character code table Page 15 ((KZ_1048: Kazakh):...
  • Page 172: Character Code Table Page 16 (Wpc1254: Turkish)

    PROGRAMMING GUIDE 4.17 Character code table Page 16 (WPC1254: Turkish): 4.18 Character code table Page 17 (WPC1250: Central Europe):...
  • Page 173: Character Code Table Page 18 (Wpc28591: Latin 1)

    PROGRAMMING GUIDE 4.19 Character code table Page 18 (WPC28591: Latin 1): 4.20 Character code table Page 19 (WPC28592: Latin 2):...
  • Page 174: Character Code Table Page 20 (Wpc28599: Turkish)

    PROGRAMMING GUIDE 4.21 Character code table Page 20 (WPC28599: Turkish): 4.22 Character code table Page 21 (WPC28605: Latin 9):...
  • Page 175: Character Code Table Page 22 (Pc864: Arabic)

    PROGRAMMING GUIDE 4.23 Character code table Page 22 (PC864: Arabic): 4.24 Character code table Page 23 (PC720: Arabic):...
  • Page 176: Character Code Table Page 24 (Wpc1256: Arabic)

    PROGRAMMING GUIDE 4.25 Character code table Page 24 (WPC1256: Arabic): 4.26 Character code table Page 25 (WPC28596: Arabic):...
  • Page 177: Character Code Table Page 26 (Katakana: Asia)

    PROGRAMMING GUIDE 4.27 Character code table Page 26 (KATAKANA: Asia): 4.28 Character code table Page 27 (PC775: Baltic):...
  • Page 178: Character Code Table Page 28 (Wpc1257: Baltic)

    PROGRAMMING GUIDE 4.29 Character code table Page 28 (WPC1257: Baltic): 4.30 Character code table Page 29 (WPC28594: Baltic):...
  • Page 179: Character Code Table Page 30 (Wpc1253: Greek)

    PROGRAMMING GUIDE 4.31 Character code table Page 30 (WPC1253: Greek):...
  • Page 180: Appendix 2 Printable Area

    PROGRAMMING GUIDE 5. Appendix 2 Printable area Physical Right Margin Physical Printable Area GS L GS W Left margin Logical Printing Area The left margin can be set using GS L command. While printing area width is set by GS W command. These commands are ignored in page mode.
  • Page 181: Appendix 3 Eco Function

    PROGRAMMING GUIDE 6. Appendix 3 Eco function Please refer the specification of Utility(T.B.D) for the detail of each Eco function. General Eco settings configured are stored into the non-volatile memory. Therefore, even if the printer is powered off, the settings remain. Eco functions are not available in page mode.
  • Page 182: Remove Lower Space

    PROGRAMMING GUIDE 6.2.2 Remove Lower Space It eliminates the extra lower space and rectifies the cutting position at the end of print data regardless of the original cutting position. Lower space implies the area from the end edge of the last printable data until the cutting position. Enabled Disabled Physical margin...
  • Page 183: Line Feed Reduction

    PROGRAMMING GUIDE 6.2.4 Line Feed Reduction It reduces the height of space created by the vertical feed command without printable data according to the ratio setting (Disable* / 25% / 50% / 75% / 100%). e.g. If it is configured to 50%, space height becomes half of the original height. If it is 100%, the space is completely removed.
  • Page 184: Registered Logo Removal

    PROGRAMMING GUIDE 6.2.6 Registered Logo Removal It ignores the registered Logo print command. Disabled Enabled AAAAAAAAAAA LOGO BBBBBBBBBBBB CCCCCCCCCCCC AAAAAAAAAAA BBBBBBBBBBBB CCCCCCCCCCCC This setting is ignored when the compatible top margin mode is enabled. 6.2.7 Force Single High Font It ignores the attribute commands which make character’s height higher. Disabled Enabled Physical margin...
  • Page 185: Power Reduction

    PROGRAMMING GUIDE Power reduction 6.3.1 Bold Font Removal It ignores the Bold Font attribute settings. Disabled Enabled LOGO LOGO 6.3.2 Force Single Wide Font It ignores the Double Width and wider Font attribute settings. Disabled Enabled LOGO LOGO AAAAAAAAAAAA AAAAAAAAAAAA BBBBBB BBBBBB...
  • Page 186: No White/Black Reverse Printing

    PROGRAMMING GUIDE 6.3.3 No White/Black Reverse Printing It ignores the White/Black Reverse Printing attribute setting. Disabled Enabled LOGO LOGO AAAAAAAAAAA AAAAAAAAAAA BBBBBBBBBBBB BBBBBBBBBBBB CCCCCCCCCCCC CCCCCCCCCCCC 6.3.4 Stand-by Mode It disables / enables the stand-by mode. 6.3.5 Power Off Mode It disables / enables the power off mode. The power off mode is enabled by selecting the duration (60min, 120min, 180min, 240min and 300min) of idle time which triggers going in to the power off mode.
  • Page 187: Affected Commands

    PROGRAMMING GUIDE Affected commands Below commands are affected by each eco functions Paper Reduction Power Reduction Line Barcode Registere Force Force No White Remove Remove Line Feed Bold Space Height Single Single /Black functions Upper Lower Reductio Font Reductio Reductio Logo High Wide...
  • Page 188: Appendix 4 Thai Font Support

    PROGRAMMING GUIDE 7. Appendix 4 Thai font support Outline The printer supports Thai font (Code Page 874). It prints each character one by one according to the code number specified. However, Thai character basically consists of the combination of multiple characters. The printer provides the functionality to automatically construct Thai character according to the order of specified Thai character.
  • Page 189: Thai Character Data Procedure

    PROGRAMMING GUIDE Each character type is explained below. Baseline characters Circled by Red, Purple and pink characters are baseline characters. The characters circled by purple will not have below level characters, but they rarely use. The characters circled by pink will not have top level and above level, but only ฬ rarely use. Every character in red and purple must have a top and below level.
  • Page 190 PROGRAMMING GUIDE Add n Extra Dot Rows ESC 2 Set Line Spacing to 1/6 Inch ESC 3 Set Line Spacing - The line pitch is changed by below commands because the code page is changed by below commands. ESC R Select international character set ESC t Select character code table (same as ESC R)
  • Page 191: Appendix 5 Paper Low Detection

    PROGRAMMING GUIDE 8. Appendix 5 Paper low detection Paper low sensor is located in receipt station to detect the paper roll when there is certain amount of paper remaining. Depend on diagnostic setting FW will calculate remaining paper length. There are three parameters to calculate paper remaining length. : Paper core diameter : Paper thickness : Length Adjustment.
  • Page 192: Appendix 6 Barcode Information

    PROGRAMMING GUIDE 9. Appendix 6 Barcode Information 9.1 GS k Print Barcode • Modular check character is processed as following: - Automatically added when processing data is 11 byte. - The 12th byte data is processed as a modular check character when processing data is 12 byte.
  • Page 193 PROGRAMMING GUIDE Data (0331230|Composite) Command 0x1D 0x6B 0x42 0x0C "012345600007|Composite" Output • Modular check character is processed as follows: - Automatically added when processing data is 13 byte. - The 13th byte data is processed as a modular check character when processing data is 13 byte.
  • Page 194 PROGRAMMING GUIDE Data (1234567|CompositeAbcdefghij) Command 0x1D 0x6B 0x44 0x1B "1234567|CompositeAbcdefghij" Output • The printer processes the start code (ASCII = */Hex = 2Ah/Decimal = 42) as follows: - When the first bar code (d1) is “*”, the printer processes the data as a first character. - If the first bar code (d1) is not “*”, the printer adds a start character (*) automatically.
  • Page 195 PROGRAMMING GUIDE • Start code and stop code are not added automatically. Transmit data including the codes. • Check digits are not calculated and added. Example: Data (0123456789 CODABAR Command 0x1D 0x6B 0x06 "A0123456789A" 0x00 (m = 6, 71) process: 0x1D 0x6B 0x47 0x0C "A0123456789A"...
  • Page 196 PROGRAMMING GUIDE • Stop character is added automatically. • Check digit is 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). •...
  • Page 197 PROGRAMMING GUIDE • Barcode is combination of GS1 Stacked and the composite codes CC-A and CC-B • Separator to composite code is ‘|’ (ASCII), 7C (HEX), 124 (DEC) • Barcode can be printed without the composite part • Barcode will not be printed if the separator is given without composite code •...
  • Page 198 PROGRAMMING GUIDE • 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 composite codes CC-A and CC-B • Separator to composite code is ‘|’ (ASCII), 7C (HEX), 124 (DEC) •...
  • Page 199 PROGRAMMING GUIDE • Composite Code is only usable with an composite Barcode (UCC EAN 128 CC_C) CC_C • The following example should be helpful generating UCC 128: Values Code128 Conversion Command 0x1D 0x6B 0x53 0x1D 0x69 105 66 0 20 0 1 0 4 START_C 66 00 20 00 01 00 04 0x42 0x00 0x14 0x00 0x01 0x00 0x04 0x37...
  • Page 200 PROGRAMMING GUIDE Table 9.1 Code 128 – Code table conversion Value Value Code A Code B Code C (decimal) (hex) “00“ Space Space “01“ “ “ “02“ “03“ “04“ “05“ “06“ & & ‘ ‘ “07“ “08“ “09“ “10“ “11“ “12“...
  • Page 201 PROGRAMMING GUIDE “55“ “56“ “57“ “58“ “59“ “60“ “61“ “62“ “63“ “64“ “65“ “66“ “67“ “68“ “69“ “70“ “71“ “72“ “73“ “74“ “75“ “76“ “77“ “78“ “79“ “80“ “81“ “82“ “83“ “84“ “85“ “86“ “87“ “88“ “89“ “90“ “91“ “92“ “93“...
  • Page 202 PROGRAMMING GUIDE GS ( k Print 2-dimensional Barcode • PDF417: Print the symbol data in the symbol storage area Data (0123456789) Command 0x1D 0x28 0x6B 0x0D 0x00 0x30 0x50 0x30 0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39 PDF417 ;...
  • Page 203 PROGRAMMING GUIDE • DataMatrix: Print the symbol data in the symbol storage area Data (123456789012345678901234567890) Command 0x1D 0x28 0x6B 0x05 0x00 0x36 0x42 0x00 0x16 0x16 ; Set the symbol type, number of columns, number of rows 0x1D 0x28 0x6B 0x03 0x00 0x36 0x43 0x04 ;...
  • Page 204: Diagnostics

    PROGRAMMING GUIDE Diagnostics 10. Offline Diagnostic 10.1 Offline Printer Configuration It configures the printer by Feed Key operation in offline mode. When the printer is turned on while Feed Key is pressed down, it enters Offline Printer Configuration mode. In this mode, all the interfaces are not available. Service Menu Structure –...
  • Page 205 PROGRAMMING GUIDE Main Menu / Diagnostic Diagnostic Exit Rolling Pattern Test Rolling Pattern Test Exit Sensor Test Print Pattern Once Print Pattern Unlimited Black Mark Test Print Pattern 10 Times Print Pattern 50 Times Cutter Test(Full Cut) Print Pattern 100 Times Print Pattern 500 Times Cutter Test(Partial Cut)
  • Page 206 PROGRAMMING GUIDE Main Menu / Configuration / Hardware Hardware Exit/Save Power Button Power Button Exit Max. Power Enable Button Disable Button Black Mark Sensor Max. Power Sleep Mode Exit Set Max. Power to Auto Set Max. Power to 48W Set Max. Power to 55W Set Max.
  • Page 207 PROGRAMMING GUIDE Main Menu / Configuration / Software Diagnostic Exit Power-ON Power-ON notice Notice Exit Paper-NE Transmit Don’t Transmit Notice Automatic Line Feed Paper-NE Notice Legacy Printer Exit Support Enable Paper-NE Notice Listen To Disable Paper-NE Notice RT-Cmds Asian font Automatic Line Feed Exit Enable Automatic Line Feed...
  • Page 208 PROGRAMMING GUIDE Main Menu / Configuration / Print Options Hardware Exit/Save Print Speed Print Speed Exit Paper Width PaperWidth 1.5 IPS Exit 2 IPS Paper Type 58mm 4 IPS 80mm 6 IPS Print Density 8 IPS Paper Type 10 IPS Color Print Density Exit 12 IPS...
  • Page 209 PROGRAMMING GUIDE Main Menu / Configuration / Print Options Configuration & Counters Exit Set Configuration to Default Main Menu / Configuration / RS232 Diagnostic Exit Baud Rate Baud Rate Exit Parity 9600 bps 19200 bps Flow Control 38400 bps 57800 bps Bit Length 115200 bps Receive Buffer...
  • Page 210 PROGRAMMING GUIDE Main Menu / Configuration / Ethernet Settings Diagnostic Exit DHCP DHCP Exit Enable DHCP Disable DHCP...
  • Page 211 PROGRAMMING GUIDE Diagnostic - Menu Every diagnostic function will be explained in the table below. Menu Description Available Options Exit/Save Rolling Pattern Test 1, 10, 50, 100, 500, The rolling pattern menu allows you to print out a endless rolling pattern in numerous ways. You can print it out once, endless, which will be interrupted by a long click of the LF button, and a predefined number of times...
  • Page 212 PROGRAMMING GUIDE 4.2.5.2 Sleep Mode Time Endless, 10 sec, 30 sec, The minimum time to switch 1 min, 10 min, 30 min automatically in Sleep Mode 4.2.5.3 Sleep Mode Interface Power On/Off Set Sleep Mode Interface Power On, The state on power for cash drawer Set Sleep Mode Interface Power Off during Sleep Mode 4.2.5.4 Sleep Mode Cash Drawer Delay...
  • Page 213 PROGRAMMING GUIDE Software Menu Description Available Options 4.3.1 Exit Exit this menu level and give a save request, if there are unsaved changes. 4.3.2 Power-ON Notice Transmit, Don’t Transmit Select a power up notification on the communication interface 4.3.3 Paper-NE Notice Enable Paper-NE Notice, Select the usage of the Disable Paper-NE Notice...
  • Page 214 Selects if and how the printer Without Clearing, automatic recovers from an error. With Clearing 4.4.8 Receipt Shooting Select the usage of the P1200 Receipt Shooting. 4.4.8.1 Receipt Shooting Enable/Disable Enable Receipt Shooting, Enable or disable Receipt Shooting. Disable Receipt Shooting 4.4.8.2 Receipt Shooting Time...
  • Page 215 PROGRAMMING GUIDE RS232 Configuration In this configuration menu, you can configure the parameters for use with one RS232 communications Interface. This interfaces boards are available with different options. This menu is available with RS232 option card. Menu Description Available Options 4.6.1 Exit Exit this menu level and gives a save...
  • Page 216 Print Extended Self Test That prints the extended self test with all printer data. Print Example That prints a small demo printout with capabilities of the P1200. Help Prints a short instruction for use the service menu.
  • Page 217: P1200 Diagnostic Functions

    PROGRAMMING GUIDE 10.2 P1200 Diagnostic Functions Diagnostic Description Selection Function • Entering diagnostic mode Selftest Printout printer info, settings and statistic data. • Diagnostic mode menu Sensor test Allow to test sensor functions. • LED diagnostic menu • Diagnostic mode menu...
  • Page 218 PROGRAMMING GUIDE Printer Configuration form indicates the printer individual information and configurations. P1200 Printer Settings : Emulation : TH230 Extended Black Mark Sensor : disabled Self Test Automatic LF : enabled Power Button : enabled Hardware Information : : don’t transmit...
  • Page 219 PROGRAMMING GUIDE Installed Code Pages : : PC437 : PC850 : PC852 : PC860 : PC863 : PC865 : PC858 : PC866 : WPC1252 : PC862 : PC737 : PC874 : PC857 : WPC1251 : WPC1255 : KZ 1048 : WPC1254 : WPC1250 : WPC28591 : WPC28592...
  • Page 220: Sensor Test

    PROGRAMMING GUIDE 1) If the cover is closed while Feed Key is pressed down, it prints this form. 2) If “Print Printer Config.” is selected at Top Menu of the offline diagnostics, it prints this form. 3) If “Print Printer Configuration Form” command (0x1F 0x74) is received, it prints this form. Before it prints Printer Configuration Form, it performs the dot failure detection in order to update the latest dot status.
  • Page 221: Printer Errors

    PROGRAMMING GUIDE Printer Errors 11. Error Detection The followings are errors and warnings detected in this printer. 1) Unrecoverable Error Those are very critical errors that the printer may not be functional at all and may require the repair. Once those errors are detected, it is not able to recover from an error condition unless the printer is reset.
  • Page 222 PROGRAMMING GUIDE printing. The printer is not able to recover from this error condition unless the printer is turned off. Even if it is rebooted, there is a high possibility that same error is detected because this is the fatal error. Paper Jam Error When the printer recognizes that the paper is rolled up into the platen, it is detected as Paper Jam Error.
  • Page 223: 12. Led Indication

    PROGRAMMING GUIDE 12. LED Indication 11.1 LED Pattern in Auto Mode This is the default LED pattern in “Auto Mode” which printer itself controls LED according to the printer status. This pattern can be changed by LED configuration command. Stage Printer Status Cycle Color...
  • Page 224: Led Pattern In User Mode

    PROGRAMMING GUIDE 11.2 LED Pattern in User Mode When the printer is configured to “User Mode”, a system controls LED by “LED Control Request” command according to the printer status. The printer itself does not control the LED at all. For example, if a system recognizes that the cover is opened, it may send LED Control Request command (1D 7A 25) so that LED starts blinking RED in 3Hz.
  • Page 225: Ethernet

    PROGRAMMING GUIDE Ethernet Ethernet interface is available when Ethernet option card is connected to printer. 13. Web setting page Printer supports setting change via web page. It requires “User name” and “Password” to login web setting page. ( default value is “admin” for both User name and password) ...
  • Page 226 PROGRAMMING GUIDE  SNMP : “Enable”, “Disable” SNMP functionality.  Read/Write : Community name for SNMP.  TRAP 1 : “Enable” “Disable” for TRAP 1.  IP address : IP address for Trap 1  Community name : Community name for Trap1 ...
  • Page 227 DIEBOLD NIXDORF 5995 Mayfair Road | North Canton, OH 44720 | United States © 2021 Diebold Nixdorf, Incorporated. All Rights Reserved.

Table of Contents