background image

 

(Blank Page)

Содержание SLIP SP298 SERIES

Страница 1: ...SLIP PRINTER SP298 SERIES Programmer s Manual...

Страница 2: ...mission is strictly forbidden The contents of this manual are subject to change without notice All efforts have been made to ensure the accuracy of the contents of this manual at the time of printing...

Страница 3: ...Serial Interface 11 Serial interface pins and signal names 12 Pins and Signal Names 12 Interface connections 13 Data protocol 14 Parallel Interface 17 Connectors and Signals 17 Chapter 5 Peripheral U...

Страница 4: ...are located inside the printer underneath the document table Use the following procedure to remove the document table so you can operate the DIP switches Make sure that the printer is turned off and...

Страница 5: ...fter the document table is opened sufficiently use a thin flat blade screwdriver or some other similar object to change DIP switch settings Note See the following section for details on available DIP...

Страница 6: ...witch Parameter ON OFF 1 Baud Rate See table below 2 3 Data Length 8 bits 7 bits 4 Parity Check Disabled Enabled 5 Parity Odd Even 6 Handshake DTR DSR XON XOFF 7 Command Emulation See table below 8 9...

Страница 7: ...med with pin 31 setting DIP switch 2 to OFF sets up the unit to perform a reset when pin 31 and pin 36 are LOW 1 Never set switch 7 to OFF at the same time that switch 8 is set to ON Switch Parameter...

Страница 8: ...the functions and settings of memory switches refer to Chapter 6 The table below shows the factory settings for the memory switches Warning Changing the memory switch settings can cause the printer t...

Страница 9: ...us of the printer at a glance Indicator lights The following table describes the meaning of indicator lights when it is on off or flashing Indicator Light Off On Flashing POWER Power off Power on Dot...

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

Страница 11: ...icator by a flashing POWER indicator flashes Entering the Dot Alignment Adjust Mode causes seven blocks to be printed each of which indicates a dot alignment setting as shown below An asterisk to the...

Страница 12: ...ncelled 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 c...

Страница 13: ...s on the current command mode Error Type Indicators Recovery POWER RELEASE PAPER OUT Paper jam Flashing Correct the cause of the problem and then press RELEASE Carriage motor lockup Abnormal home posi...

Страница 14: ...600 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 Sp...

Страница 15: ...ot connected 6 DSR IN DIP Switch 9 OFF STAR Mode Status of this signal is not checked ESC POS Mode In DTR DSR communication mode when Memory Switch4 5 0 indicates whether data receive from host is ena...

Страница 16: ...ays space except during following conditions Period between reset and communication enabled During self test printing and dot alignment adjustment 21 24 N C Not connected 25 INIT IN DIP Switch 10 OFF...

Страница 17: ...mission but it is possible for the printer to continue receiving data for the amount of space remaining in the data buffer s empty area at this point If the DTR signal is ignored and data transmitted...

Страница 18: ...the power supply is switched on and no error occurs with the printer The text data is transmitted to the RSD signal line after the host has received X ON X OFF DC3 13H is output when the empty area in...

Страница 19: ...tes or less are available 35 byte When 16 bytes or less are available ESC POS mode 512 35 bytes When 10 bytes or more are available Emulation DSW8 Buffer size DSW7 Available area during fluctuations S...

Страница 20: ...es to HIGH when either the TOF or the BOF sensor detects that there is no paper The signal will go to LOW when both the TOF and BOF sensor detect that there is paper installed In the ESC POS mode This...

Страница 21: ...ecomes a reset signal when DIP switch 1 is set to ON and DIP switch 2 is set to OFF See page 4 for details Pin No Signal Name IN OUT Function This connector mates with an Amphenol 57 30360 connector P...

Страница 22: ...ripheral 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 like that one shown in the figure...

Страница 23: ...erface connector The switch status is ON when the number 34 pin is at LOW level Minimum resistance for coils L1 and L2 is 24 Absolute maximum ratings for diodes D1 and D2 Ta 25 C are Average Rectified...

Страница 24: ...e following tables show the Star mode commands that are supported by this printer Character Selection Control Codes Hexadecimal Codes Function Page ESC R n 1B 52 n Selects the international character...

Страница 25: ...g 33 ESC 5 1B 35 Cancels unhighlight printing 33 SI 0F Inverted printing 33 DC2 12 Cancels inverted printing 33 ESC RS i 0 ESC RS i 0 1B 1E 96 30 1B 1E 96 00 Cancels rotated print mode for text Defaul...

Страница 26: ...Sets line spacing to 1 8 inch 36 ESC 1 1B 31 Sets line spacing to 7 72 inch 36 ESC J n 1B 4A n One time n 72 inch feed 37 ESC j n 1B 6A n One time n 72 inch backfeed 37 ESC 3 n 1B 33 n Sets line spac...

Страница 27: ...ESC 0 n1 n2 1B 26 00 n1 n2 Defines download characters 43 ESC 1 ESC 1 1B 25 31 1B 25 01 Enables download character set 44 ESC 0 ESC 0 1B 25 30 1B 25 00 Disables download character set 44 Control Code...

Страница 28: ...ge ESC n 1B 6E Selects page mode 48 ESC 1B 21 Selects line mode 50 ESC 1B 2A Setting print area in page mode 50 ESC T n 1B 54 n Setting print direction in page mode 51 FF 0C Prints in page mode 53 Con...

Страница 29: ...N 18 Cancels print data in page mode ESC SP 1B 20 Sets size of space to right of character ESC 1B 21 Enables batch print mode ESC 1B 23 Sets memory switch ESC 1B 25 Enables disables download character...

Страница 30: ...Selects the paper end sensor for stopping printing ESC c5 1B 63 35 Enables disables control panel switches ESC d 1B 64 Prints or feeds n lines ESC e 1B 65 Prints or reverse feeds n lines ESC f 1B 66 S...

Страница 31: ...6n 5 0 5 72 inch Control Codes Hexadecimal Codes Function HT 09 Horizontal tab LF 0A Line feed FF 0C Paper eject in single sheet mode ESC SP 1B 20 Sets size of space to right of character ESC 1B 21 E...

Страница 32: ...ontrol panel switches ESC d 1B 64 Prints or feeds n lines ESC h 1B 68 Sets Cancels reverse line feed ESC j 1B 6A Selects character width in vertical printing mode ESC q 1B 71 Release ESC t 1B 74 Selec...

Страница 33: ...style Causes subsequent zero characters to be printed with a slash when n is 1 and without a slash when n is 0 The valve of n can be set to 0 00H or 0 30H or 1 0H or 1 31H The default may differ depen...

Страница 34: ...15 or from 0 through 9 and A through F The default value of n is 0 SO 0E Sets the printing magnified double in character width Prints the subsequent data including a character spacing set by ESC SP n...

Страница 35: ...nes 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 underlined Resets the underline mode...

Страница 36: ...n 1B IE 96 n This function defines and cancels rotated print mode for text with a 90 or 270 rotation for the line mode This function is for the line mode It rotates the following data in a clockwise...

Страница 37: ...line buffer the printer enters the uni directional mode The subsequent data is printed when the print head moves from left to right ESC U 0 or ESC U 0 1B 55 30 1B 55 00 Selects bi directional printin...

Страница 38: ...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 line and feeds the paper n lines where n is between 1 and 127 HT 09 Horizontal...

Страница 39: ...inch ESC z 1 or ESC z 1 1B 7A 31 or 1B 7A 01 Sets line spacing to 1 6 inch Sets the distance that the paper advances in subsequent line feeds to 1 6 inch ESC 0 1B 30 Sets line spacing to 1 8 inch Set...

Страница 40: ...e setting for lines do not change The value of n is between 1 and 255 ESC 3 n 1B 33 n Sets line spacing to n 216 inch Sets the subsequent line spacing to n 216 inch The value of n is between 1 and 255...

Страница 41: ...s turned on the left edge is set as the left margin The left margin must be at least 18 dots to the left of the right margin and within the limits below If the size of one character and its spacing is...

Страница 42: ...t align default 01 H 1 Center 02 H 2 Right align ABC ABCD ESC GS a 0 ABCDE ABC ESC GS a 1 ABCD ABCDE ABC ESC GS a 2 ABCD ABCDE Note This is only valid when it is input at the start of the line The pos...

Страница 43: ...matically returns to the character 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 o...

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

Страница 45: ...using a bit image 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...

Страница 46: ...efined and the defined character patterns can be stored in the printer s RAM The values of n1 and n2 are between 21 H and 7F H with n1 less than or equal to n2 and the value of m0 is either 00 H or 80...

Страница 47: ...character set ESC 0 or ESC 0 1B 25 30 or 1B 25 00 Disables download character set Disables the selected download character set and returns to the built in ROM character set EXAMPLE m2 m4 m6 m1 D8 D7...

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

