Download Print this page

Advertisement

Quick Links

Specifications
Revision 0.90 2002.01.24 1
Revision 1.00 2002.04.10 2
Revision 1.10 2002.08.07 3
Revision 1.20 2002.09.27 4
* Specifications stated here are subject to change without notice.
* Trade mark, sales mark, logos are properties of each company.
Product
for
NP-345
st
edition
nd
edition
rd
edition
th
edition
No.
D-F0332

Advertisement

loading

Summary of Contents for Star Micronics NP-345

  • Page 1 D-F0332 Product Specifications NP-345 Revision 0.90 2002.01.24 1 edition Revision 1.00 2002.04.10 2 edition Revision 1.10 2002.08.07 3 edition Revision 1.20 2002.09.27 4 edition * Specifications stated here are subject to change without notice. * Trade mark, sales mark, logos are properties of each company.
  • Page 2 Record of revision Description Rev. Date Approval Page Item Change Jan. 24, Jan. 24, New release 2002 0.90 2002 1.00 Apr. 10, NP-245 Delete Apr. 10, 2002 2002 Print mode Change to page and line mode Print area and Modify blackmark position Page mode...
  • Page 3 NV bit image Delete NP-245 registration Add note Back feed Delete note Soft reset Delete note Print density Add note Page mode Add note select Page mode Add ESC b, ESC v, GS command table Change line mode to page mode Print density Add note...
  • Page 4 Read carefully Before Using NP-345 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.
  • Page 5: Table Of Contents

    Table of Contents 1. Overview 1.1 Overview 1.2 Features 1.3 Packing status 2. Specifications 2.1 Basic specifications 2.2 Print area and black mark position 2.3 Page mode 2.4 Power supply specifications 2.5 Reliability 2.6 Dimension drawing 3. Interfaces 3.1 Parallel interface (Centronics) 3.2 Serial interface (RS-232C) 3.3 USB interface (V1.1) 3.4 Connector connections...
  • Page 6: Overview

    + Last 2 digits are not shown without the option kit and power supply. 1.2 Features NP-345 gaming printer is designed in compact with high reliability, accumulated by the long experience as a printer assembly manufacturer, of components used for printer mechanism such as control board and other major items.
  • Page 7: Packing Status

    (1) For 4.5mm screw hole: flat lock washers, spring lock washers can be used. (2) For M4 tap screw hole: The screw within 3.0mm inside can be used. 4.NP-345 has Serial, USB, Parallel interface versions. 1.3 Packing status The printer is packed as: Item &...
  • Page 8: Specifications

    2. Specifications 2.1 Basic specifications Items NP-345 Print 1. Print method Thermal line dot 2. Total dots/line 576 dots (max.) 3. Dot density 8 dots/mm 4. Print width 72mm (max.) 5. Print speed (MAX.)* 70mm/sec Conditions: ASCII full digits print.
  • Page 9: Print Area And Black Mark Position

    4. paper near-end sensor Approx. 30 • } 10 sheets Receive buffer Approx. 10K bytes Operation SW input ALM LED out Paper feed SW input Weight Weight excluding paper Approx. 1950g 2.2 Print area and black mark position 2.2mm Cut position Print area start 9.1+-0.5mm 22.0•...
  • Page 10: Page Mode

    Printing in the page mode starts only when receiving the print command (FF). For the detail of the commands, please refer to the section 5.5. 2.4 Power supply specifications 1) Voltage: DC24V +/-5% 2) Consumption current NP-345 Standby Approx. 0.1A At printing ASCII (About 16% print ratio) Approx. 1.7A At printing bit image (Max.100%)
  • Page 11: Dimension Drawing

    2.6 Dimensional drawing of NP-345 ‚ o ‚ ` ‚ q ‚ ` ‚ k ‚ k ‚ d ‚ k ‚ t ‚ r ‚ a (93.8) 48.4 51.4 NOTE: 1. Note when mounting the printer a) 4.5 diameter hole: Available to use machine screw, flat clip plate, spring clip plate...
  • Page 12: Interfaces

    3. Interfaces 3.1 Parallel interface (Centronics) (if requested) 1) Data input method: 8 bit parallel method (Data0 ~ data7) 2) Control signal: /ACK, BUSY, -STB, -ERROR, PE, SLCT, /INIT 3) Input signal to printer Data 0 ~ data 7: 8 bit parallel signal (positive theory: PT) /STB: Signal to read 8 bit data (negative theory: NT) /INIT: Signal to reset whole printer (NT) 4) Printer output signal...
  • Page 13: Serial Interface(Rs232C)

    7) Timing chart POWER T2 T3 DATA BUSY T1=3500msec(MAX) T2,T3=500nsec(MIN) T4=500nsec(MAX) T5,T6=4microsec(TYP) 8) Reception control Data from host can be receivable at BUSY signal LOW. Not available at HIGH. 3.2 Serial interface(RS232C) 1) Synchronization : Not synchronized 2) Transfer speed : 19200, 38400bps (user optional) 3) 1 word consists of : Start bit...
  • Page 14: Connector Connections

    3.4 Connector connections 1) J1: Connected to power supply connector 2) CN2: Connected to printer mechanism (head) 3) CN3: Connected to printer mechanism (motor) 4) CN4: Connected to printer mechanism (sensor) 5) CN5: Connected to data signal input connector 6) CN6: No connection 7) CN7: Connected to near end sensor 8) CN8: Connected to operation panel (not visible) 9) CN9: Connected to paper output sensor and drawer sensor...
  • Page 15 3) Data signal input connector (Serial) Printer side connector: JEC-25P (JST) equivalent Host side connector: JEC-25S (JST) equivalent Pin No. Signal Input/output Function Remarks Ground for signals Output Serial transmit data Input Serial receive data Output Transmit demand signal Connects to #20 Input Transmit permit signal Input...
  • Page 16: Functions

    4. Functions 4.1 Function setting DIP SW for Serial Function Factory setting Baud rate 38400 19200 Character setting Non-Japan Japan Emulation select Windows ESC/POS Japanese character code Shift JIS Fixed partition select 2 partitions 1 partition Flash ROM rewrite Rewrite Near end Enable Disable...
  • Page 17: Errors

    4.1.4 Paper sensor The printer has a paper sensor located at each paper passing through section on the printer mechanism to monitor no paper status. Once no paper status is monitored, it sends PE signal to stop printing. Load paper once no paper status is found. 4.2 Errors 1) Error description /ERROR 232C...
  • Page 18: Partition Drive

    2) Automatic partition drive Switch between 1 partition and 2 partitions according to the total dots/line printed. 1 partition 2 partitions NP-345 Less than 287 dots Higher than 288 dots Automatic partition drive select will automatically change the print speed according to print ratio.
  • Page 19: Control Commands

    5. Control commands 5.1 Printer driver The following drivers, supplied by Nippon Primex Inc., are recommended when NP-345 is used with the Windows driver. Please refer to the driver manual for details. 1. Windows 95/98:NII printer driver Windows 95/98, V1.00 2.
  • Page 20: Line Mode Command Details

    GS B n Black/white reverse print set/reset ESC B n Back feed Reset software GS % n Partition drive select Print density set GS • P n ESC L Page mode selection * Functions differently between printer with standard type driver and Windows type. 5.3 Line mode command details 1) Horizontal tab : <<HT>>...
  • Page 21 7) Overall print mode setting: <<ESC ! n>> Code : [1B] h + [21] h + n * [00≤n≤FF] h Sets print mode. “n” has following meanings Values Function Character font Font A Font B Undefined Undefined Bold Reset Double height Reset Double width Reset...
  • Page 22 < 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 23 < 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 24 * Total dots in bit image mode are n1 + (256 x n2). * If the bit image input data exceeds specified position, the exceeded data will be disregarded. NP-245: 448 dots. NP-345: 576 dots. * Bit image data (Dn) interprets bit 1 as print and bit 0 as not print.
  • Page 25 < Relationship between bit image data and printed dots > 8 dots bit image D1 D2 D3 DATA =1dot single double 24 dots bit image D1 D2 D3 D4 D5 D6 D7 D8 D9 DATA =1dot single double...
  • Page 26 11) Underline set/reset : <<ESC - n>> * [00≤ n ≤02 ]h Code : [1B] h + [2D] h + n Sets and resets the underline * Underline is valid for all characters except for the area skipped by horizontal tab. * Also Underline is not valid for 90°...
  • Page 27 16) Bold print set/reset :<< ESC E n >> * [00≤ n ≤FF] h Code : [1B] h + [45] h + n Sets and resets the bold print * “n” is only valid for LSB(b0) LSB (b0) is defined as following. Values Resets bold print Sets the bold print...
  • Page 28 20) Feed switch enable/disable:<< ESC c 5 n >> Code : [1B ] h + [63] h + [35] h + n * [00≤n≤FF] h Changes the FEED switch valid or invalid. * “n” is only valid for LSB(b0) * “n” bit has a following meanings Description enable FEED switch disable FEED switch...
  • Page 29 24) Inverted character set and reset :<< ESC { n >> Code : [1B] h + [7B] h + n * [00≤n≤FF] h Sets or resets the inverted character function * Only LSB (n0) is effective for “n”. * Control by LSB (b0) is explained below: Description resets inverted character sets inverted character...
  • Page 30 28) 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. * The next print start position is on the line head * Select following barcode symbology with “n”...
  • Page 31 32) Select of HRI character style :<<GS f n>> * < 00≤ n ≤01 >h Code : <1D>h+<66>h+n Description : Selects HRI character style in printing barcode * “n” has the following meanings: n (hex) Style Font A Font B * Default value of “n”...
  • Page 32 34) Download bit image print :<< GS / m >> Code : < 1D >h + < 2F >h + m * < 00≤m≤03 >h Description : Prints “download bit image” in a mode assigned by “m”. * Modes to be assigned by m are as follows. Dot density Modes Vertical...
  • Page 33 37) Data input control :<< ESC = n >> Code : < 1B >h + < 3D >h + n * < 00≤n≤FF >h Description:Selects valid device where data input is possible through host computer. * Each bit of “n” has the following meaning. Values Function Printer...
  • Page 34 40) QR code print :<<ESC q S E M>> ESC + ”q” + S + E + M + DATA [+ ”,” + M + DATA +……] + NUL HEX CODE <1B>h + <71>h + S + E + M + DATA [+ <2C>h + M + DATA +….] + <00>h About parameter S: module size * Assign 1 module size of QR code by printer’s dot numbers.
  • Page 35 Following table shows the number of characters and input data capacity for the model 1 in version 1 to 10. Data capacity Correction Data code Version Data bit Alpha 8 bit level Word Numeric Kanji numeric byte 1084 1356 1052 1660 1276 1020...
  • Page 36 * It is possible to register from 0 to 2 different kinds of patterns (3 patterns). * In each pattern, up to the maximum of 11cm (for NP-345) can be registered. The bit image print data exceeding the maximum length is neglected.
  • Page 37 43) Firmware download :<<GS • F >> Code : <1D>h + <3A>h Description : Download printer firmware in hexadecimal code and rewrite firmware according to the outcome. * Dn is firmware’s hex code that complies with INTELLEX Hex format. 44) Reverse print set and reset :<< GS B n >> Code : <...
  • Page 38 * If assigned beyond the specified area, the data is neglected and the select will not change. * Automatic partition is as follows: 1 partition 2 partitions NP-345 Less than 287 dots More than 288 dots 48) Print density set :<< GS ˉ n >>...
  • Page 39: Page Mode Command Table

    5.4 Page mode command table Control command Function Page ESC L n Print & edit selection ESC M nx1 nx2 nx3 ny1 ny2 ny3 Print edit position setting Print page feed Line feed ESC c Printer initialization ESC I Print/edit clear GS ~ Print density setting ESC P n...
  • Page 40: Page Mode Command Details

    5.5 Page mode command details 1) Print/edit direction select << ESC L n>> Code:• k 1B• l h• { • k 4C• l h• { n • ¦ • k '0'• … n• … '5'• l Description: Selects the print/edit direction selected in the print/edit page. * Print/edit direction set by “n”...
  • Page 41 < Print/Edit direction 1, 4 > Print/edit direction 4/ 1st line Print/edit direction 4/ 2nd line Print/edit direction 4/ 3rd line Print Edit Direction 1/1st line 1/2nd line 1/3rd line (0,0) Y direction Paper feed < Print/edit direction 2, 5 > (0,0) Paper feed direction...
  • Page 42 2) Print/edit position setting << ESC M nx1 nx2 nx3 ny1 ny2 ny3 >> Code: [1B]h • { [4D]h • { nx1• { nx2• { nx3• { ny1• { ny2• { ny3 For < print/edit direction 0,3 > * ['000'• … nx1nx2nx3• … ’148’] * ['000'•...
  • Page 43 < Print/edit direction 1, 4 > 148mm • i ‚ ˜ • C ‚ ™ • j Print/edit character position (0,0) ‚ ™ Paper feed direction < Print/edit direction 2, 5 > 148mm ‚ ™ (0,0) Print/edit character p ositi on • i ‚ ˜ • C ‚ ™ • j Paper feed direction...
  • Page 44 3) Print page feed < FF > Code: [0C] h Prints the data in the page buffer selected in the print/edit page. * The data in the page buffer is not cleared after printing. * The next print/edit position will be at the start position of the line. 4) Line feed <...
  • Page 45 9) Line space setting <ESC A n1 n2 > Code: [1B]h + [41]h + n1 + n2 * ['00'• … n1n2• … '16'> Make a setting for line space for characters. * The line space that can be set is n1n2 (mm). * The default value of n1n2 is '00'.
  • Page 46 15) Absolute position setting <ESC $ n1 n2 > Code: [1B] h + [2A] h + n1 + n2 * [00≤n1≤FF] h * [00≤n2≤04] h The next print/edit position is specified by the dot numbers from the line start. * Print total dots divided by 256, quotient is n2 and remainder is n1. * The print/edit position will be at n1 + (256 x n2) from the start position.
  • Page 47 The relationship between the bit image data and dots to be printed 8 dot bit image D1 D2 D3 Printed data =1dot Single density Double density • E 24 dot bit image D1 D2 D3 D5 D6 D7 D8 D9 Printed data =1dot Single density...
  • Page 48 17) NV bit image pattern registration < GS T n > Code:• k 1D• l h• { • k 54• l h• { n *• k '0'• … n• … '2'• l Registers the data specified by n for pages (0 – 2) as NV bit image pattern. * It is necessary to write the data to be registered in the page 0 –...
  • Page 49 20) Barcode width size setting < GS w n > Code: [1D]h• { [77]h• { n *['2'• … n• … '4'] Specifies the width of barcode. * The default value is '3'. 21) Barcode height setting < GS h n1 n2 > Code:[1D]h•...
  • Page 50 27) Line mode selection < ESC S> Code [1B]h + [53]h + n Switched between the line mode and page mode. *Clear the data in the page buffer. *Clear the each setting and defined line mode. (Except NV bit image pattern, Black mark position margin setting) *The default value is ‘page mode’...
  • Page 51: Character Code Table

    6. Character code table 6.1 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. *This code table is for simplified symbols and does not present actual print result. There may be a different case between code table and print result.
  • Page 52: International Character Code Table

    6.2 International character code table *This code table is for simplified symbols and does not present actual print result. There may be a different case between code table and print result.