5. Software specifications 5.1 Control command table 5.2 Printer driver 5.3 Control command details 5.4 Mode status of setting functions 5.5 Domestic code table 5.6 Overseas code table 5.7 International character code table 6. Dimensional drawing 6.1 NP-255 outline drawing...
Page 4
Read carefully Before Using NP-255 Wrong handling of the printer may cause its performance declined and the product damaged. Please read the notes below before handling. Static discharge prevention must be made for installation and removal of the printer to protect IC and other electrical parts.
8) Windows Drivers (Windows 95/98/NT4.0/2000) are available. 1.3 Model name N P – 2 5 5 OEM Model 1.4 Packing status The printer is packed as: Product name Specification Item number Quantity Printer NP-255 Thermal paper W58 x Ø30 24-X130...
2. Specifications 2.1 Block drawing Cover open SW FEED SW Paper rewinding mechanism Control board DATA IN DATA,CLOCK Easy operation RS-232C mechanism PE/UP Near-end Reflect photo interrupter GND 5V Roll paper External PWR supply (Supplied by host) AC 100V~ AC 230V...
2.3 Power supply specifications Power Voltage Current consumption Remarks 200mA (typical) DC 5V± 5% DC 24V± 5% 4.5A (peak) 2.4 Reliability 1) Head life Pulse : More than 100 million pulses (at 25° w/energy specified) Wear distance : More than 50Km * Should be used under room temp.
3. Interfaces 3.1 Serial interface 1) Synchronization : Not synchronized 2) Handshake : RTS/CTS control 3) Transfer speed : 19200bps, 38400bps 4) 1 word consists of : Start bit : 1 bit fixed Data bit : 8 bits fixed Parity bit : No parity.
3.3 Connecter connections Data signal and power input Connecter on printer: DK-2100D-12P (DDK) equivalent Acceptable connecter : DK-2100D-12F (DDK) equivalent Signal name Input/Output Description Remarks /RESET Input RESET Input (-) Output Printer busy Input Host busy Input Receives data Output Transmitted data Common GND Common GND...
/RESET /RESET VCC +5V VCC +5V VM +24V VM +24V Journal(NP-255) /RESET VCC +5V VM +24V Note: 1. Use the cable shielded within the length of 3m. If a cable longer than 30cm between the power supply and printer, make sure to use a condenser to stabilize the power level. Use a cable in smaller number than AWG#24.
4. Functions 4.1 Function setting The printer has DIP switches on the control board to make various function settings. DIP SW Functions Factory setting S1-1 CR operation Effective Ineffective S1-2 Japanese Shift JIS S1-3 Near end sensor Ineffective Effective S1-4 Print density select * +25% up Standard level...
4.3 Error The printer has various types of error sensors and uploads the status to the host as preventive information at problems. The host or operator can then treat the best way to remove the error reviewing the error status. 4.3.1 Error description Serial RS232C Error name...
4.4 Feed switch The printer has a feed switch implemented on the left. The Feed switch: a switch to feed paper to the forward direction. It is also used for self-print. 4.5 Firmware rewriting The printer has a rewritable 8M flash ROM. Read the following steps to rewrite: Writing on line: Refer to the section 5.3 Control commands, Firmware download.
4.6 HEX DUMP print 1) HEX DUMP function Printer prints the HEX indications of data transmitted to the printer by the host and they are used for the application debug and analysis of characters distorted. 2) Print start and end of HEX DUMP Printer starts printing HEX DUMP by setting DIP SW-7 on and power to the printer.
4.7 Self print 1) Confirmation by self print function a. Control circuitry function b. Printer mechanism function c. Print quality d. Control firmware version e. Check of paper end sensor 2) Start and end of self print Self-print starts by closing the platen or platen open/close lever while holding the feed switch on when platen or platen open/close lever is open.
5. Software specifications 5.1 Control command table Control codes Functions Pages Horizontal tab Carriage return Print and line feed ESC SP n Character right space set ESC ! n Print mode overall set ESC % n Down load character set/reset ESC &...
5.2 Printer driver The following drivers, supplied by Nippon Primex, Inc., are recommended when NP-255 is used with the Windows driver. Please refer to the drier manual for details. 1) Windows 95/98: NII printer driver Windows 95/98, Version 1.00 2) Windows NT4.0: NII printer driver Windows NT4.0, Version 1.00 3) Windows 2000: NII printer driver Windows 2000, Version 1.00...
Page 20
5) Overall print mode setting: <<ESC ! n>> Code : [1B] h + [21] h + n * [00≤n≤FF] h Description : Sets print mode. “n” has following meanings Values Function Character font Font A Font B Undefined Undefined Bold Reset Double height Reset...
Page 21
< Reference > In the case of Font A 12dots 24dots P1=• k 00• l h,P4=• k 00• l h,P7=• k 00• l h,P10=• k 00• l h,• c P2=• k 00• l h,P5=• k 00• l h,P8=• k 0F• l h,P11=• k 72• l h,• c P3=•...
Page 22
< Reference > In the case of Font B 9dots 17dots P1=• k 40• l h,P4=• k 7F• l h,P7=• k 41• l h,P10=• k 41• l h,• c P2=• k 04• l h,P5=• k FC• l h,P8=• k 04• l h,P11=• k 04• l h,• c P3=•...
Page 23
8) Bit image mode set: << ESC * m n1 n2 Dn >> Code: [1B] h + [2A] h + m + n1 + n2 + Dn * [m = 23] h fixed * [00≤n1+(100hxn2)≤1b0] h Data is printed in 24 dots bit image of resolution of 203 x 203DP. Print total dots divided by 256, quotient is n2 and remainder is n1.
Page 24
9) Underline set/reset : <<ESC - n>> * [00≤ n ≤02 ]h Code : [1B] h + [2D] h + n Description : Sets and resets the underline Explanation : Underline is valid for all characters except for the area skipped by horizontal tab. Also Underline is not valid for 90°...
Page 25
14) Bold print set/reset :<< ESC E n >> * [00≤ n ≤FF] h Code : [1B] h + [45] h + n Description : sets and resets the bold print Explanation : “n” is only valid for LSB(b0) LSB (n0) is defined as following. Values Resets bold print Sets the bold print...
Page 26
18) Panel switch enable/disable :<< ESC c 5 n >> Code : [1B ] h + [63] h + [35] h + n * [00≤n≤FF] h Description : changes the FEED switch valid or invalid. “n” is only valid for LSB(b0) “n”...
Page 27
22) Inverted character set and reset :<< ESC { n >> Code : [1B] h + [7B] h + n * [00≤n≤FF] h Description : sets or resets the inverted character function Explanation : n is only valid for the LSB(b0) LSB (b0) has the following meaning Description resets inverted character...
Page 28
26) Barcode print :<< GS k n Dn NUL>> Code : [ 1D] h + [ 6B ] h + n + Dn + [ 00 ] h * [00≤n≤07] h Description : Selects barcode symbology and prints barcode. Next print start position is the head of a line. Following is the barcode symbology n(hex) barcode symbology...
Page 29
30) Select of HRI character style :<<GS f n>> Code : [1D] h + [66] h + n * [00≤n≤01] h Description : Selects HRI character style in printing barcode. n has the following meaning. n(hex) Style Font A Font B Default value of n is [00] h.
Page 30
33) Automatic transmission of printer status : << GS v NUL >> Code : [1D] h + [76] h + [00] h *Automatically transmits the status when the printer status changes. *Once setting is made, it is effective until software is reset, power is set off, or reset signal is input.
Page 31
36) Firmware download : << GS d Dn >> Code : [1D] h + [64] h + Dn Download the HEX code of printer’s firmware and rewrite the firmware according to the contents. * Dn is a HEX code of firmware and in accordance with INTELLEX HEX format. * When downloading is completed, the printer is activated with the new firmware rewritten.
5.4 Mode status of setting functions Setting function PWR ON Command ESC @ DLE CAN Remarks Print line buffer Clear ESC @/DLE CAN Clear Clear Internal receive buffer Clear Software reset Hold Clear Assign horizontal tab Font A. Four Optional Font A.
5.5 Domestic code table International character set: Japan *[SP] indicates "space". *Printer operation cannot be guaranteed if the blank control code (codes below [1F]h) is transmitted to printer. *The character in this code table is typical symbol, so the actual print of character may be different in some cases.
5.5 Overseas code table International character set: U.S.A *[SP] indicates "space". *Printer operation cannot be guaranteed if the blank control code (codes below [1F]h) is transmitted to printer. *The character in this code table is typical symbol, so the actual print of character may be different in some cases.
5.6 International character code table *The character in this code table is typical symbol, so the actual print of character may be different in some cases.