Страница 49: ...Releases the paper and waits until it is removed 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...

Страница 50: ...on is backward backfeed and the ejection 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...

Страница 51: ...be rotated and oriented independently In page mode if printing data and a command such as CR or LF are sent in the same way as in line mode there is an automatic rotation to the printer side All print...

Страница 52: ...0 353 mm the paper amount that is fed while printing using a 90 or 270 rotation is less when compared with a 0 or 150 rotation As a result when printing using a 90 or 270 rotation execute a test print...

Страница 53: ...y dYL and dYH Starting point X0 XL XH 256 dots Starting point Y0 YL YH 256 dots Length in horizontal direction DX dXL dXH 256 dots Length in vertical direction DY dYL dYH 256 dots The values of XL YL...

Страница 54: ...f n is 0 Rotation direction examples n 0 n 1 or 4 n 2 n 3 0 rotation 270 rotation 180 rotation 90 rotation N 4 4 Check high speed printing mode This parameter is only valid when no character data is e...

Страница 55: ...ce between characters cannot be used The following limitations apply for theY direction in the printing area value set with ESC 1 As To 0 has been fixed as the starting point for the printing area the...

Страница 56: ...ll 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 direction are all initialized I...

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

Страница 58: ...e when they are changed again 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 n4 Always 0 2 N 1 Star mode only n1 Always 0 n2...

Страница 59: ...9 Code page 865 2 IBM Code page 437 6 Code page 860 A Code page 866 3 IBM Code page 437 7 Code page 861 Parameter Setting 0 1 2 3 n1 X on X off Timing When Toggled every 3 sec When Toggled every 3 se...

Страница 60: ...print CR n4 Initial status of the TOF BOF sensor Invalid Invalid Invalid Invalid Slip printer automatic clamp Valid Valid Invalid Invalid Slip printer automatic starting print positioning Valid Inval...

Страница 61: ...inting is not carried out and the printer returns to line mode from page mode This command cannot recover from errors or return to the on line status from off line ENQ 05 Enquiry Causes the printer to...

Страница 62: ...printer hardware and produces a test print 0 Printer mechanical error 1 Error Vertical parity error 1 Error Framing error 1 Error Buffer empty 1 Empty Buffer overflow 1 Overflow Compulsion switch 1 H...

Страница 63: ...72 dots in the Y direction In the case of the line mode since the difference in the paper feed pitch is absorbed as much as possible the commands which are connected with the n 60 inch unit paper feed...

Страница 64: ...5 and it may not be possible to print in the same position at the bottom of the same form For this reason by controlling the printing so that it does not stop until approximately 27 3mm from the botto...

Страница 65: ...62 Appendix Character Code Tables Star Mode Character table Normal Note The 7F H code is a space when neither normal nor katakana...

Страница 66: ...63 Star Mode Character table Normal...

Страница 67: ...64 Star Mode Character table katakana Note Other characters are the same as those for Character table Normal...

Страница 68: ...65 Star Mode Character table IBM Code page 437 Note Other characters are the same as those for Character table Normal...

Страница 69: ...66 Star Mode Note Other characters are the same as those for Character table Normal Code Page 858 Multi lingual Code Page 852 Latin 2 Code Page 860 Portuguese Code Page 861 Icelandic...

Страница 70: ...67 Note Other characters are the same as those for Character table Normal Code Page 863 Canadian French Code Page 865 Nordic Code Page 866 Russian...

Страница 71: ...68 Star Mode International Character Set...

Страница 72: ...69 ESC POS Mode Page 0 PC437...

Страница 73: ...70 ESC POS Mode Page 0 PC437...

Страница 74: ...71 ESC POS Mode Page 1 Katakana Note Other characters are the same as those for Page 0...

Страница 75: ...72 ESC POS Mode Page 2 PC858 Multilingual Note Other characters are the same as those for Page 0...

Страница 76: ...73 ESC POS Mode International Character Set...

Страница 77: ......

Страница 78: ...Blank Page...

Страница 79: ...egrine Business Park Gomm Road High Wycombe Bucks HP 13 7DL U K Tel 01494 471111 Fax 01494 473333 HEAD OFFICE STAR MICRONICS CO LTD 536 Nanatsushinnya Shimizu Shizuoka 424 0066 Japan Tel 0543 47 0112...

Отзывы: