background image

     31

Peripheral Device Control

Auto Cutter Control 

Slip Printer Control 

<ESC> “%” “1”
<ESC> “%” <1>

1B 25 31
1B 25 01

Enable download character 
set

C

C

61

<ESC> “%” “0”
<ESC> “%” <0>

1B 25 30
1B 25 00

Disable download character 
set

C

C

61

Control codes

Hexadecimal codes

Function

Receipt-
printer

Slip 
printer

Page

<ESC> <BEL> n1 n2

1B 07 n1 n2

Define drive pulse width for 
peripheral device #1

C

C

62

<BEL>

07

Control peripheral device #1

C

C

62

<FS>

1C

Control peripheral device #1 
immediately

C

C

62

<EM> 19

Control peripheral device #2 
immediately

C

C

62

<SUB>

1A

Control peripheral device #2 
immediately

C

C

62

Control codes

Hexadecimal codes

Function

Receipt-
printer

Slip 
printer

Page

<ESC> “d” “0”
<ESC> “d” <0>

1B 64 30
1B 64 00

Full-cut command to the auto 
cutter

C

62

<ESC> “d” “1”
<ESC> “d” <1>

1B 64 31
1B 64 01

Partial-cut command to the 
auto cutter

C

62

Control codes

Hexadecimal codes

Function

Receipt-
printer

Slip 
printer

Page

<ESC> <SI> n

1B 0F n

Setting slip sensor

C

63

<ESC> <FF> n

1B 0C n

Slip function

C

63

<ESC> <VT> m n

1B 0B m n

Set the paper eject direction/
length

C

64

<EOT>

04

Slip status enquiry

C

64

Control codes

Hexadecimal codes

Function

Receipt-
printer

Slip 
printer

Page

Содержание Star SCP700 Series

Страница 1: ...COMBINATION PRINTER SCP700 SERIES Programmer s Manual...

Страница 2: ...pter 5 Standard Serial Interface 13 Standard serial interface pins and signal names 14 Interface connections 15 Data protocol 16 Chapter 6 Optional Interface 19 Optional serial interface 19 Optional s...

Страница 3: ...l ribbon and makes paper insertion extremely easy The biggest advantage of combining the two printer mechanisms into one unit is that less space only one power supply and only one port are necessary c...

Страница 4: ...ow to actually change DIP switch settings Accessing the DIP switches The DIP switches are located inside the printer underneath the document table Use the following procedure to remove the document ta...

Страница 5: ...is opened sufficiently use a thin flat blade screwdriver or some other similar object to change DIP switch settings Carefully return the document table to its original position and secure it in place...

Страница 6: ...ory default setting for this switch is all ON Switch Parameter ON OFF 1 1 Baud Rate See table below 1 2 1 3 Data Length 8 bits 7 bits 1 4 Parity Check Disabled Enabled 1 5 Parity Selection Odd Even 1...

Страница 7: ...5 2 5 Interface Standard Option 2 6 Always ON 2 7 Not Used 2 8 Not Used Thermal Print Density Switch 2 1 Switch 2 2 Light OFF OFF Standard ON ON Heavy ON OFF Very Heavy OFF ON Switch Parameter ON OFF...

Страница 8: ...is a 16 bit word store in EEPROM For details on the functions and settings of memory switches refer to Chapter 9 The table below shows the factory settings for the memory switches Memory Switch Hexad...

Страница 9: ...escribes the meaning of indicator lights when it is on off or flashing All indicators flash to indicate a non recoverable error Indicator Light On Off Flashing slow Flashing fast POWER Power on Power...

Страница 10: ...t is complete the slip printer will produce a test print on the paper you inserted in the first step of this procedure The slip printer test will continue until it reaches the end of the paper Note Th...

Страница 11: ...xecute the test print When the slip printer produce the test print hold down the control panel s RECEIPT and SLIP RESUME buttons to enter the Dot Alignment Adjust Mode The POWER indicator flashes slow...

Страница 12: ...ted and the printer ejects the slip paper Note If you press the SLIP RESUME button without pressing the RECEIPT button after entering the Dot Alignment Adjust Mode the printer assumes that you do not...

Страница 13: ...cimal values of any data that is subsequently sent to it from your computer The last line buffer should be flushed by pressing the RECEIPT button To exit this mode turn the printer off Errors There ar...

Страница 14: ...aper and press SLIP RESUME Head Up Error Raised receipt printer head Fast Lower head and press SLIP RESUME Near End Roll paper near end Slow Press SLIP RESUME to resume printing Cutter Error Error dur...

Страница 15: ...19200 Selected by DIP switch Word format Start bit 1 Data bits 7 or 8 Selected by DIP switch Parity Odd Even or None Selected by DIP switch Stop bit 1 Signal polarities RS 232C Mark Logic 1 3V to 15V...

Страница 16: ...nnot receive The status of this signal is not confirmed This signal can be specified as an internal reset signal using Switch 7 of DIP Switch 1 page 4 MARK of 1ms or longer activates the reset 7 RTS O...

Страница 17: ...typical connection configuration RS 232C 1 2 3 4 5 7 8 9 1 2 3 4 5 6 7 8 20 F GND TXD RXD RTS CTS DSR S GND DCD DTR F GND RXD TXD DTR S GND 6 DSR RTS INIT N C Printer side D sub 9 pin IBM PC side D s...

Страница 18: ...ls to 256 bytes or less the printer sets DTR to MARK The host responds by halting the data transfer However note that the printer remains capable of receiving data until the buffer becomes full Availa...

Страница 19: ...the printer immediately sets DTR to MARK and goes off line If the printer recovers from the error DTR is set to SPACE and the printer goes back on line RXD DTR OFF LINE ON LINE When paper is out Prin...

Страница 20: ...ts the signal every three seconds until the host begins sending text data over the RXD line When the printer s remaining buffer space falls to 256 bytes or less the printer begins to output X OFF sign...

Страница 21: ...itch settings except for 1 7 and 1 8 are ON when the printer is shipped from the factory Switch Parameter ON OFF 1 Baud Rate See table below 2 3 Data Length 8 bits 7 bits 4 Parity Check Disabled Enabl...

Страница 22: ...l line that indicates if the host computer can receive data SPACE host can receive MARK host cannot receive The status of this signal is not confirmed This signal can be specified as an internal reset...

Страница 23: ...e specifications for the DTR and X ON X OFF modes are the same as for the Standard Serial Interface 1 2 3 4 6 1 2 3 4 5 6 7 8 20 F GND TXD RXD RTS DSR 20 25 7 S GND DTR INIT Printer side D sub 25 pin...

Страница 24: ...nforms with Centronics parallel interface standard Data transfer speed 1000 5000 CPS Synchronization External strobe pulse Handshaking Using ACK and BUSY Logic level TTL level compatible T T T A C K D...

Страница 25: ...tional parallel interface pins and signal names Signal Name Sample Circuit Input DATA 1 DATA 8 STROBE Output BUSY ACK 4 7kW 74LS equivalent 1kW 100W 1000pF 74LS equivalent 1 8kW 74LS equivalent 18 1 3...

Страница 26: ...ered Printer off line Error condition 12 PAPER OUT OUT Normally LOW this signal goes HIGH when the printer is out of paper 13 SELECTED OUT HIGH when the printer is on line 14 IN This signal is not che...

Страница 27: ...he printer To connect to the drive circuit connect the peripheral unit to the modular connector using a cable supplied by you that meets the following specifications Use a cable with a modular plug li...

Страница 28: ...resistance for coils L1 and L2 is 24 Absolute maximum ratings for diodes D1 and D2 Ta 25 C are Average Rectified Current Io 1A Maximum forward surge current 60Hz 1 cycle sine wave IFSM 40A Absolute m...

Страница 29: ...NEVER place fingers or metal objects in the cutter area 3 If a jam occurs in the cutter area switch off the power use tweezers to remove the jammed paper then switch the power back on The printer will...

Страница 30: ...ct normal zero C C 33 ESC b n1 n2 n3 n4 d1 RS 1B 62 n1 n2 n3 n4 d1 1E Select bar code printing C 34 ESC M 1B 4D Select 12 dot pitch printing C 38 Select 7 9 half dot font C 38 ESC p 1B 70 Select 14 do...

Страница 31: ...Cancel highlight printing C C 41 SI 0F Inverted printing C C 41 DC2 12 Cancel inverted printing C C 41 ESC E 1B 45 Select emphasized printing C C 42 ESC F 1B 46 Cancel emphasized printing C C 42 Cont...

Страница 32: ...s Hexadecimal codes Function Receipt printer Slip printer Page ESC K n 0 m1 m2 1B 4B n 00 m1 m2 Print normal density graphics C C 49 ESC L n1 n2 m1 m2 1B 4C n1 n2 m1 m2 Print high density graphics C C...

Страница 33: ...EM 19 Control peripheral device 2 immediately C C 62 SUB 1A Control peripheral device 2 immediately C C 62 Control codes Hexadecimal codes Function Receipt printer Slip printer Page ESC d 0 ESC d 0 1B...

Страница 34: ...C 69 FF 0C Print in page mode C 70 Control codes Hexadecimal codes Function Receipt printer Slip printer Page CAN 18 Cancel printer buffer Initialize printer C C 71 DC3 13 Deselect printer C C 71 DC1...

Страница 35: ...w 0 n 12 0 n 9 A n C n 0 0 U S A 1 1 France 2 2 Germany 3 3 England 4 4 Denmark 5 5 Sweden 6 6 Italy 7 7 Spain 8 8 Japan 9 9 Norway 10 A Denmark 2 11 B Spain 2 12 C Latin America Although the internat...

Страница 36: ...line feed 1 Character below bar code is not printed Line feed is performed after execution of command 2 Character below bar code is printed Line feed is performed after execution of command 3 Charact...

Страница 37: ...if it is specified JAN EAN 8 K 7 or 8 The check digit at the 8th digit is automatically added and ignored even if it is specified JAN EAN 13 K 12 or 13 The check digit at the 13th digit is automatical...

Страница 38: ...and the maximum value also differs according to the modes and the types of character number 29 digits maximum in mode 7 The start stop code is also contained in the data it is not automatically added...

Страница 39: ...H 4FH DLE 10H P 25H 50H DC1 11H Q 25H 51H DC2 12H R 25H 52H DC3 13H S 25H 53H DC4 14H T 25H 54H NAK 15H U 25H 55H SYN 16H V 25H 56H ETB 17H W 25H 57H CAN 18H X 25H 58H EM 19H Y 25H 59H SUB 1AH Z 25H 5...

Страница 40: ...Prints in a 12 24 dot font with 3 dot spacing between characters Slip printer Select 5 9 2 pulses 1 dot font ESC 1B 3A Receipt printer Select 16 dot pitch printing Prints in a 12 24 dot font with 4 d...

Страница 41: ...Reset magnification same as DC4 1 1 Double magnification same as SO 2 2 Triple magnification 3 3 Quadruple magnification 4 4 Quintuple magnification 5 5 Sextuple magnification Slip printer n 0 0 Rese...

Страница 42: ...dicates the height magnification and the value of n2 indicates the width magnification Receipt printer n1 n2 0 0 Normal height or width size 1 1 Double height or width size 2 2 Triple height or width...

Страница 43: ...character spacing set by ESC SP n reversed The part to be skipped by the horizontal tab setting is not reversed ESC 5 1B 35 Cancel highlight printing Cancels highlight printing SI 0F Inverted printin...

Страница 44: ...42 ESC E 1B 45 Select emphasized printing Causes subsequent characters to be emphasized ESC F 1B 46 Cancel emphasized printing Cancels emphasized printing CODE HEX FUNCTION CODE HEX FUNCTION...

Страница 45: ...to n 24 mm where n is between 1 and 22 The current line becomes the top of the page Resets the bottom margin This command is only valid with the receipt printer ESC N n 1B 4E n Set bottom margin Sets...

Страница 46: ...value of n is between 0 and the value of the right margin 2 ESC Q n 1B 51 n Set right margin Set right margin at column n at the current character pitch The right margin does not move if the character...

Страница 47: ...ry setting Functions in the same way as an LF code CRLF When memory switch 5 8 is set to 1 Executed only when printing The paper is not fed CR ESC a n 1B 61 n Feed paper n lines Prints the current lin...

Страница 48: ...line feeds to 1 6 inch ESC 0 1B 30 Receipt printer Set line spacing to 3 mm Sets the distance that the paper advances in subsequent line feeds to 3 mm Slip printer Set line spacing to 1 8 inch Sets t...

Страница 49: ...e The value of n is between 1 and 255 ESC B n1 n2 0 1B 42 n1 n2 00 Set vertical tab stops Cancels all current vertical tab stops and sets new vertical tab stops at lines n1 n2 etc where n1 n2 etc are...

Страница 50: ...zontal tab stops can be set The tab stops must be specified in ascending order any violation of ascending order terminates the tab stop list Standard termination is by the 0 control code With ESC D 0...

Страница 51: ...image for each dot of entered data Data extending beyond the right margin is ignored The relationship between the entered data and the actual printing is shown below The value of n is between 1 and 19...

Страница 52: ...racter mode The relationship between the pins on the print head and the data is shown below The value of n is between 1 and 210 A maximum of 210 data bytes can printed in one line Any data exceeding 2...

Страница 53: ...110 3E m21 00111110 3E m2 00011110 1E m12 00000010 02 m22 00101110 2E m3 00111110 3E m13 00000010 02 m23 00101110 2E m4 01011111 5F m14 00111110 3E m24 00111110 3E m5 00011111 1F m15 00111110 3E m25 0...

Страница 54: ...ch dot of entered data Data extending beyond the right margin is ignored The relationship between the entered data and the actual printing is shown below The value of n1 n2 256 is between 1 and 576 CO...

Страница 55: ...e First since the volume of data is 30 n1 1E H If the data m1 m30 is converted to hexadecimal it appears as shown below Horizontal density is three times that of the bit image for ESC k Compare the pr...

Страница 56: ...vertical dot bit image for each dot of entered data Data extending beyond the right margin is ignored The relationship between the entered data and the actual printing is shown below The value of n is...

Страница 57: ...55 Relationship between image data and print dots Image data Dot position b7 b6 b5 b4 b3 b2 b1 b0...

Страница 58: ...8 11111000 F8 d19 00011111 1F d20 11111000 F8 d21 00111110 3E d22 01111100 7C d23 00111000 38 d24 00011100 1C d25 01111001 79 d26 10011110 9E d27 01110011 73 d28 11001110 CE d29 01110011 73 d30 110011...

Страница 59: ...dots mm Data extending past the right margin is ignored The relationship between the input data and the actual printing is shown below 1 n1 n2 256 576 CODE HEX FUNCTION MSB Dot Position LSB b7 b6 b5 b...

Страница 60: ...e character defined and must be between 21H and 7F4 If the maximum of 32 external characters have already been stored the oldest stored external character are deleted so that new external character ca...

Страница 61: ...0 00 m9 00011000 18 m10 00000000 00 m11 00011000 18 m12 01100000 60 m13 00011000 18 m14 11000000 C0 m15 00011001 19 m16 10000000 80 m17 00011011 1B m18 00000000 00 m19 00000110 06 m20 00000000 00 m21...

Страница 62: ...defined n1 n2 m0 indicates the relationship between the character pattern and print head m1 m2 Indicate the character pattern This command is only valid with the slip printer When the 7 9 half dot ch...

Страница 63: ...and is only valid with the receipt printer ESC 1 or ESC 1 1B 25 31 or 1B 25 01 Enable download character set Enables the download character set ESC 0 or ESC 0 1B 25 30 or 1B 25 00 Disable download cha...

Страница 64: ...eripheral device 1 Executes drive pulse for peripheral device 1 FS 1C Control peripheral device 1 immediately Executes drive pulse for peripheral device 1 immediately EM 19 Control peripheral device 2...

Страница 65: ...o cutter Cuts the receipt paper fully This command is only valid with the receipt printer ESC d 1 or ESC d 1 1B 64 31 or 1B 64 01 Partial cut command to the auto cutter Cuts the receipt paper partiall...

Страница 66: ...moved 03 3 Feeds the paper backward backfeed until it moves past the TOF sensor then releases the paper See NOTE below 04 4 Feeds the paper into the printer operational feed until it moves past the BO...

Страница 67: ...ection length is n lines at the current carriage return When m 0 the ejection direction is backward backfeed and the ejection length is n inches The default value of n is 0 This command is only valid...

Страница 68: ...ere is an automatic rotation to the printer side All printing of data in the print area is performed according to LF After printing according to FF the printer returns to line mode In addition if ESC...

Страница 69: ...sing a 90 or 270 rotation execute a test print check the horizontal and vertical dot alignment then adjust the alignment as necessary 3 The following commands are not executed in page mode but are sto...

Страница 70: ...mmand is specified while in page mode printing is not carried out and the printer returns to line mode This command is only valid with the slip printer One time backfeed ESC j n Print high density gra...

Страница 71: ...tween 0 and 1 However dXL dXH 0 and dYL dYH 0 are not included In addition since the maximum range in the X direction XO DX is 210 dots and the maximum range in the Y direction YO DY is 720 dots each...

Страница 72: ...Rotation direction examples n 1 n 1 or 4 n 2 n 3 0 rotation 270 rotation 180 rotation 90 rotation This command is only valid with the slip printer Value of n Mode 0 or 0 0 rotation mode uni direction...

Страница 73: ...ip printer In page mode all page data in the page area is printed then the printer returns to line mode After all the page data is printed the data in the page the page print area and the print direct...

Страница 74: ...e from page mode In addition CAN initializes the print station selection If the slip printer was selected the receipt printer will be re selected This command cannot recover from errors or return to t...

Страница 75: ...n N Memory switch number 0 1 2 3 4 5 n1n2n3n4 Mode settings For details see below 1 N 0 n1 Always 0 n2 Always 0 n3 Always 0 Default 2 N 1 n1 Always 0 n2 Always 0 Default Parameter Setting 0 4 n4 Recei...

Страница 76: ...er paper near end Invalid Valid Parameter Setting 0 1 2 3 n2 Character table Normal IBM Katakana IBM n3 Receipt printer printer column 48 38 n4 CR code Invalid Invalid Valid Valid Receipt printer line...

Страница 77: ...alizes the print station selection If the slip printer was selected the receipt printer will be re selected If this command is specified in page mode while printing using the slip printer printing is...

Страница 78: ...utter error Receipt printer thermistor error Cover open error Slip printer mechanical error 1 Error Vertical parity error 1 Error Framing error 1 Error Buffer empty 1 Empty Receipt paper empty error i...

Страница 79: ...77 Appendix Character Code Tables...

Страница 80: ...78 Character table Normal...

Страница 81: ...79 Character table katakana...

Страница 82: ...80 Character table IBM...

Страница 83: ...81 International Character Set...

Страница 84: ...LAND GMBH Westerbachstra e 59 D 60489 Frankfurt Germany Tel 069 789990 Fax 069 781006 STAR MICRONICS U K LTD Star House Peregrine Business Park Gomm Road High Wycombe Bucks HP 13 7DL U K Tel 01494 471...

Отзывы: