Star Micronics Star SCP700 Series Programmer's Manual
Star Micronics Star SCP700 Series Programmer's Manual

Star Micronics Star SCP700 Series Programmer's Manual

Combination printer
Hide thumbs Also See for Star SCP700 Series:

Advertisement

Quick Links

COMBINATION PRINTER
SCP700 SERIES
Programmer's Manual

Advertisement

Table of Contents
loading

Summary of Contents for Star Micronics Star SCP700 Series

  • Page 1 COMBINATION PRINTER SCP700 SERIES Programmer’s Manual...
  • Page 2: Trademark Acknowledgments

    All efforts have been made to ensure the accuracy of the contents of this manual at the time of printing. However, should any errors be found, STAR would greatly appreciate being informed of them. • The above notwithstanding, STAR can assume no responsibility for any errors in this manual. © Copyright 1996, 1998 Star Micronics Co., Ltd.
  • Page 3: Table Of Contents

    TABLE OF CONTENTS Chapter 1: Outline ...1 Chapter 2: DIP Switch Settings ...2 Accessing the DIP switches ...2 Available DIP switch settings ...3 Chapter 3: Memory Switch Settings ...6 Chapter 4: Control Panel Operations ...7 Indicator lights ...7 Buttons ...8 Producing a test print ...8 Adjusting the slip printer’s dot alignment ...9 Hexadecimal dump ...11...
  • Page 4 [Blank page]...
  • Page 5: Chapter 1: Outline

    Chapter 1: Outline The SCP700 Series combines both a quick, quiet and highly reliable thermal receipt printer with an impact dot slip printer, enabling printing on single or multiple sheets of slip paper of an unspecified size. The thermal printer enables receipt printing without a thermal ribbon and makes paper insertion extremely easy.
  • Page 6: Chapter 2: Dip Switch Settings

    Chapter 2: DIP Switch Settings The printer’s DIP switches let you change communications parameters, thermal printing density, interface type, input buffer size, and emulation. This chapter explains the settings you can make and tells you how to actually change DIP switch settings.
  • Page 7: Available Dip Switch Settings

    Carefully work the document table loose and slide it to the left of the printer out of the way. It is not necessary to remove the document table complete, just move it enough so you can get at the DIP switches inside. After the document table is opened sufficiently, use a thin flat-blade screwdriver or some other similar object to change DIP switch settings.
  • Page 8 DIP Switch 1 The following table shows all the possible settings for DIP Switch 1. This switch sets the transmission parameters of the Standard Serial Interface. All switch settings, except for 1-7 and 1-8, are ON when the printer is shipped from the factory.
  • Page 9 Switch Parameter Always ON Interface Always ON Not Used Not Used Thermal Print Density Light Standard Heavy Very Heavy Standard Switch 2-1 Option Switch 2-2...
  • Page 10: Chapter 3: Memory Switch Settings

    Chapter 3: Memory Switch Settings Each memory switch 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 Hexadecimal Code 0000...
  • Page 11: Chapter 4: Control Panel Operations

    Chapter 4: Control Panel Operations The control panel gives you some push-button control over the printer’s receipt and slip printer operations. It also includes indicator lights, which tell you the current status of the printer at a glance. Indicator lights The following table describes the meaning of indicator lights when it is on, off, or flashing.
  • Page 12: Buttons

    Buttons The following table describes the function of the two control buttons of the control panel. Button RECEIPT SLIP/RESUME Producing a test print The following procedure can be used at any time to test the receipt printer and the slip printer. Turn on the printer and insert a piece of paper into the slip printer.
  • Page 13: Adjusting The Slip Printer's Dot Alignment

    Adjusting the slip printer’s dot alignment You may never have to use the procedure described in this section, but after you have been using your printer for some time you may find that the dots of some graphics do not align correctly. For example, what should look like: may come out looking like one of the following: This is caused when mechanical parts of the printer get out of alignment.
  • Page 14 To exit this mode, press the SLIP/RESUME button. The dot alignment adjust mode setting is stored in the memory, a pattern using the selected setting, followed by “Adjust Completed” is printed, 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 want make any settings, so it prints the message “Adjust Complete!”...
  • Page 15: Hexadecimal Dump

    Hexadecimal dump This procedure prints in hexadecimal format all codes (character codes and control codes) that are sent to the printer by the computer. The printer does not execute any control codes (such as 0A - linefeed), it just prints them out. The hexadecimal dump is useful when you are writing programs for printer control.
  • Page 16 Receipt Printer Recoverable Errors Error Name Paper Out Error No roll paper Head Up Error Raised receipt printer head Near End Roll paper near end Cutter Error Error during roll paper cutting Slip Printer Recoverable Errors Error Name Slip printer mechanism •...
  • Page 17: Chapter 5: Standard Serial Interface

    Chapter 5: Standard Serial Interface This chapter provides detailed specifications for the printer’s standard serial interface (Connector Type: D-sub 9-pin). Set the transmission parameters with DIP Switch 1. Transmission type ...Asynchronous serial interface Baud rate (bps)...2400, 4800, 9600, or 19200 Word format Start bit: ...1 Data bits: ...7 or 8 (Selected by DIP switch)
  • Page 18: Standard Serial Interface Pins And Signal Names

    Standard serial interface pins and signal names Signal Direction Name — Frame Ground Receive data Transmission data Data terminal ready signal. This signal changes to SPACE when the printer is ready to receive data. — Signal ground Signal 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.
  • Page 19: Interface Connections

    Interface connections Refer to the interface specifications for the host computer for details on connecting to its interface connector. The following illustration shows a typical connection configuration. RS-232C Printer side (D-sub 9 pin) F-GND S-GND INIT Printer side (D-sub 9 pin) F-GND S-GND INIT...
  • Page 20: Data Protocol

    Data protocol DTR/DSR Mode Set when dip switch #1-6 is ON. Communication is carried out while handshake is performed with the DTR and DSR signals. Control is executed by selecting the DTR signal for the busy signal when data is downloaded to the printer data. “SPACE”...
  • Page 21 Buffer full cancellation in DTR mode (the following is an example in the Combination mode). A) Buffer set to “big size” (4K-bytes) (set with dip switch 2-3) Data buffer Full Near Full Remainder 256 bytes DTR “MARK” When available space drops below 256 bytes, DTR is set to “MARK.” When data in the buffer drops below 256 bytes, DTR is set to “SPACE.”...
  • Page 22 X-ON / X-OFF Mode Set when dip switch #1-6 is OFF. Mode whereby the host is informed by TXD signal of X-ON (DC1) when data can be received or X-OFF (DC3) when data cannot be received. In the Star mode, X-ON / X-OFF output timing conditions are set by memory switch 4-C.
  • Page 23 Buffer full cancellation in X-ON / X-OFF mode (the following is an example in the Combination mode). A) Buffer set to “big size” (4K-bytes) (set with sip switch 2-3) Data buffer Full Near Full Remainder 256 bytes X-OFF Printer setting conditions •...
  • Page 24 Printer setting conditions • When in Star mode and memory switch is set to “0” • ESC/POS emulation • When in Star mode and memory switch is set to “1” 3-6) X-ON / X-OFF Signal Transmission Timing An X-OFF signal is sent when the printer switches from online to offline. An X-ON signal is sent when the printer switches from offline to online.
  • Page 25: Chapter 6: Optional Interface

    Chapter 6: Optional Interface Optional serial interface Use a thin flat-blade screwdriver or some other similar object to change DIP switch settings on the optional serial interface board. The following table shows all the possible settings for the DIP switches. All switch settings, except for 1-7 and 1-8, are ON when the printer is shipped from the factory.
  • Page 26: Optional Serial Interface Pins And Signal Names

    Optional serial interface pins and signal names Signal Direction Name — Frame Ground Transmission data Receive data Data terminal ready signal. This signal changes to SPACE when the printer is ready to receive data. Signal 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.
  • Page 27: Interface Connections

    Interface connections Refer to the interface specifications for the host computer for details on connecting to is its interface connector. The following illustration shows a typical connection configuration. Printer side (D-sub 25 pin) F-GND S-GND INIT Printer side (D-sub 25 pin) F-GND S-GND INIT...
  • Page 28: Optional Parallel Interface

    Optional parallel interface Interface: Data transfer speed: Synchronization: Handshaking: Logic level: A C K DATA STROBE BUSY Conforms with Centronics parallel interface standard 1000 ~ 5000 CPS External strobe pulse Using ACK and BUSY TTL-level compatible Approx. 9 s T: At least 0.5 s...
  • Page 29: Optional Parallel Interface Pins And Signal Names

    Signal Name DATA 1 DATA 8 STROBE BUSY Optional parallel interface pins and signal names 4.7k 1.8k (18) (36) Sample Circuit 74LS-equivalent 74LS-equivalent 1000pF 74LS-equivalent (19)
  • Page 30 Signal Name Direction STROBE 2 - 9 DATA 1 - 8 BUSY PAPER OUT SELECTED — — SIGNAL GND — CHASSIS GND — +5VDC — 19 - 30 — RESET ERROR EXT GND — 34 - 35 — — Signals when data is ready to be read. Signal goes from HIGH to LOW (for at least 0.5 s) when data is available.
  • Page 31: Chapter 7: Peripheral Unit Driver Circuit

    Chapter 7: Peripheral Unit Driver Circuit The main logic board of this printer includes a circuit for driving peripheral units, such as cash drawers. A modular connector for connection of the peripheral unit is located on the back of the 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.
  • Page 32: Drive Circuit

    Drive circuit The recommended drive unit is shown below. [Drive output 24V, max. 1.0A] +24V M-GND M-GND Notes • Peripheral Units 1 and 2 cannot be driven simultaneously. • For continuous driving, do not use drive duty above 20%. • Compulsion switch status is available as status data. •...
  • Page 33: Chapter 8: Automatic Cutter

    Chapter 8: Automatic Cutter 1 The cutter operates in response to data commands. To enable cutter operation, set Memory Switch #2-8 to indicate that the cutter is installed. 2 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.
  • Page 34: Chapter 9: Control Codes

    Chapter 9: Control Codes Important! Please access the following URL http://www.star-micronics.co.jp/service/sp_sup_e.htm for the lastest revision of the manual. This printer has two command modes: Star mode and ESC/POS mode. The Star mode emulates thermal receipt printers such as the TSP200 series and other previous models.
  • Page 35 Control codes Hexadecimal codes <ESC> “:” 1B 3A <ESC> <SP> n 1B 20 n <SO> <DC4> <ESC> “W” n 1B 57 n <ESC> <SO> 1B 0E <ESC> <DC4> 1B 14 <ESC> “h” n 1B 68 n <ESC> “i” n1 n2 1B 69 n1 n2 <ESC>...
  • Page 36: Page Formatting

    Page Formatting Control codes Hexadecimal codes <ESC> “C” n 1B 43 n <ESC> “C” <0> n 1B 43 00 n <ESC> “N” n 1B 4E n <ESC> “O” 1B 4F <ESC> “1” n 1B 6C n <ESC> “Q” n 1B 51 n Print Position Control Control codes Hexadecimal codes...
  • Page 37 Dot Graphics Printing Control codes Hexadecimal codes <ESC> “K” n <0> 1B 4B n 00 m1 m2 m1 m2 ... <ESC> “L” n1 n2 1B 4C n1 n2 m1 m2 m1 m2 ... <ESC> “k” n <0> m1 ... 1B 6B n 00 m1 ... <ESC>...
  • Page 38: Auto Cutter Control

    Auto Cutter Control Control codes Hexadecimal codes <ESC> “d” “0” 1B 64 30 <ESC> “d” <0> 1B 64 00 <ESC> “d” “1” 1B 64 31 <ESC> “d” <1> 1B 64 01 Slip Printer Control Control codes Hexadecimal codes <ESC> <SI> n 1B 0F n <ESC>...
  • Page 39: Other Commands

    Other Commands Control codes Hexadecimal codes <CAN> <DC3> <DC1> <RS> <ESC> “#N, n1 n2 n3 n4” 1B 23 N 2C n1 n2 n3 n4 <LF> <NUL> 0A 00 <ESC> “@” 1B 40 <ENQ> <ESC> “?” <LF> <NUL> 1B 3F 0A 00 Function Cancel printer buffer &...
  • Page 40 Printer Station Selection (Combo mode only) <ESC> CODE FUNCTION Print Station Selection n = 0, “0” : Selects the receipt printer 3, “3” : Selects the slip printer This command is only valid when it entered at the beginning of a line.
  • Page 41 CODE <ESC> Select bar code printing FUNCTION Prints bar code according to the value of n1, as shown below: This command is only valid with the receipt printer. n1: Type of bar code The value of n1 can be set to 0(00H) or 8(08H) or “0”(30H) to “8”(38H).
  • Page 42 CODE 39, NW-7, ITF When the value of n3 is UPC-E, UPC-A, JAN/EAN-8, JAN/EAN- 13, CODE 128 or CODE 93, 1(01H) to 3(03H) or “1”(31H) to “3”(33H) can be set. When the value of n3 is CODE39, NW-7 or ITF, 1(01H) to 9(09H) or “1”(31H) to “9”(39H) can be set. n4: Height of bar code Can be up to 255 dots (31.9 mm).
  • Page 43 The value of k is optional, and the maximum value also differs according to the modes (40 digits maximum in mode 4). If the data is number of an odd digits, 0 is automatically added at the beginning of the data. CODE 128: The value of k is optional, and the maximum value also differs according to the modes and the...
  • Page 44 3) 2-character codes Control codes CODE FORMAT %¥ Special code Function codes FNC1 FNC2 FNC3 FNC4 Start codes START A START B START C CODE FORMAT CODE FORMAT CODE FORMAT For CODE 128 only.
  • Page 45 CODE <ESC> Receipt printer: Select 12-dot pitch printing FUNCTION Slip printer <ESC> CODE Select 14-dot pitch printing FUNCTION Prints in a 12 24 dot font with 2-dot spacing between characters. This command is only valid with the receipt printer. <ESC> CODE Receipt printer: Select 15-dot pitch printing FUNCTION...
  • Page 46 CODE <SO> Sets the printing magnified double in character width. FUNCTION Prints the subsequent data including a character spacing set by <ESC><SP> n, magnified double in character width. CODE <DC4> Resets the printing magnified in character width. FUNCTION Resets the printing magnified in character width set by <SO>, <ESC><SO>, <ESC>...
  • Page 47 CODE <ESC> Set the magnification rate in character height FUNCTION Prints the subsequent data with a character height magnified by a rate specified by the value of n. Receipt printer: n= 0, “0”: Reset magnification (same as Slip printer: n= 0, “0”: Reset magnification (same as <DC4>) <ESC>...
  • Page 48 CODE <ESC> Upperlining FUNCTION When the value of n is 1, over lines the subsequent data including a character spacing set by <ESC><SP> n. The part to be skipped by the horizontal tab setting and the block graphic characters are not upper lined. Resets the upper line mode when the value of n is 0.
  • Page 49 CODE <ESC> Select emphasized printing FUNCTION Causes subsequent characters to be emphasized. <ESC> CODE Cancel emphasized printing FUNCTION Cancels emphasized printing. <ESC> CODE Select uni-directional printing FUNCTION After printing the data in the line buffer, the printer enters the uni- directional mode.
  • Page 50 Page Formatting (Line Mode) <ESC> CODE FUNCTION Set page length in lines Sets the page length using the current line spacing, where n is between 1 and 127. Changing the line spacing later does not alter the physical page length. The current line becomes the top of the page.
  • Page 51 CODE <ESC> Set left margin at column n at the current character pitch. FUNCTION The left margin does not move if the character pitch is changed later. If this function is set in the middle of a line, it will become valid starting with the following line.
  • Page 52 Print Position Control <LF> CODE FUNCTION Line feed Prints the current line and feeds the paper to the next line. <CR> CODE Carriage return FUNCTION The <CR> code is valid for both the receipt and slip printers only if memory switch 3-1 is set to 1. (The factory setting is 0.) If the <CR>...
  • Page 53 <VT> CODE Vertical tab FUNCTION Prints the current line and feeds the paper to the next vertical tab stop and moves the print position to the left margin. Performs paper feed if no vertical tabs are set or if the current line is at or below the last vertical tab stop.
  • Page 54 CODE <ESC> Receipt printer: Set line spacing to 3 mm FUNCTION Slip printer <ESC> CODE Receipt printer: Set line spacing to 3 mm FUNCTION Slip printer <ESC> CODE Receipt printer: One time n/4-mm feed FUNCTION Slip printer “0” Sets the distance that the paper advances in subsequent line feed to 3 mm.
  • Page 55 CODE <ESC> Receipt printer: One time n/4-mm backfeed FUNCTION Slip printer <ESC> CODE Set line spacing to n/216-inch FUNCTION Sets the subsequent line spacing to n/216-inch. The value of n is between 1 and 255. Since the min. pitch of the slip paper feed mechanism is 1/144-inch, the set value is approximated by the following formula INT (n 2/3 + 0.5)/144 inch This command is only valid with the slip printer...
  • Page 56 CODE <ESC> Set vertical tab stops FUNCTION Cancels all current vertical tab stops and sets new vertical tab stops at lines n1, n2, etc., where n1, n2, etc. are numbers between 0 and 255. A maximum of 16 vertical tab stops can be set. The tab stops must be specified in ascending order;...
  • Page 57 Dot Graphics Printing <ESC> CODE FUNCTION Print normal density graphics Receipt printer: Prints a 3 (horizontal) 3 (vertical) dot bit image for DOT Position “K” <0> 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.
  • Page 58 Slip printer: Prints a bit image of the number of dots specified by n. After printing the bit image, the printer automatically returns to the character mode. The relationship between the pins on the print head and the data is shown below. Dot Position The value of n is between 1 and 210.
  • Page 59 EXAMPLE We will create the design below using a bit image. First, since the volume of data is 30, n1 = (1E) is converted to hexadecimal, it appears as shown below. Data m1 00000001 m2 00011110 m3 00111110 m4 01011111 m5 00011111 m6 01011110 m7 00011110...
  • Page 60 CODE <ESC> Print high density graphics FUNCTION Receipt printer: Prints a 1 (horizontal) 3 (vertical) dot bit image DOT Position “L” 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.
  • Page 61 Slip printer: Prints a high density bit image of the number of dots specified by n1 and n2. The value of n1 + 256 n2 is between 1 and 420. A maximum of 420 data bytes can printed in one line. Any data exceeding 420 bytes is ignored.
  • Page 62 CODE <ESC> Print fine density graphics FUNCTION Prints a 1 (horizontal) 1 (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.
  • Page 63 Relationship between image data and print dots Image data b7 b6 b5 b4 b3 b2 b1 b0 Dot position...
  • Page 64 EXAMPLE Hexa- Data Binary decimal 00000000 00011111 00111111 01110111 11111000 11111000 11111000 00001111 00011111 00011111 00111110 00111000 01111001 01110011 01110011 11111001 11111000 11111110 11111111 11111111 00000000 00000000 00000000 00000000 Printing Sample Hexa- Data Binary decimal 00000000 11111000 11111100 01110111 00011111 00011111 00011111 11110000...
  • Page 65 CODE <ESC> Print fine density graphics FUNCTION Prints a bit image of the input data using horizontal and vertical resolutions of 8 dots/mm. Data extending past the right margin is ignored. The relationship between the input data and the actual printing is shown below.
  • Page 66 Download Graphics Printing <ESC> CODE <ESC> Define download character FUNCTION Defines one new character and stores it in RAM for later use. n is the character code of the 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 can be stored.
  • Page 67 Data When the 7 9 (half dot) character size (default setting) is set: <ESC> “&” <0> n1 n2 [m0 m1 m2 m3 m4 m5 m6 m7] CODE (1B) When the 5 9 dot character size is set: <ESC> “&” <0> n1 n2 [m0 m1 m2 m3 m4 m5] CODE (1B) Hexa-...
  • Page 68 FUNCTION Define download character (7 9 (half dot) font or 5 9 dot font) Defines download characters Up to 10 download characters can be defined and the defined character patterns can be stored in the printer’s RAM. The values of n1 and n2 are between (21) than or equal to n2 and the value of m0 is either (00) Defining of download characters begins with character code n1 and completes with n2.
  • Page 69 CODE <ESC> <ESC> FUNCTION Delete a download character (12 24 dot font) Deletes the download character which was assigned the value n. This command is only valid with the receipt printer. <ESC> CODE Enable download character set FUNCTION Enables the download character set. CODE <ESC>...
  • Page 70 Peripheral Device Control <ESC> <BEL> n1 CODE FUNCTION Define drive pulse width for peripheral device #1 Defines the drive pulse width for peripheral devices requiring other than standard 200 ms pulse time and delay time. n1 indicates the energizing time and n2 indicates the delay time, using 10ms units.
  • Page 71 Auto Cutter Control <ESC> CODE FUNCTION Full-cut command to the auto cutter Cuts the receipt paper fully. This command is only valid with the receipt printer. <ESC> CODE Partial-cut command to the auto cutter FUNCTION Cuts the receipt paper partially. This command is only valid with the receipt printer.
  • Page 72 Slip Printer Control <ESC> CODE FUNCTION Setting slip sensor Sets the slip printer TOF/BOF sensor according to the value of n. n = 00, “0” : 01, “1” : 02, “2” : 03, “3” : Default values are: n = 0 when memory switch 5-2 = 0 (factory setting) n = 3 when memory switch 5-2 = 1 CODE <ESC>...
  • Page 73 CODE <ESC> Set the paper eject direction/length FUNCTION Sets the length of the ejection operation performed using <ESC> <FF> 5 in line mode. The value of m determines the ejection direction. When m= “+”: the ejection direction is into the printer (operational When m= “-”: the ejection direction is backward (backfeed), and When m= 0 : the ejection direction is backward (backfeed), and The default value of n is 0.
  • Page 74 CODE <ESC> Set the wait time until the automatic clamp is activated FUNCTION Set the wait time between paper insertion (TOF/BOF sensor senses the paper) and automatic clamp activation by n 0.1 sec. The default value of n is 7 (wait time is 0.7 sec.) The value of m is fixed to 0.
  • Page 75 <ESC> CODE Select line mode (default) FUNCTION If this command 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. printer returns to line mode. High density printing of graphics is ignored.
  • Page 76 CODE <ESC> “*” Setting print area in page mode FUNCTION The coordinates of the current position at the moment that page mode is entered are (0,0). The starting point of the print area is defined by X direction is specified by dX direction is specified by dY Current position (0,0) Starting point X...
  • Page 77 When n = 4, “4,” special mode page mode functions as check high-speed printing mode. CODE <ESC> Setting print direction in page mode FUNCTION Sets the direction in which the printing will be executed in page mode according to the value of n. This command is only valid in line mode.
  • Page 78 This mode can only be used with printing data that uses a 5 X 9 (2P- 1) font without decorations. The limitations are listed below. The quality of the printed product cannot be guaranteed if these limitations are removed and the unit used.
  • Page 79 Customer display commands (Combo mode only) <ESC> CODE Start customer display FUNCTION Subsequent data is sent through the customer display. Customer display data is sent as follows. This command is saved in the print buffer and retrieved from the print buffer and executed in the same way as the other print data. <ESC>...
  • Page 80 Other Commands <CAN> CODE FUNCTION Cancel printer buffer & Initialize printer Clears the line buffer, and initializes the commands set already. Does not affect the external equipment drive conditions set by the code <ESC> <BEL> n1 n2. (This is the same during a mechanical error.) (Line buffer means the print data expansion area.) If <CAN>...
  • Page 81 <ESC> CODE Set the memory switch. In order to enable changed memory switch FUNCTION setting, turn the printer OFF and ON again or send printer reset command (<ESC> “?”<LF><NUL>”) to the printer. Changed memory switch settings are stored in EEPROM and these setting will be stored as long as the time when they are changed again.
  • Page 82 Parameter Parameter n2 Code page “0” Normal “1” katakana “2” 437 Parameter n3 :Always “0” Setting Receipt printer ESC d command Receipt printer Receipt printer cutter Receipt printer paper near end N=3 (Star mode only) n1 :Always “0” Setting Character table (Code page) Receipt printer printer column...
  • Page 83 N=4 (ESC/POS mode) n1 :Always “0” n2 :Always “0” Parameter Setting DTR signal during setting status transmission Data receipt error Parameter :n3 Setting (DTR signal) 1. From when the power is turned on or I/F reset until communication possible 2. Test printing 3.
  • Page 84 Parameter Parameter Parameter Parameter N=5 (Star mode) n1 :Always “0” n3 :Always “0” Setting When slip printer <CR> code is valid Initial status of the TOF/ BOF sensor Slip printer automatic clamp Slip printer automatic starting print positioning Setting When slip printer <CR> code is valid Initial status of the TOF/ BOF sensor...
  • Page 85 Parameter Rank CODE <ESC> Initialize printer FUNCTION Reinitializes the printer. Clears the print buffer and returns settings to their power-up values. Does not clear the input buffer, downloaded characters, or conditions for peripheral devices. If this command is specified in page mode while printing using the slip printer, printing is not carried out and the printer returns to line mode from page mode.
  • Page 86 Status byte Status Constantly set at CODE <ESC> FUNCTION Reset the printer hardware. Resets the printer hardware and produces a test print Status b3 is variable. “?” <LF> <NUL> Vertical parity error 1: Error Framing error 1: Error Receipt printer head-up error Receipt printer auto cutter error Receipt printer thermistor error Cover open error...
  • Page 87: Chapter 10: Esc/Pos Mode

    Chapter 10: ESC/POS Mode TM-T85 mode Code Horizontal tab Print line feed Page mode print and return DLE EOT Real time transmission of status DLE ENQ Real time request to printer Cancel print data in page mode ESC FF Print page mode data ESC SP Set right space amount of character ESC !
  • Page 88 Code ESC d Print and paper feed “n” lines ESC i Partial cut (one section remaining) ESC p Designate pulse generation ESC t Select character code table ESC u Transmission of peripheral equipment status ESC v Transmission of paper detection status ESC { Designate/cancel inverted printing GS !
  • Page 89: Tm-295 Mode

    TM-295 mode Code Horizontal tab Print line feed Page mode print and return DLE EOT Real time transmission of status Cancel print data in page mode ESC SP Set right space amount of character ESC ! Universal print mode designation ESC % Designate/cancel download characters set ESC &...
  • Page 90: Tm-295 Mode Emulation Cautionary Items

    TM-295 mode emulation cautionary items Since, as shown below, the paper feed pitch, dot pitch and the installation distances between the TOF/BOF sensors and the print head differ depending on the mechanism of the SCP700 slip and TM-295, the printing results may not be the same because of the differences in the mechanism.
  • Page 91 <Influence due to the difference in the TOF and BOF sensor positions> The paper position when the condition of the TOF or BOF sensor changes due to the status is different to that of the TM-295. Since the position of the BOF sensor is especially different, whereas the BOF sensor reports “no paper”...
  • Page 92: Appendix: Character Code Tables

    Appendix : Character Code Tables Star Mode (Character table: Normal) Note: The (7F)H code is a space when neither normal nor katakana.
  • Page 93: Star Mode

    Star Mode (Character table: Normal)
  • Page 94 Star Mode (Character table: katakana) Note: Other characters are the same as those for Character table: Normal.
  • Page 95 Star Mode (Character table: IBM (Code page 437)) Note: Other characters are the same as those for Character table: Normal.
  • Page 96 Star Mode Code Page #850 Multi-lingual Code Page #860 Portuguese Note: Other characters are the same as those for Character table: Normal Code Page #852 Latin-2 Code Page #861 Icelandic...
  • Page 97 Code Page #863 Canadian French Code Page #866 Russian Note: Other characters are the same as those for Character table: Normal Code Page #865 Nordic...
  • Page 98 Star Mode International Character Set...
  • Page 99 ESC/POS Mode Page 0 (PC437)
  • Page 100 ESC/POS Mode Page 0 (PC437)
  • Page 101 ESC/POS Mode Page 1 (Katakana) Note: Other characters are the same as those for Page 0.
  • Page 102 ESC/POS Mode Page 2 (PC850: Multilingual) Note: Other characters are the same as those for Page 0.
  • Page 103 ESC/POS Mode (Receipt printer only) Page 3 (PC860: Portuguese) Note: Other characters are the same as those for Page 0.
  • Page 104 ESC/POS Mode (Receipt printer only) Page 4 (PC863: Canadian-French) Note: Other characters are the same as those for Page 0.
  • Page 105 ESC/POS Mode (Receipt printer only) Page 5 (PC865: Nordic) Note: Other characters are the same as those for Page 0.
  • Page 106 ESC/POS Mode (Receipt printer only) Page 255 (Space Page) Note: Other characters are the same as those for Page 0.
  • Page 107 ESC/POS Mode International Character Set...
  • Page 108: Please Access The Following Url Http://Www.star-Micronics.co.jp/Service/Sp_Sup_E.htm

    HEAD OFFICE STAR MICRONICS CO., LTD. 536 Nanatsushinnya, Shimizu, Shizuoka 424-0066 Japan Tel: 0543-47-0112, Fax: 0543-48-5271 Please access the following URL http://www.star-micronics.co.jp/service/sp_sup_e.htm for the lastest revision of the manual. OVERSEAS SUBSIDIARY COMPANIES STAR MICRONICS AMERICA, INC. 70-D Ethel Road West, Piscataway, NJ 08854 U.S.A Tel: 732-572-9512, Fax: 732-572-5095 STAR MICRONICS U.K.

Table of Contents