Printer Setting Change
This command sets the printer configuration specified by m and n. After receiving this command, the printer is reset to activate the setting. If m or n is out of range, the printer ignores this command but waits for the data until terminator code 0FFH.
ASCII |
US DC1 [m n], [m n]… [m n] 0FFH |
Hexadecimal |
1F 11 [m n], [m n]…[m n] 0FFH |
Decimal |
31 17 [m n], [m n]…[m n] 0FFH |
Values of m, n (Hex) |
|||
---|---|---|---|
m |
Function |
n |
Function |
10 |
Interface type |
•00 •01 •02 |
•USB/RS232C •RS232C •USB |
11 |
Baud rate |
•00 •01 •02 •03 •04 •05 •06 •07 |
•115200 bps • 57600 bps • 38400 bps • 19200 bps • 9600 bps • 4800 bps • 2400 bps • 1200 bps |
12 |
Number of data bit |
•00 •01 |
•8 data bits •7 data bits |
13 |
Number of stop bit |
•00 •01 |
•1 stop bits •2 stop bits |
14 |
Parity |
•00 •01 •02 |
•No parity •Even parity •Odd parity |
15 |
Flow control |
•00 •01 |
•Software (XON/XOFF) •Hardware (DTR/DSR) |
16 |
Data reception errors option |
•00 •01 |
•Ignore errors •Print “?” |
17 |
One line buffer |
•00 •01 •02 •03 |
•4K Buffer •One line buffer (128 Bytes) •8K •12K |
18 |
DSR signal option |
•00 •01 |
•Enable DSR signal •Disable DSR signal |
19 |
Printer ID mode |
•00 •01 •02 |
•7158 Native ID •Emulated Printer ID •7167 Native ID |
20 |
Emulation |
•00 •01 •02 •03 |
•7158 Native mode •7156 mode •7150 mode •7167 Mode |
21 |
Default lines per inch |
•00 •01 •02 |
•8.13 lines per inch •7.52 lines per inch •6 lines per inch |
22 |
Carriage return usage |
•00 •01 |
•Ignore CR •Use CR as Print cmd. |
23 |
Asian mode |
•00 •01 |
•Asian mode on •Asian mode off |
24 |
Slip Print Width Option |
•00 •01 |
•82.2 mm (7167 Mode) •120.7 mm (7156/58 Mode) |
25 |
Receipt synchronization |
•00 •01 |
•Synchronization enabled •Synchronization disabled |
26 |
Platen Waiting Time |
•00 •01 •02 |
•No Extra Time •Extra 1 second •Extra 2 seconds |
27 |
PDF417 Print Column |
•00 •01 |
• 9 Columns •14 Columns |
28 |
RS485 Emulation |
•00 •01 |
•4610 Emulation •4R Emulation |
29 |
4610 Emulation |
•00 •01 |
•4610 TI4 •4610 TI9 |
2A |
Landscape Mode |
•00 •01 |
•Page Mode •Line-by-line Mode |
30 |
Print Density |
•F1 •F2 •F3 •F4 •F5 •F6 •F7 •F8 •F9 •FA •FB •FC •FD •FE •FF •00 •01 •02 •03 •04 •05 •06 •07 •08 •09 •0A •0B •0C •0D •0E •0F |
•-15 •-14 •-13 •-12 •-11 •-10 •-09 •-08 •-07 •-06 •-05 •-04 •-03 •-02 •-01 •00 •+01 •+02 •+03 •+04 •+05 •+06 •+07 •+08 •+09 •+10 •+11 •+12 •+13 •+14 •+15d |
31 |
Paper Low sensor option |
•00 •01 |
•Paper low sensor enable •Paper low sensor disable |
32 |
Paper width |
•00 •01 |
•80 mm •58 mm |
33 |
Knife option |
•00 •01 |
•Enable knife •Disable knife |
34 |
MICR option |
•00 •01 |
•Enable MICR •Diasble MICR |
35 |
Check Flip option |
•00 •01 |
•Enable check flip •Disable check flip |
36 |
Max Power option |
•00 •01 |
•Term Pwr-High •NCR 75W Ext Pwr |
37 |
Color Paper option |
•00 •01 |
•One Color Paper •Two Color Paper |
38 |
MICR dual pass option |
•00 •01 |
•Dual pass disable •Dual pass enable |
3E |
FONT Type |
•00 •01 |
•Font1, use original font. (all code page) •Font2, use increased font size for CP473 and CP858. |
3F |
Char 48 Column Print |
•00 •01 |
•OFF •ON |
40 |
Default code page |
•00 •01 •02 •03 •04 •05 •06 |
•437 •850 •852 •858 •860 •862 •863 |
40 |
Default code page |
•07 •08 •09 •0A •0B •0C •0D •0E •0F |
•864 •865 •866 •874 •1252 •Katakana •932 (or 936, 949, 950) •Hungary •1256 |
41–44 |
Reserved |
|
|
45 |
Set paper detection |
•00 •01 |
•Enable •Disable |
50 |
EEPROM default setting |
00 |
EEPROM default setting |
57 |
ECO function disable / enable in Lean utility |
•00 •01 |
•Disable •Enable |
58 |
Space
Character Line |
•00 •01 |
•Character •Line Feed |
60 |
Thermal Printing Mode |
•00 •01 •02 •03 |
•Single Sided Mode •Double Sided Mode with Single Side command •Double Sided Mode with Double Side Command •Double Sided Mode with Pre-Defined data |
61 |
Upside Down Printing |
•00 •01 •02 •03 |
•Front: Normal, Back: Normal •Front: Upside down, Back Normal •Front: Normal, Back: Upside Down •Front: Upside Down, Back Upside Down |
62 |
Swap Front Side and Back Side |
•00 •01 |
•Not Swap •Swap Front and Back side |
63 |
Pre-Defined Bottom/Top Message |
•00 •01 •02 •03 |
•No Message •Bottom Message on Front •Top Message on Back •Both Bottom Message on Front and Top Message on Back |
64 |
Minimum Receipt Length |
•00 •01-FF |
•No Min. Receipt Length •Minimum receipt length (inches) |
65 |
Minimum Receipt Length |
00-FF (max value tbd) |
Length in dot rows for Minimum receipt length |
66 |
Reprint when Error Occurs |
•00 •01 |
•Resume printing from last error line •Reprint the error page |
67 |
Reprint Message |
•00 •01 |
•No Message •Reprint Message |
68 |
USB Interface Type (Refer Notes) |
•00 •01 •02 |
•Not use (Reserve for EpiC) •NHPI •PRTR |
7F |
Compatibility Barcode Length |
•00 •01 |
•Disable •Enable |
80 |
Receipt Print Mode (Speed Reduction in Eco utility) |
•00 •01 |
•High Speed Print •High Quality Print |
81 |
Power-On Thermal Head Failure Detection Mode |
•00 •01 |
•OFF •ON |
82 |
Standby mode (Enable Stand-by Mode in Eco utility) |
•00 •01 |
•Disabled •Enabled |
83 |
Shift time to Power-off (enable Off Mode in Eco utility) |
•00 •01 •02 •03 •04 •05 |
•Disabled •60min •120min •180min •240min •300min |
Notes
This command changes configuration setting in EEPROM. If same value that is set in EEPROM is set, this command doesn’t write to EEPROM.
Restart the terminal after setting the Landscape Mode, RS485 Emulation and 4610 Emulation parameters. These parameters are supported only in RS485 model.
USB Interface Type depends on firmware version and is set as follows.
Command Value |
ION USB version |
Non ION USB version |
---|---|---|
00 (EPiC) (If used) |
Ignore |
01 (NHPI) |
01 (NHPI) |
Ignore |
01 (NHPI) |
02 (PRTR) |
Ignore |
02 (PRTR) |
Default value of EEPROM:
ION USB version : 0x00 (EPiC)
Non ION USB version : 0x01 (NHPI)