background image

 

 24 

 

  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 

00  

UPC-A 

01  

UPC-E 

02  

JAN-13 

(EAN-13) 

03  

JAN-8 

(EAN-8) 

04  

CODE39 

05  

ITF 

06  

CODABAR 

(NW-7) 

07  

CODE128 

*When the number of printing characters is fixed, make sure the that number of 
characters should correspond to that of being printed. 

 

*If horizontal data exceed one line, the exceeded data cannot be printed. 

 

27) Barcode width size select 

:<< GS    w    n >> 

 

        Code 

: [1D] h + [77] h + n 

 

* [02

n

04] h 

 

        Description  : Selects width of barcode 

 

 

 

    The default value of n is [03] h. 

 

28) Barcode height select 

 

:<< GS    h    n >> 

 

        Code 

: [1D] h + [68] h + n 

 

* [01

 n 

FF] h 

 

        Description  : Assigns barcode height by dots. 

 

    Explanation  : “n” shows the vertical dot number 

 

 

 

  *The default value of n is [A2] h, or 162 dots. 

                                                  *Assign “n” value so that it matches to the barcode reader 

specification for readable area. 

 

29) Select of HRI character print position  :<< GS  H  n >> 

 

        Code 

: [1D] h + [48] h + n 

 

* [00

n

03] h 

 

    Description  : selects HRI character print position in printing barcode. 

 

 

 

    n has the following meaning. 

n(hex)

print position 

00  

no 

printing 

01  

above 

barcode 

02  

below 

barcode 

03 

  above & below barcode 

 

   HRI characters are printed in the characters selected by [HRI 
character style select]. 

 

 

 

Default value of n is [00] h. 

 

Содержание NP-255

Страница 1: ...on Revision 1 01 2001 10 19 2 edition Revision 1 02 2002 01 16 3 edition Revision 1 03 2002 07 15 4 edition Revision 1 04 2002 09 26 5 edition Revision 1 05 2003 06 09 6 edition Specifications stated...

Страница 2: ...Add Kobayashi 2002 01 16 Abe 2002 01 16 1 Features Add Windows 5 Safety regulation EMC Changed 15 Printer Drivers Add 30 Overseas Code Table Change 80h to Euro Mark 1 03 4 External Drawing Changed Pl...

Страница 3: ...ions 7 3 4 Connections 8 4 Functions 4 1 Function setting 9 4 2 Sensor 9 4 3 Error 10 4 4 Feed switch 11 4 5 How to rewrite firmware 11 4 6 Hex Dump print 12 4 7 Self print 13 4 8 Buffer full print 13...

Страница 4: ...th sharp edge or something hard or give impact The heat element may be damaged 6 Set the power of printer off before connecting or removing connecters 7 When printing in high speed under low temperatu...

Страница 5: ...ing mechanism 3 High speed printing 85mm sec for ASCII full digit print excluding communication time 4 Center control at the host is available by uploading various types of preventive information 5 Do...

Страница 6: ...ing 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 24V Roll paper External PWR supply...

Страница 7: ...position 1 Paper width 2 Maximum diameter 3 Core diameter 4 Recommended papers Line thermal dot 432 dots 8 dots mm 203dpi 54mm 85mm sec ASCII full digits print 25 Excluding comm time 36 digits 48 dig...

Страница 8: ...Operation 2 Storage 3 Location 58 0 1mm 80mm Max DC24V motor Feed switch self print paper feed firmware download 100 0 W x241 4 D x114 0 H mm without cable 1 2kg 50g without paper Vertical or horizont...

Страница 9: ...paper 2 Mechanical life 400 million dot lines in MCBF 3 Rewind mechanism life 15 million lines line 4mm 4 Operation environment Temperature 5 45 Should have no condensation Humidity 10 90 RH 90 34 90...

Страница 10: ...transmission not available Space Data transmission available Busy status marked will be z At reception buffer full z During hardware being reset after power is set on z During software being reset z A...

Страница 11: ...1B 1A 2B 2A 3B 3A 4B 4A 5B 5A 6B 6A RESET RTS CTS RXD TXD GND GND GND 5V 5V 24V 24V Input Output Input Input Output Input Input Input Input RESET Input Printer busy Host busy Receives data Transmitted...

Страница 12: ...ded 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 2 The p...

Страница 13: ...ensor The printer has a switch sensor at each mechanical section to monitor its operation and the operational status will be uploaded to the host No Name of sensor Status Monitor value 1 2 3 4 5 Near...

Страница 14: ...n of printer status set the corresponding bit to transmission status on by command Except transmission error and paper near end printer removes the received data at print stop error 4 3 2 Recovery fro...

Страница 15: ...ing 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 It is not necessary to set the power off a...

Страница 16: ...rint start and end of HEX DUMP Printer starts printing HEX DUMP by setting DIP SW 7 on and power to the printer Printing ends with setting power off For returning to normal printing set power off and...

Страница 17: ...n close lever is open It ends when the specified print pattern is printed The printer is in the off line mode during self printing If the specified print pattern is not printed turn the power switch o...

Страница 18: ...feed 21 17 ESC R n Select international character 21 18 ESC c 5 n Feed switch enable disable 22 19 ESC d n Print and n line feed 22 20 ESC t n Select character code table 22 21 ESC v Send printer stat...

Страница 19: ...et by horizontal tab set command The default of horizontal tab position is every 8th character 9th digit 17th digit 25th digit and 33rd digit in font A If the next tab position is not set this command...

Страница 20: ...r resetting the characters to be downloaded Explanation Only LSB b0 is valid for n value LSB b0 has the following meanings b0 Function 0 download character reset 1 download character set Default value...

Страница 21: ...17 Reference In the case of Font A P1 00 h P4 00 h P7 00 h P10 00 h P2 00 h P5 00 h P8 0F h P11 72 h P3 08 h P6 F8 h P9 08 h P12 00 h P1 24dots 12dots P2 P3 P4 P5 P6 P7 P34 P35 P36 MS LSB...

Страница 22: ...18 Reference In the case of Font B P1 40 h P4 7F h P7 41 h P10 41 h P2 04 h P5 FC h P8 04 h P11 04 h P3 00 h P6 00 h P9 00 h P12 00 h P1 17dots P2 P4 P5 P7 P25 P26 MSB 9dots LSB MSB LSB P27 P6 P3...

Страница 23: ...l dots to be printed in the bit image must be the same with quantity of bit image data that corresponds to the dots If quantity of bit image data is less than the total dots the same amount of followi...

Страница 24: ...er initialization ESC Code 1B h 40 h Description Clears the data stored in the print buffer and resets each setting to default values It does not clear the data stored in the internal receive buffer F...

Страница 25: ...the same on this printer Valid for all characters The default value of n is 00 h 16 Print and smallest pitch line feed ESC J n Code 1B h 4A h n 00 n FF h Description Prints the data in the print line...

Страница 26: ...lanation n value has following meaning n Hex character code table 00 overseas character code table 01 Japan character code table The default value of n is 01 21 Printer status transmission ESC v Code...

Страница 27: ...x description 00 reset 90 rotated character 01 set 90 rotated character 24 Absolute position set ESC n1 n2 Code 1B h 24 h n1 n2 00 n1 FF h 00 n2 01 h Description print start position is assigned by do...

Страница 28: ...GS w n Code 1D h 77 h n 02 n 04 h Description Selects width of barcode The default value of n is 03 h 28 Barcode height select GS h n Code 1D h 68 h n 01 n FF h Description Assigns barcode height by...

Страница 29: ...ned 3 not defined 4 not defined 5 not defined 6 not defined 7 not defined 1 When journal printer is not assigned by b0 1 all data from host PC will be removed 2 When receipt printer is assigned by b0...

Страница 30: ...ermined in advance Three patterns can be registered from 0 2 Bit image print data for each pattern can be registered up to the maximum paper length of 150mm The exceeding data to the maximum value is...

Страница 31: ...ng manner Preventive information return format Code n1 n Dn n1 is explained in the table 1 n is the value specified in the table1 Dn is preventive information and indicated in the table 2 Table 1 Valu...

Страница 32: ...nable Optional Enable Enable Character code table Japan code Optional Japan code Japan code Assign clear inverted character Clear Optional Clear Clear Continues by line 90 clockwise rotation character...

Страница 33: ...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 actua...

Страница 34: ...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 actua...

Страница 35: ...31 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...

Страница 36: ...TXD OUTPUT RS232C GND GND GND 5V Circuit power Vcc 5 5V Circuit power Vcc 5 24V Motor PW VM for head cutter 5 24V Motor PW VM for head cutter 5 below 6 above 6 below 50 above 50 below 120 above 120 b...

Отзывы: