Home
SB-10 USER`S MANUAL
Contents
1. shipping costs incurred in presenting or sending the product for service is the sole responsibility of the buyer ALL EXPRESS AND IMPLIED WARRANTIES FOR THIS PRODUCT INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FIT NESS FOR A PARTICULAR PURPOSE ARE LIMITED IN DURATION TOAPERIOD OF ONE YEAR FROM THE DATE OF PURCHASE AND NO WARRANTIES EITHER EXPRESS OR IMPLIED WILL APPLY AF TER THIS PERIOD Some states do not allow limitations on how long an implied warranty lasts so the above limitations may not apply to you Some states do not allow the exclusion or limitation of incidental Or conseguential damages for consumer products so the above li mitations or exclusions may not apply to you This warranty gives you specific legal rights and you may also have other rights which may vary from state to state 142 ds e ds o a ie ga Mm TRADEMARK ACKNOWLEDGEMENTS SB 10 Star Micronics Inc WORDSTAR MicroPro International Corporation MBASIC Microsoft Corporation VISICALC VisiCorp SUPERCALC Sorcim Corporation LOTUS 1 2 3 Lotus Development Corporation IBM PC International Business Machine Corporation CP M Digital Research PFS WRITER Perfect Software Inc EASYWRITER Il Information Unlimited Software Inc k k k k k k k k k k k 144 MRS O A A A dd TER RS EU em r COMMAND QUICK REFERENCE Print Style Commands RESO gt Aun letter quality mode ESO nai draft quality mode LESC gt R naaa intern
2. APPENDIX FUNCTION CODE REFERENCE Appendix A contains an entire listing of the codes used for every function performed by your printer Many of these codes appear throughout the manual but there are a number of additional func tions that are described only in this appendix So ifyou d like to learn about all the capabilities of your printer you can find them here Each function is listed by name followed by a short description Since there are several different ways to access a function through escape control decimal and hexadecimal codes and also through BASIC character strings we have listed each of your possible choices The codes are also cross referenced to other related codes and to the proper section of the manual Here are a few tips on using the codes listed in Appendix A lt ESC gt This symbol represents the escape function tor in structions on enabling this function please consult your computer manual or software manual nor n The n appears in the codes for user selectable functions such as horizontal tab settings When you see n you may substitute a number or value within the parameters given in the function s description CHR The character string command CHR is used to capture a code entered when you are programming in BASIC For details please see Section 6 Always be sure to enter the code exactly as it appears in the listing If a letter is shown in upperca
3. E 104 STANDARD ASCII CODES DECIMAL HEXADECIMAL BINARY CHARACTER 159 9F 1001 1111 US 160 AO 1010 0000 161 A1 1010 0001 162 A2 1010 0010 163 A3 1010 0011 164 A4 1010 0100 165 A5 1010 0101 166 A6 1010 0110 167 A7 1010 0111 168 A8 1010 1000 169 A9 1010 1001 170 AA 1010 1010 171 AB 1010 1011 172 AC 1010 1100 173 AD 1010 1101 174 AE 1010 1110 175 AF 1010 1111 176 BO 1011 0000 177 B1 1011 0001 178 B2 1011 0010 179 B3 1011 0011 180 B4 1011 0100 181 B5 1011 0101 182 B6 10110110 183 B7 1011 0111 184 B8 1011 1000 185 B9 1011 1001 186 BA 1011 1010 187 BB 1011 1011 188 BC 1011 1100 189 BD 1011 1101 k 190 BE 1011 1110 d 191 BF 1011 1111 1 192 co 1100 0000 193 C1 1100 0001 sli 194 C2 1100 0010 7 195 C3 1100 0011 196 C4 11000100 197 C5 1100 0101 198 C6 1100 0110 1 105 STANDARD ASCII CODES DECIMAL 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 106 HEXADECIMAL C7 C8 C9 CA CB CC CD CE CF DO D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF EO E1 E2 E3 E4 E5 E6 E7 E8 E9 EA EB EC ED EE EF FO Fi BINARY 11000111 1100 1000 1100 1001 1100 1010 1100 1011 1100 1100 1100 1101 1100 1110 1100 1111 1101 0000 1101 0001 1101 0010 1101 0011 1101 0100 1101 0101 1101 0110 1101 0111 1101
4. ESC CO n B SET PAGE LENGTH TO n LINES This command sets the length of all subsequent pagesto n lines You may choose for n any whole number between 1 and 127 CODE lt ESC gt C n HEX 1B 43 n DECIMAL 27 67 n BASIC CHR 27 CHR 67 CHR n REFERENCE lt ESC gt CO n Section 5 76 M SET PAGE LENGTH TO n INCHES When you send this command you set the length of all subsequent pages to n inches You may choose for n any whole number value between 1 and 32 You may also select a power on default form length of 11 inches or 12 inches by setting DIP switch 1 2 CODE lt ESC gt CO n HEX 1B 43 00 n DECIMAL 27 67 0 n BASIC CHR 27 CHR 67 CHR 0 CHR n REFERENCE lt ESC gt C n Section 5 m SET TOP MARGIN This command allows you to redefine the top margin of the page For n you may enter any number between 1 and 16 CODE lt ESC gt r n HEX 1B 72 n DECIMAL 27 114 n BASIC CHR 27 CHR 114 CHR n REFERENCE lt ESC gt N n Section 5 77 o B SET THE BOTTOM MARGIN With this command you set the bottom margin of the page to n lines The printer automatically executes a form feed when the number of lines left on a page is equal to the n value you choose You may enter for n any value between 1 and 127 CODE lt ESC gt N n HEX 1B 4E n DECIMAL 27 78 n BASIC CHR 27 CHR 78 CHR n R
5. REFERENCE lt ESC gt po Section4 63 B CANCEL PROPORTIONAL SPACING This command cancels the proportional spacing and returns the print pitch to pica CODE lt ESC gt pO HEX 1B 70 00 DECIMAL 27 1120 BASIC CHR 27 CHR 112 CHR 0 REFERENCE lt ESC gt p 1 Section4 W SET THE PRINT PITCH TO PICA 10 CPI In the draft mode this command causes all subsequent printing to be done in pica type This command also sets the maximum line length to 80 characters You can select pica type as the power on default by turning on DIP switch 1 6 CODE SESC P HEX 1B 50 DECIMAL 27 80 BASIC CHR 27 CHR 80 REFERENCE lt ESC gt M Section 4 64 W SET THE PRINT PITCH TO ELITE 12 CPI In the draft mode this command causes all subseguent printing to be done in elite type and sets the maximum line length to 96 characters You can select elite type as the power on default by turning DIP switch 1 6 off CODE lt ESC gt M HEX 1B 4D DECIMAL 27 77 BASIC CHR 27 CHR 77 REFERENCE lt ESC gt P Section 4 MW SET THE PRINT PITCH TO CONDENSED 16 7 CPI In the draft mode this command instructs the printer to print in the condensed pitch and also sets the maximum line length to 132 characters CODE lt ESC gt SI lt SI gt HEX 1B OF or OF DECIMAL 27 15 or 15 BASIC CHR 27 CHR 15 or CHR 15 REFERENCE lt ESC gt P lt ESC gt M Section 4 65 B SELECT EXPA
6. REFERENCE lt ESC gt y 1 lt ESC gt y0 RE RT OR 97 VV TT ENS UT TEE eS A nati A NP AA ALA jeg i SS RUNS NE ES SEC RATE E EM e is e de 1 j 1 i B DISABLE THE PRINTER BELL This command causes the printer to ignore the lt BEL gt code CODE lt ESC gt y0 HEX 1B 79 00 DECIMAL 27 1210 BASIC CHR 27 CHR 121 CHR 0 REFERENCE lt ESC gt y 1 BEL B ENABLE PRINTER BELL This command causes the printer to respond to the lt BEL gt code by sounding the printer tone CODE lt ESC gt y 1 HEX 1B 79 01 DECIMAL 27 1211 BASIC CHR 27 CHR 121 CHR 1 REFERENCE lt ESC gt y0 lt BEL gt B DISABLE PAPER OUT DETECTOR This command causes the printer to disregard the signal sent by the paper out detector The paper out signal normally sounds the printer bell and stops printing until paper is inserted and the printer is reset CODE lt ESC gt 8 HEX 1B 38 DECIMAL 27 56 BASIC CHR 27 CHR 56 REFERENCE lt ESC gt 9 92 m ENABLE PAPER OUT DETECTOR This command restores the function of the paper out detector CODE lt ESC gt 9 HEX 1B 39 DECIMAL 27 57 BASIC CHR 27 CHR 57 REFERENCE lt ESC gt 8 B CANCEL TEXT IN PRINT BUFFER This command cancels all the data previously stored in the print buffer of your printer GODE lt CAN gt HEX 18 DECIMAL 24 BASIC CHR 24 REFERENCE lt DEL gt W INITIALIZE PRINTER
7. lt ESC gt 0 lt ESC gt 1 lt ESC gt 2 lt ESC gt a n lt ESC gt A n lt ESC gt 3 n lt ESC gt J n lt ESC gt j n Section 5 71 a FEED E THE PAPER ONE LINE REVERSE LINE This command causes the printer to reverse the paper one line The distance reversed by this instruction is set either through DIP Switch 1 3 or through other line spacing methods outlined in Section 5 CODE lt ESC gt lt LF gt HEX 1B 0A DECIMAL 27 10 BASIC CHR 27 CHR 10 REFERENCE lt ESC gt 0 lt ESC gt 1 lt ESC gt 2 lt ESC gt a n lt ESC gt A n lt ESC gt 3 n lt ESC gt J n lt ESC gt j n Section 5 BR CHANGE THE LINE SPACING TO 1 8 INCH This instructs your printer to print 8 lines per inch You can also select 1 8th inch line spacing by turning off DIP switch 1 3 CODE lt ESC gt 0 HEX 1B 30 DECIMAL 27 48 BASIC CHR 27 CHRS 48 REFERENCE lt ESC gt 1 lt ESC gt 2 lt ESC gt a n lt ESC gt A n lt ESC gt 3 n lt ESC gt J n lt ESC gt n Section 5 72 Mm CHANGE THE LINE SPACING TO 1 10 INCH After this instruction is given all subsequent line feeds will be set to 1 10th inch or 10 lines per inch as described in Section 5 CODE lt ESC gt 1 HEX 1B 31 DECIMAL 27 49 BASIC CHR 27 CHR 49 REFERENCE lt ESC gt 0 lt ESC gt 2 lt ESC gt a n lt ESC gt A n lt ESC gt 3 n lt ESC gt J n lt ESC gt j
8. 1 7 7 or 8 bit Set to 8 bits Set to 7 bits ON interface Auto line Line feed not Automatic line feed performed by feed performed input of CR by input of CR code code Selection of See Table D 2 international below character set Print guality alignment adjustment preset at factory for each printer Record original factory set position for future reference Do not change factory adjustment These switches should be adjusted only by authorized service technicians 2 10 Allocated for future use ON Table D 2 Selection of the International Character Set England ON ON OFF Denmark 110 APPENDIX CHARACTER SETS OF THE PRINTER m LETTER QUALITY LQ CHARACTER SET AND DRAFT OUALITY DO CHARACTER SET The code lists of the letter quality character set and the draft character set are shown below Decimal Character Function Decimal Character O lt NUL gt End tab settings 34 wo 7 lt BEL gt Bell 35 pod z 8 BS Backspace 36 9 HT Horizontal tab 37 10 lt LF gt Line feed 38 amp amp 11 lt VT gt Vertical tab 39 1 Apostrophe 12 lt FF gt Form feed 40 EE 13 CR Carriage return 41 I J3 14 lt SO gt Expanded print on 42 OK 15 SI Condensed print on 43 17 lt DC1 gt Online 44 j Comma 18 lt DC2 gt Pica pitch 45 gt A Hyphen 19 lt DC3 gt Offline 46 A Period 20 lt DC4 gt Expanded print off 47 ys ag 24 CAN Cancel text 4
9. RR ii FE m CANCEL SUPERSCRIPTS AND SUBSCRIPTS This command is used to cancel either super or subscript printing CODE lt ESC gt T HEX 1B 54 DECIMAL 27 84 BASIC CHR 27 CHR 84 REFERENCE lt ESC gt 50 lt ESC gt 1 Section 5 FORMATTING CONTROLS B SELECT UNIDIRECTIONAL PRINTING This command causes all subsequent lines to be printed in the unidirectional mode until canceled Unidirectional printing is useful in printing tables or charts since it ensures that vertical columns of characters will be in alignment in the draft mode CODE lt ESC gt U1 HEX 18 55 01 DECIMAL 27851 BASIC CHR 27 CHR 85 CHR 1 REFERENCE lt ESC gt UO lt ESC gt A similar command can be used to activate unidirectional printing for one line only Here are the codes CODE lt ESC gt lt HEX 1B 3C DECIMAL 27 60 BASIC CHR 27 lt gt REFERENCE lt ESC gt UO lt ESC gt U1 70 WB CANCEL UNIDIRECTIONAL PRINTING This command cancels unidirectional printing returning the printer to its standard bidirectional printing CODE lt ESC gt UO HEX 1B 55 00 DECIMAL 27 85 0 BASIC CHR 27 CHR 85 CHR 0 REFERENCE lt ESC gt U 1 B ADVANCE THE PAPER ONE LINE LINE FEED The actual distance advanced by the line feed is set either through DIP Switch 1 3 or through other line spacing methods outlined in Section 5 CODE lt LF gt HEX 0A DECIMAL 10 BASIC CHR 10 REFERENCE
10. This command is used to reinitialize the printer The print buffer is cleared and the form length character pitch character set line feed pitch and international character set are all reset to the values defined bytheir respective DIP switches The main difference between this code and simply turning the printer off is that download character RAM is preserved with this command CODE lt ESC gt Q HEX 1B 40 DECIMAL 2764 BASIC CHR 27 CHR 64 93 B SELECT INCREMENTAL MODE This command causes the printer to print each character as it is typed in If the data is input at intervals of less than approximately 0 1 second printout will be performed continuously This is useful for completing forms or whenever you need to print a character on command CODE lt ESC gt i1 HEX 1B 69 01 DECIMAL 27 105 1 BASIC CHR 27 CHR 105 CHR 1 REFERENCE lt ESC gt iQ B CANCEL INCREMENTAL MODE This command cancels incremental mode CODE lt ESC gt 0 HEX 18 69 00 DECIMAL 27 1050 BASIC CHR 27 CHR 105 CHR 0 REFERENCE lt ESC gt i1 k dx k k k k X A ox X x 94 APPENDIX INSTALLING THE PRINTER INTO YOUR WORD PROCESSING PACKAGE In Section 1 we listed the basic information you will need to know Ma when you install the printer into your word processing package f Now let s look at a typical installation for WordStar one of the Ma first and still the most popular word processors
11. n Section 5 m CHANGE THE LINE SPACING TO 1 6 INCH This command returns the line spacing on the printer to 1 6th inch which is the American standard You can also select 1 6th inch line spacing as the power on default by turning DIP switch 1 3 on CODE lt ESC gt 2 HEX 1B 32 DECIMAL 27 50 BASIC CHR 27 CHR 50 REFERENCE lt ESC gt 0 lt ESC gt 1 lt ESC gt A n lt ESC gt 3 n lt ESC gt J n lt ESC gt j n Section 5 73 B CHANGE THE LINE SPACING TO n 60THS OF AN je e command allows you to select the line spacing you want to 7 60ths of an inch You may choose a value for n between O and 255 CODE lt ESC gt A n HEX 1B 41 n DECIMAL 27 65 n BASIC CHR 27 CHR 65 CHR n REFERENCE lt ESC gt 0 lt ESC gt 1 lt ESC gt 2 lt ESC gt a n ESC 3 n lt ESC gt J n lt ESC gt jn Section 5 B CHANGE THE LINE SPACING TO n 120THS OF AN E command allows you to select the line spacing you want to n 120ths of an inch You may choose a value for n between 0 and 255 CODE lt ESC gt 3 n HEX 1B 33 n DECIMAL 27 51 n BASIC CHR 27 CHR 51 CHR n REFERENCE lt ESC gt 0 lt ESC gt 1 lt ESC gt 2 lt ESC gt a n lt ESC gt A n lt ESG gt J n lt ESC gt j n Section 5 74 n B SEND A ONE TIME ONLY LINE FEED OF n 120THS OF AN INCH This command causes the printer to advance the paper n 120ths o
12. 1000 1101 1001 1101 1010 1101 1011 1101 1100 1101 1101 1101 1110 1101 1111 1110 0000 1110 0001 1110 0010 1110 0011 1110 0100 1110 0101 1110 0110 1110 0111 1110 1000 1110 1001 1110 1010 1110 1011 1110 1100 1110 1101 1110 1110 1110 1111 1111 0000 1111 0001 CHARACTER Lo amp E gt m STANDARD ASCII CODES HEXADECIMAL DECIMAL 242 243 244 245 246 247 248 v 249 250 bi 251 252 253 254 255 F2 F3 F4 F5 F6 F7 F8 F9 FA FB FC FD FE FF BINARY 1111 0010 1111 0011 1111 0100 1111 0101 11110110 1111 0111 1111 1111 1111 1111 1111 1111 1111 1111 1000 1001 1010 1011 1100 1101 1110 1111 CHARACTER 107 MEMO co e APPENDIX DUAL IN LINE PACKAGE DIP SWITCHES Some of your printer s most important functions are user selec table through its DIP switches The following table gives both the preset positions of the switches and their characteristics in the on and off modes Table D 1 DIP switch settings and their functions SWITCH NO FUNCTION ON OFF PRESET Paper out Disables printer Allows printer ON detector when paperis to print with out out paper 1 2 Form 11 inches 12 inches ON length 1 3 Line 1 6th inch 1 8th inch ON spacing 1 4 On line On line at Off line at ON off line power on power on 1 5 Character Draft quality Letter quality ON set 1 6 Print Pica 10 cpi Elite 12 cpi ON pitch
13. made for the P personal computer If you aren t planning to use WordStar as your ki word processor you can stili benefit by reading the following step by step description it will take you through a typical custom installation giving you valuable information you can use with any word processor To get to the WordStar installation program insert the disk into E your computer as you normally do atthe A gt type the word WIN STALL The installation program will appear prompting you with a few preliminary questions such as Do you want to continue with E this installation answer these questions and when you get to the query Name of file to install enter WS COM and press the return key three times W THE INSTALLATION MENU The next menu to appear on your screen will be the WordStar Installation Menu with several choices including Menu of Printers and Custom Installation of Printers As we said you may want to look at the menu of printers and experiment with any of the dot matrix printers listed a However you ll get your best results by using WordStar s Custom Installation of Printers This choice requires some detailed infor mation about your printer which you ll find in the following pages When you choose Custom Installation of Printers you are imme diately given a submenu called the Printer Installation Menu The Printer Installation Menu contains a separate entry for each category of informatio
14. n CODE lt ESC gt a n HEX 1B 61 n DECIMAL 27 97 n BASIC CHR 27 CHR 97 CHR n REFERENCE lt ESC gt B nf n2 0 B SET VERTICAL FORM UNIT VFU The vertica form unit command can be used to help you print multipage forms If each page of the form has different vertical tab positions the tabs can be set in channels There are 7 channels which are numbered from 0 to 6 you can program the tab positions for up to 7 different pages of a form In the example below the variable n is used to select which channel will be used The variables m1 m2 m3 are used to define the vertical tab positions for a given channel The command must be terminated with a nul code 02 to signify the end of data for that command The maximum number of tab positions for a channel is 12 CODE US n m1 m2 0 HEX 1F n m1 m2 00 DECIMAL 31 n m1 m2 0 BASIC CHR 31 CHR n CHR m1 CHR m2 CHR 0 REFERENCE lt ESC gt B n1 n2 0 lt ESC gt n 80 B SELECT VERTICAL FORM UNIT VFU CHANNEL This command causes the printer to execute all subsequent ver tical d in accordance with the format you specified for VFU channel CODE lt ESC gt n HEX 1B 2F n DECIMAL 27 47 n BASIC CHR 27 CHR 47 CHR n REFERENCE lt US gt n m1 m2 0 lt ESC gt B n1 n2 0 B CARRIAGE RETURN This command returns the print h
15. n 7 bit Interface eels T3123 817 8 T8 T4 3 T2 T1 soi interface Dot Wire of Print Head Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin 10 Pin 11 Pin 12 Pin 13 Pin 14 Pin 15 Pin 16 Pin 17 Pin 18 Pin 19 Pin 20 Pin 21 Pin 22 Pin 23 Pin 24 DOJSOMNM BROUONJa Figure F 2 Pin relationship of the 16 bit graphics mode 116 Graphics Data 7 bit 1st Byte 2nd Byte 3rd Byte Interface mes GEEGEET QREERED Cree print Mesa slzlelslslslslllelzlelslelslzlillslzlelslelslsli E zom m oo Pin 22 Pin 23 Pin 24 Figure F 3 Pin relationship of the 24 bit graphics mode Graphics Data Dot Wire of lels14131311 7 bit Interface Print Head 3 Co Nao Pin 13 Figure F 4 Pin relationship of the 8x3 bit graphics mode 117 2 i 1 l B PRINTING 8 BIT GRAPHICS In 8 bit normal density graphics the graphic image is divided into dot columns each directly corresponding to the pin configuration in the print head Each dot column can be controlled by 1 byte of data As a result every bit in the byte corresponds to a particular pin in the print head Figure F 1 This mode which yields 180 dots per inch horizontally and up to 120 dots per inch vertically uses the following setup format Table F 1 Setup codes for the printer s four graphics modes
16. of our program lines 130 600 correspond to the eight horizontal sections of the graph In each line we have entered the pin firing values calculated from the intormation drawn on the graph The program used to create a picture fromthis data is actually quite simple Please follow along for a brief explanation of how it works LINE 20 LINE 30 LINE 40 LINE 50 LINE 60 In this statement we enter the codes to change line spacing to 10 120ths of an inch This causes the lines to just slightly touch each other but not to overlap You can experiment with line spacing in your graphics but in general overlapping lines will cause your picture to be distorted On the other hand if the line spacing is too wide your image will have un wanted gaps in it To adjust the line spacing in your graphic image just enter a different value in n 120ths ofan inch a higher value for wider spacing or a lower value for narrower spacing In this statement we set up the number of rows to print in our example eight by using tne BASIC for next loop Now we re ready to enter the code to set up the graphics mode we want to use The lt ESC gt Y sets up 8 bit graphics and the 60 and 0 are the values of n1 and n2 respectively This statement sets up the number of dot columnsthat will be contained in the image by using a BASIC nested for next loop Reads the data for a single column 123 Hs e ROT SEIT AS
17. rate Current loop 150 9 600 bits per second Word length 1 start bit 7 or 8 data bits 1 or 2 stop bits odd even or no parity Handshaking By ACK BUSY and XON XOFF signals selectable Signal Mark logic 1 3V to 15V or current on polarity Space logic 0 3V to 15V or current off B EEE 488 INTERFACE OPTIONAL k k k k k k k k k X x see Appendix H 128 APPENDIX INTERFACES This appendix contains the technical information necessary to connect the printer to your computer using each of the three possible interfaces parallel serial and IEEE 488 B THE PARALLEL INTERFACE Your printer uses a Centronics compatible parallel interface ca pable of transferring from 1 000 to 6 000 characters per second Externally supplied STROBE pulses accomplish synchronization of data transmission ACK and BUSY signals govern the handshaking between your computer and the printer Parallel interface uses a TTL compatible logic level Functions of the connector signals Pin 1 carries the STROBE pulse signal from the computer to the printer see Figure H 1 When the computer has data ready for the printer it sets this signal to low value for at least 0 5 microseconds When the printer sees this pulse on the STROBE pin it reads the data supplied by the computer on pins 2 9 Each of these lines carries one bit of information A logical 1 is represented by a high signal level and a logical 0 is represented by
18. so just press return gt to advance to the next category 96 Overprinting The Overprinting category will want to know how your printer backspaces Press C and from a list of three choices choose backspacing standard printer then press Y or lt return gt to confirm your choice Next you will be prompted to enter the backspacing code se quence Press C then type in 8h and finish by pressing the return key Boldfacing Your next category Boldfacing informs you directly of the correct number of strikes for boldface printing 2 So press C 2 and lt return gt Communications protocol If you are using the parallel interface no protocol is necessary for this printer For the code sequences used in the various serial in terface protocols please see Appendix H Printer driver If you have chosen Primary list device as your printer driver then the correct codes for that device will already be entered in this cat egory and no further input is necessary on your part Press re turn gt to exit this category Ribbon selection This category also does not apply to your printer so please press return to exit Vertical motion and Horizontal motion When you chose Automatic Installation for Specialty Printers the installation program automatically entered the necessary codes for these two categories No further input is necessary so just press return gt to pass through them uncha
19. take Ka x de S de A a ba za rd Ai ia A NM ki sar ENT LINE 70 Prints the data read in line 60 LINE 80 Continues the nested for next loop which causes all 60 columns in a row to be read and printed LINE 90 Causes a line feed LINE 100 Instructs the nested for next loop to continue to read and print subsequent rows until all eight rows have been printed LINE 120 Tells the printer to print the word smile underneath the graphic image When you ve run this program your result should be similar to the picture illustrated in Figure F 9 Now try running the same program again with the following minor changes to lines 90 and 110 ein line 20 change 10 to 15 ein line 40 change Y to K When your printer prints the new program it will look like this SMILE Figure F 10 Smiling in the 8x3 bit mode That s how easy it is to print a picture using 8x3 bit mode 8x3 bit graphics mode is similar to the 8 bit mode except that each bit in the data byte controls three pins not just one Thus the 8x3 bit mode will print the same image three times as wide and three times as dense as the one shown in Figure F 9 To print in the 8x3 bit mode remember just use lt ESC gt K to set up the mode and change the line spacing to 15 120ths of an inch We hope you enjoy experimenting with 16 bit and 24 bit modes too you just may unleash a creative streak you never knew you had k k k k k k k k 0 X x 124 IE A C OE
20. the printers bell S ESQ C O dunia a eut disable the paper out detecter SESS Onus e enable the paper out detecter lt ESC Dista reinitialize the printer 147
21. total control of the printer You ll see that its bit image graphics give you new capabilities in business applica tions computer art and even allows you to create your own alphabet When you program the printer to perform bit image graphics you literally control every pin on its 24 pin print head As a result you can print as many as 1 440 dots horizontally and up to 1 320 dots vertically on an 8 1 2 x 11 inch page m FOUR MODES FOR BIT IMAGE GRAPHICS The printer has four distinct bit image modes allowing you to print e8 bit graphics with 1 data byte controlling each column 16 bit graphics with 2 data bytes controlling each column e24 bit graphics with 3 data bytes controlling each column and e8x3 bit graphics in which each byte controls 3 columns of graphics data and each bit controls 3 pins of the print head The relationships between your graphics data and the pins on the print head are shown in Figures F 1 F 2 F 3 and F 4 for the four bit image modes Graphics Data 7 TSTSTSTST2 7 bit interface 311 8 bit Interface Dot Wire of Print Head Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin oO 0 O 000000000 NNNN CO TORN Scala zona Ne RN Figure F 1 Pin relationship of the 8 bit graphics mode Graphics Data tst Byte 2nd Byte Errepe ES ER ESE Ee epe spo
22. you can access this function by entering PW 98 You can program user functions 3 and 4 the same way you did for 1 and 2 employing any other feature that you wish to use By following these procedures you ll have successfully completed the WordStar installation program and will have up to four special features of the printer at your command k k k k k k k k ir x 99 MEMO Q O T APPENDIX ASC CODE CONVERSION CHART STANDARD ASCII CODES DECIMAL HEXADECIMAL 0 o No M BR ond NO NN MN MN NN do ers O MN OO Oo OO 00 01 02 03 04 05 06 07 08 09 0A OB 0C 0D OE OF 10 11 12 13 14 15 16 17 18 19 1A BINARY 0000 0000 0000 0001 0000 0010 0000 0011 0000 0100 0000 0101 0000 0110 0000 0111 0000 1000 0000 1001 0000 1010 0000 1011 0000 1100 0000 1101 0000 1110 0000 1111 0001 0000 0001 0001 0001 0010 0001 0011 0001 0100 0001 0101 0001 0110 0001 0111 0001 1000 0001 1001 0001 1010 CONTROL CHARACTER CHARACTER CTRL CTRL A CTRL B CTRL C CTRL D CTRL E CTRL F CTRL G CTRL H CTRL I CTRL J CTRL K CTRL L CTRL M CTRL N CTRL O CTRL P CTRL Q CTRL R CTRL S CTRL T CTRL U CTRL V CTRL W CTRL X CTRL Y CTRL Z lt NUL gt lt BEL gt BS HT LES VT FF CR S0 lt SI gt lt DC1 gt lt DO2 gt lt DC3 gt lt DC4 gt lt CAN gt STANDARD
23. 112 block graphics 113 114 international 113 Character string 47 CHR 47 61 Cleaning 54 Codes 17 19 ASCII17 19 decimal 19 hexadecimal 19 escape 19 control 19 Condensed print 34 65 Control codes 19 61 94 Custom installation 95 Cut sheet guide 4 E Decimal codes 18 DIP switches 7 57 109 110 Dot columns 118 Double strike printing 30 48 67 Draft quality mode 32 62 E Elite pitch 33 65 Emphasized printing 20 30 48 68 Entry slot 6 Escape codes 19 Expanded printing 46 48 a Form feed FF button 7 Front cover 5 Front cover open detector 6 Fuse 6 54 Fuse holder 6 E Graphics 120 Biock 113 114 Bit image 85 86 115 124 137 Hexadecimal codes 18 Horizontal tabs 43 83 Bi IEEE 488 interface 134 Incremental mode 94 Initialization code 93 Installation 95 Interface 127 136 parallel 127 129 serial 128 132 IEEE 488 129 134 connector 6 cable 13 International character sets 35 63 mi Letter guality mode 30 62 Line feed 7 button 7 12 codes 71 reverse 72 Line spacing 41 50 1 6th inch 73 1 8th inch 72 1 10th inch 73 n 60ths of an inch 74 n 120ths of an inch 74 Lotus 1 2 3 26 27 Macro instruction 35 89 defining 35 89 using 35 89 Margins 39 40 left and right 39 82 top and bottom 40 77 78 MBASIC 47 138 a On Line 6 7 button 7 lamp 6 overprinting 97 Bi Page length 40 76 Paper empty PE lamp 6 Paper out detector 5 92 Pause 6 button 6 lamp 6 mode 6 Pi
24. 252 254 Elite takes precedence over Emphasized Emphasized takes precedence over condensed B DEFINE MACRO INSTRUCTION This command cancels any existing macro instruction and re places it with a new macro defined by you Your maximum number of codes in this instruction is 16 The last character in each of the codes below is used to terminate the command CODE lt ESC gt lt RS gt HEX 1B 2B 4E DECIMAL 27 43 30 BASIC CHR 27 CHR 43 CHR 30 REFERENCE lt ESC gt Section 4 BE EXECUTE MACRO INSTRUCTION This command is used to execute your previously defined macro instruction CODE lt ESC gt HEX 1B 3F DECIMAL 2763 BASIC CHR 27 CHR 63 REFERENCE lt ESC gt lt RS gt Section 4 a Ai VALUE OF THE 8TH DATA BIT TO LOG This command allows users with a 7 bit interface to access those characters whose ASCII code is greater than 127 CODE lt ESC gt gt HEX 1B 3E DECIMAL 27 62 BASIC CHR 27 CHR 62 REFERENCE lt ESC gt lt ESC gt 89 E MUT VALUE OF THE 8TH DATA BIT TO LOG This command causes the printer to ignore the eighth data bit CODE lt ESC gt HEX 1B 3D DECIMAL 2761 BASIC CHR 27 CHR 61 REFERENCE lt ESC gt gt lt ESC gt m did THE VALUE OF THE 8TH DATA BIT AS This command cancels either setting of the 8th data bit causing the printer to use the value of the eighth data bit that is sent from th
25. 6 60 0110 0000 97 61 0110 0001 a l 98 62 0110 0010 b 99 63 0110 0011 c 100 64 0110 0100 d 101 65 0110 0101 e 102 66 01100110 f 103 67 01100111 9 104 68 0110 1000 h 6 105 69 0110 1001 z 106 GA 0110 1010 J 107 6B 0110 1011 k 108 6C 0110 1100 1 109 6D 0110 1101 m 110 6E 0110 1110 n 111 6F 0110 1111 O 112 70 0111 0000 p 113 71 0111 0001 q 114 72 0111 0010 s 103 STANDARD ASCII CODES DECIMAL HEXADECIMAL BINARY CHARACTER 115 73 0111 0011 s 116 74 0111 0100 t 117 75 0111 0101 u 118 76 01110110 v 119 77 01110111 w 120 78 0111 1000 x 121 79 0111 1001 y 122 7A 0111 1010 z 123 7B 0111 1011 124 7C 0111 1100 125 7D 0111 1101 126 7E 0111 1110 127 7F 0111 1111 DEL 128 80 1000 0000 129 81 1000 0001 130 82 1000 0010 131 83 1000 0011 132 84 1000 0100 133 85 1000 0101 134 86 1000 0110 135 87 1000 0111 lt BEL gt 136 88 1000 1000 lt BS gt 137 89 1000 1001 lt HT gt 138 8A 1000 1010 lt LF gt 139 8B 1000 1011 VT 140 8C 1000 1100 FF 141 8D 1000 1101 CR 142 8E 1000 1110 S0 143 8F 1000 1111 SI 144 90 1001 0000 145 91 1001 0001 lt DC1 gt l 146 92 1001 0010 lt DC2 gt 147 93 1001 0011 lt DC3 gt 148 94 1001 0100 lt DC4 gt 149 95 1001 0101 l 150 96 1001 0110 151 97 1001 0111 152 98 1001 1000 lt CAN gt 153 99 1001 1001 154 9A 1001 1010 155 9B 1001 1011 lt ESC gt 156 9C 1001 1100 157 9D 1001 1101 158 9E 1001 1110 lt RS gt i
26. 7 and n2 you ve set up the 8 bit graphics mode telling the printer how much data to expect per line Now you are free to specify the exact picture itself the m1 m2 etc of the sequence Figure F 5 shows that each pin on the print head is labeled with a value the topmost pin has the highest value and each pin corresponds to a particular value in descending order 118 Table F 2 Calculating the width of your graphic image IF THE NUMBER OF COLUMNS RANGES FROM THEN n7 IS AND n2 IS 1 to 255 256 to 511 x 256 512 to 767 x 512 768 to 1023 x 768 1024 to 1279 x 1024 1280 to 1440 x 1280 128 64 32 16 8 4 2 1 Figure F 5 Pin values for 8 bit graphics To fire say the second pin from the top you ll send the BASIC code CHR 64 You can fire several pins at once by adding their values and sending the sum total in a single BASIC CHR code Thus To fire the then send 1st 3rd and 4th gt the BASIC gt CHR 176 pins add their CHR code values 128 32 16 Here s a short program to show you how you can implement 8 bit graphics to make a simple zigzag image Figure F 6 NEW 10 PRINT GRAPHIC PATTERN 20 WIDTH LPT1 255 30 LPRINT CHR 27 CHR 89 CHR 94 CHR 1 40 FOR I 1 TO 25 50 FOR J lt 0 TO 6 60 LPRINT CHR 2 J m mae 119 70 NEXT J 80 FOR J 6 TO 0 STEP 1 90 LPRINT CHR 2 J 100 NEXT J 110 NEXT 1 120 WIDTH PITI 80 130 LPRINT AAAAAAAA
27. 8 o p 27 lt ESC gt Escape 49 1 1 30 RS End macro 50 2 2 31 US VFU sett ng 51 3 3 32 Space 52 4 4 33 53 B z This character may be different if you are using an international character set other than the USA set The characters for each set are shown on page 113 Decimal Character Decimal character 54 6 9b 4 Sa 55 7 7 92 NO MXN 56 8 8 93 57 9 9 94 v6 m 58 95 59 o 9 o 60 lt lt 97 a a 61 98 b b 62 gt gt 99 c c 63 7 100 d d 64 6 101 e e 65 A A 102 f f 66 B 8 103 g g 67 GE 14 h h 68 D D 105 i id 69 E 106 j J 70 F F 107 k k 71 G G 108 1 72 H H 109 m m 73 I I 110 n n 74 J ul 11 o o 75 K K 112 p bp 76 L L 13 q q 7 MM 114 r r 78 N N 15 s s 79 O O 116 t t 80 P P 117 u u 81 Q Q 118 v y 8 R R 119 W w 83 S S 120 x x 84 To of 121 Y y 85 U u 122 Z Zz 86 V V 123 E Ae 87 W y 124 i jo c 88 X X 125 p gt 89 Y Y 126 90 Z Z 127 DEL Delete These characters may be different ifyou are using an international character set other than the USA set The characters for each set are shown on page 113 112 International Character Sets If you want to access the international character sets you can ka get to them in either of two ways 1 position the DIP switches ac cording to Table D 2 in Appendix D or 2 use the appropriate escape code shown below in Figure E 3 Then enter tne decimal or hexa decimal codes for the character you wan
28. AAAAAAAAAAAAAAAAA Figure F 6 A zigzag pattern created with 8 bit graphics In line 30 of this program we selected normal density graphics and indicated that 350 characters of graphics data would follow 94 1 256 350 The loop between lines 40 and 110 is repeated 25 times this is what gives us the zigzag effect The loop from lines 50 to 70 creates the lines that slope up the loop between lines 80 and 100 prints downward sloping lines This isan example of plotting a very simple mathematical function to create a design Combining text and graphics It s also possible to mix text and graphics in one line This can be useful for labeling charts and graphs or even for inserting graphics into text Try adding these lines to the program 25 LPRINT WOW 115 LPRINT THIS IS GREAT If you run the program with these lines added you should get a printout that looks like this WOW LAAAAAAAAAAAAAAAAAAAAAAAAA THIS IS GREAT Figure F 7 Graphics pattern inserted within text There is one thing you must remember when you print this kind of program all graphics data must print on the same line The graphics command is turned off at the end of each line even if you have specified that more graphics codes will follow W PRINTING A DESIGN OR GRAPHIC PICTURE Since you control the firing of every pin you can print nearly anything that you can draw In our next example we ll demonstrate the printer s ability to plot computer art
29. ASCli CODES DECIMAL HEXADECIMAL BINARY CHARACTER 27 1B 0001 1011 lt ESC gt 28 1C 0001 1100 29 1D 0001 1101 30 1E 0001 1110 RS 31 1F 0001 1111 lt US gt 32 20 0010 0000 SP 33 21 0010 0001 34 22 0010 0010 35 23 0010 0011 36 24 0010 0100 37 25 0010 0101 38 26 0010 0110 amp 39 27 0010 0111 f 40 28 0010 1000 41 29 0010 1001 42 2A 0010 1010 bi 43 2B 0010 1011 t 44 2C 0010 1100 45 2D 0010 1101 D 46 2E 0010 1110 47 2F 0010 1111 48 30 0011 0000 0 49 31 0011 0001 1 50 32 0011 0010 2 51 33 0011 0011 3 52 34 0011 0100 4 53 35 0011 0101 3 54 36 0011 0110 55 37 0011 0111 7 56 38 0011 1000 S 57 39 0011 1001 9 58 3A 0011 1010 59 3B 0011 1011 60 3C 0011 1100 61 3D 0011 1101 62 3E 0011 1110 d 63 3F 0011 1111 64 40 0100 0000 e 65 41 0100 0001 A 66 42 0100 0010 B 67 43 0100 0011 68 44 0100 0100 P 69 45 0100 0101 70 46 0100 0110 F A a O STANDARD ASCII CODES DECIMAL HEXADECIMAL BINARY CHARACTER 71 47 0100 0111 G 72 48 0100 1000 H 73 49 0100 1001 I 74 4A 0100 1010 J 75 4B 0100 1011 K i 76 4C 0100 1100 L 77 4D 0100 1101 M 78 4E 0100 1110 N 79 4F 0100 1111 O dt 80 50 0101 0000 p 81 51 0101 0001 Q 82 52 0101 0010 R 83 53 0101 0011 S 84 54 0101 0100 T 85 55 0101 0101 U 86 56 0101 0110 V 87 57 0101 0111 W 88 58 0101 1000 x T 89 59 0101 1001 T 90 5A 0101 1010 lt 91 5B 0101 1011 92 5C 0101 1100 X 93 5D 0101 1101 5 94 SE 0101 1110 95 5F 0101 1111 m 9
30. ATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA 1 1 2 4 12 8 16 16 48 32 32 96 64 64 192 128 128 128 128 128 128 128 128 128 128 192 64 64 96 32 32 48 16 16 8 12 4 2 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 6 8 48 64 192 128 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 90 0 0 0 0 0 0 0 0 0 0 0 0 0 000500050030 129 192 54 48 8 6 1 0 0 0 0 0 7 57 195 5 5 9 9 17 17 33 33 65 65 255 153 165 197 177 255 65 65 33 33 17 17 9 5 2 0 0 2 5 9 17 17 33 33 65 65 255 177 197 1655 153 255 65 65 33 33 17 17 9 9 5 5 195 57 7 0 63 192 0 0 0 0 0 0 0 0 0 0 1 2 4 0 0 0 0 0 0 0 0 0 0 0 1 12 48 192 192 48 12 1 0 0 0 0 0 0 0 0 0 0 0 0 2 1 00 0 0 0 0 0 0 0 0 192 03 252 2 0 0 0 0 0 9 15 22 32 96 151 4 3 0 0 0 0 0 0 0 0 0 16 112 208 15 16 16 16 16 16 208 112 16 0 0 0 0 0 0 0 0 0 3 4 151 96 32 32 168 0 0 0 0 0 0 3 252 0 0 192 48 12 6 1 0 0 0 0 0 128 96 16 140 66 33 16 16 8 8 4 4 2 2 2 2 1 1 1 1 2 2 2 2 4 4 8 8 16 16 33 66 140 16 96 128 0 0 0 0 0 1 5 12 48 192 0 0 0 0 0 0 0 0 0 128 96 48 24 8 4 6 2 1 0 0 128 64 32 32 16 16 16 16 8 8 8 8 8 8 8 8 16 16 16 16 32 32 64 128 0 0 1 2 6 4 8 24 48 96 128 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 90 0 0 0 0 0 0 0 128 128 64 64 64 32 32 32 32 32 16 16 16 16 16 16 16 16 32 32 32 32 32 64 590 DATA 64 64 128 128 0 600 DATA 0 0 0 0 0 0 0 9 f LB M N SMILE 0 9 0 0 0 03 0 Figure F 9 Picture of a smile The data lines
31. CHR 27 CHR 89 CHR n1 CHR n2 CHR m1 CHRS 2 REFERENCE Appendix F B PRINT 16 BIT GRAPHICS This command switches the printer into its 16 bit graphics mode Please see Appendix F for more on the printer s graphics modes CODE lt ESC gt I1 A ng mt m2 HEX 1B 49 n1 n2 m1 m2 DECIMAL 27 73 n1 n2 m1 me uw BASIC CHR 27 CHR 73 CHR n1 CHR n2 CHR m1 CHR m2 REFERENCE Appendix F 85 B PRINT 24 BIT GRAPHICS With this command you can print high resolution 24 bit graphics Please see Appendix F for details CODE lt ESC gt V n1 n2 m1 m2 HEX 1B 56 n1 n2 m1 m2 ss DECIMAL 27 86 nt n2 m1 m2 BASIC CHR 27 CHR 86 CHR n1 CHR n2 CHR m1 CHR m2 REFERENCE APPENDIX F m PRINT 8X3 BIT GRAPHICS This command enables the 8x3 bit graphics mode which prints about three times as dense and three times as wide as simple 8 bit graphics Please see Appendix F for details CODE lt ESC gt K n1 n2 m1 m2 HEX 1B 4B n1 n2 m1 m2 DECIMAL 27 75 n1 n2 m1 m2 BASIC CHR 27 CHR 75 CHR n1 CHR n2 CHR m7 CHR m2 REFERENCE Appendix F 86 B SELECT MASTER PRINT MODE With this command you can select one of 16 unique print mode combinations shown in Table A 1 for the value of n You may choose for n any number between 0 and 255 This
32. EFERENCE lt ESC gt O Section 5 B CANCEL TOP AND BOTTOM MARGINS This command cancels both the top margin set by lt ESC gt r np and the bottom margin set by lt ESC gt N n CODE lt ESC gt O HEX 1B 4F DECIMAL 2779 BASIC CHR 27 CHR 79 REFERENCE lt ESC gt r n lt ESC gt N n Section 5 78 B SET VERTICAL TAB POSITIONS This command cancels all previous vertical tab positions and sets those defined at lines n1 n2 etc The maximum number of vertical tab positions you can set is 12 This instruction must be terminated with the NUL code CHR 0 Each vertical tab must be specified in ascending order CODE lt ESC gt B nf n2 0 HEX 1B 42 n1 n2 0 DECIMAL 27 66 n1 n2 0 BASIC CHR 27 CHR 66 CHR n1 CHR n2 CHRS 0 REFERENCE lt VT gt Section 5 B ADVANCE TO NEXT VERTICAL TAB POSITION This command causes to the paper to advance to the next vertical tab position orthetop ofthe page whichever comes first The vertical tab positions are set automatically at power on to lines 6 12 18 24 30 36 42 48 54 and 60 CODE VT HEX OB DECIMAL 11 BASIC CHR 11 REFERENCE lt ESC gt B n1 n2 0 lt ESC gt a n Section 5 79 B ADVANCE THE PAPER n LINES This command causes the paper to advance n lines but does not change any values of the vertical tab positions You may choose any number between 1 and 255 for
33. GRAPHICS MODE ESCAPE CODE SEQUENCE lt ESC gt Y n1 ne m1 m2 lt ESC gt n1 n2 mi m2 lt ESC gt V ni n2 mr m2 8x3 bit lt ESC gt K nf n2 m1 m2 Using this code sequence the n1 and n2 tell the printer how many bytes of graphics data measured in dot columns you are going to send per line The m1 m2 etc tell the printer exactly which pins to fire on each column We ll demonstrate this shortly m SPECIFYING THE NUMBER OF DOT COLUMNS To determine the values of nf and n2 you will need to calculate the width in dot columns of your graphics image and send this information to the printer To do this you ll have to convert the number of dot columns into two separate values using the formula given in Table F 2 This conversion is necessary because the max imum number you can send in one byte is 255 while normal density graphics mode can print as many as 1 440 columns across the page The formula shown in Table F 2 allows you to tell the printer exactly what your printing parameters will be specifying the exact number of bytes to represent dot columns In the formula x the number of dot columns in your graphic image thus if you have a total of 500 columns divide 500 by 256 Since 256 goes into 500 only once n2 1 n1 is the remainder of this division so n1 244 Specifying the graphics data When you have entered ESC gt Y n
34. NDED PRINT This instruction causes all subsequent printing to be in expanded type The size of the type is determined by the pitch in use at the time the command is sent PITCH NORMAL EXPANDED Pica 10 cpi 5 cpi Elite 12 cpi 6 cpi Condensed 16 7 cpi 8 3 opi CODE lt ESC gt W 1 Hu HEX 1B 57 01 DECIMAL 27 87 1 BASIC CHR 27 CHR 87 CHR 1 REFERENCE lt ESC gt WO Section 4 m 7 LINE EXPANDED PRINT Another code for expanded type activates this function for one line only Here are the codes CODE lt ESC gt lt SO gt E lt SO gt HEX 18 OE or OE 7 DECIMAL 2714 or 14 si BASIC CHR 27 CHR 14 or CHR 14 REFERENCE lt ESC gt W1 lt ESC gt WO 66 m CANCEL EXPANDED PRINT Resets the print size to the pitch in use before expanded print began CODE lt ESC gt WO HEX 1B 57 00 DECIMAL 27 87 0 BASIC CHR 27 CHR 87 CHR 0 REFERENCE lt ESC gt W 1 Section 4 m SELECT DOUBLE STRIKE PRINTING After this command is sent all characters will be printed in the double strike mode CODE lt ESC gt G HEX 1B 47 DECIMAL 2771 BASIC CHR 27 CHR 71 REFERENCE lt ESC gt H Section 4 m CANCEL DOUBLE STRIKE PRINTING This command returns printer to normal printing canceling the double strike mode CODE lt ESC gt H HEX 1B 48 DECIMAL 27 72 BASIC CHR 27 CHR 72 REFERENCE lt ESC gt G Section 4 67 m SELECT EMPHASIZED PRINTING T
35. a low signal level The computer must maintain these signals for at least 0 5 microseconds before and 0 5 microseconds after the STROBE pulse When the printer has successfully received the byte of data from the computer it sets the ACK signal pin 10 low for approximately 9 microseconds A high BUSY signal pin 11 reports when the printer is unable to receive data This signal will be high during data transfer when the printer is off line or when an error condition exists See the circuit example of these signals in Figure H 2 1 1 1 1 3 4 i 1 T More than 0 5Asec Figure H 1 Data transfer timing chart for the parallel interface Signal Name Circuit Example 74LS Compatible DATA 1 DATA 8 To Printer 74LS Compatible 1002 470pF X STROBE To Printer 74LS Compatible BUSY ACK From Printer O Figure H 2 Circuit example of the parallel interface Connector signals z The following chart describes the connector signals for the 36 pins of the parallel interface s 130 Table H 1 Parallel interface connector signals PIN SIGNAL NAME DIRECTION FUNCTION 1 STROBE IN The STROBE pulse is used to read data When this signal goes low data is read in The signals on pins 2 9 represent parallel data bits 1 8 Each signal is at a high level for logical 1 and at a low level fora logical 0 YO o0o0 amp Orn ae This 9 microsecond pulse
36. acknowledges the receipt of data e The BUSY signal indicates the operating condition of the printer When this ZE S signal goes low the printer is ready to accept data PAPER END This signal is used to indicate paper out status to the computer This signal is normally low when DIP switch 1 1 is off this ignal is held low i 13 SELECTED OUT The SELECTED signal is high when the printer is on line 14 15 N C Unused mi 16 SIGNAL GND Signal ground 17 CHASSIS GND Chassis ground 18 5VDC OUT External supply of 5VDC power max 50 mA 19 30 TWISTED PAIR Return line of various signals RETURN GND INPUT PRIME Resets all control circuits m A low signal level initializes the printer and clears buffer memory 32 ERROR OUT This signal goes low when the printer detects an error E 33 EXT GND External ground 34 35 N C Unused 36 N C TTL high level 131 E THE SERIAL INTERFACE OPTIONAL Your printer uses either an RS 232C level or 20mA current loop to provide serial communication with your computer See the circuit diagrams contained in Figure H 3 Using either interface it can transfer from 150 to 9 600 bits per second However the printer can communicate at 19 200 bits per second using only an RS 232C level interface lts word length is el start bit e7 or 8 data bits selectable e1 or 2 stop bits selectable Odd even or no parity selectable You can select from the foll
37. ational Character Set LESC gt p MM ONE proportional print SESQUED Dip redde cancel proportional print ESQ PO pica pitch e ESO Mu on aras elite pitch c RR condensed pitch lt ESC gt dc ines condensed pitch dc pb ND expanded pitch lt ESC gt lt SO gt oobis one line expanded print di oe RS cancel condensed print LDCAS E cancel expanded print ESC I Tas osse etiem expanded print ESC IM usui eene cancel expanded print Special Print Modes SESS cenientdiuten egt double strike print ESC SS acest st cancel double strike print e ESG o Enos elek emphasized print SESC cios cancel emphasized print LESC de underlined print ER A OE cancel underlined print SESGO Unai superscript printing ES be 10 NA UE TE subscript printing LESCO S A VRTI cancel superscript and subscript printing E A LS 145 LESO Ji a P incremental mode ES Oo cancel incremental mode LESC IB Tiara select unidirectional print ESC gt UY An cancel unidirectional print S ROVAN NR one line of unidirectional print LLES P advance paper to the next line gt NOE ENE advance paper to the top of the next form OM A E advance paper to the next vertical tab ESCSO LE Rh o 1 8th inch line spacing EDEN a a re 1710th inch line spacing A ta 1 6th inch line spacing SESD AOI rd n 60ths inch line spacing ESCD i ae cte sd Medie n 120ths inch line spacing ESTA QR iot ts one time line feed of n 120th inch ES SI TC nieto EI one time reve
38. ca 33 64 Pitch 20 32 pica 33 64 elite 33 65 condensed 34 65 Platen knob 5 Power cord 4 Power lamp 6 Power switch 6 Primary list device 20 Printer cleaning 54 driver 97 placement of 2 features 5 126 Print head 11 55 gap adjustment 11 replacement of 55 Proportional spacing 20 31 63 Protocols 97 134 a Release lever 5 Reverse form feed 76 Reverse line feed 50 72 Ribbon cassette 3 iu Self test 12 Specifications 125 128 Spreadsheets 23 27 Subscripts 42 50 69 SuperCalc 25 Superscripts 42 50 69 Surge protector 4 E Tabs 43 Horizontal 43 83 Vertical 43 79 Top of Form button 7 Tractor feed guides 6 Bi Underlined printing 31 49 68 Unidirectional printing 70 User functions 98 Vertical tabs 43 79 Vertical form unit VFU 80 81 VisiCalc 23 25 a XON XOFF protocol 134 139 Federal Communications Commission Radio Freguency Interference Statement This eguipment generates and uses radio freguency energy and if not installed and used properly that is in strict accordance with the manufacturer s instructions may cause in terference to radio and television reception lt has been type tested and found to comply with the limits for a Class B computing device in accordance with the specifications in Subpart J of Part 15 of FCC Rules which are designed to provide reasonable protection against such interference in a residential installation If this equipment does cause interference to ra
39. ce Bit image column scan Perforation skip Reversible paper feed Macro instruction Draft guality 80 characters per line pica 96 characters per line elite 132 characters per line condensed 40 characters per line pica expanded 48 characters per line elite expanded 66 characters per line condensed expanded Letter guality Proportional spacing 80 characters per line pica 40 characters per line pica expanded 11 or 12 inches pU qo ops qe r m PAPER AND RIBBON Single sheet 5 5 8 5 inches wide paper 0 07 0 10 mm thick 1 part Sprocket 4 10 inches wide feed paper 0 07 0 10 mm thick 1 part 0 28 mm thick 3 part copies Ribbon Black nylon ribbon cassette multistrike endless B PRINTER Width 420 mm 16 5 in Depth 368 mm 14 5 in Height 148 mm 5 8 in Weight 11 kg approx Power 120VAC 10 60 Hz approx 100 watts Operating 10 40 deg C 50 104 deg F environment 20 80 relative humidity noncondensing Paper feed Sprocket and friction feed system Buffer 1 line expandable to 128K m PARALLEL INTERFACE STANDARD Interface Centronics compatible Transfer 1 000 6 000 cps rate Synchron By externally supplied STROBE pulses ization Handshaking By ACK and BUSY signals Logic level TTL compatible B SERIAL INTERFACE OPTIONAL interface RS 232C levels 20mA current loop selectable Transfer RS 232C 150 19 200 bits per second selectable
40. command precedes other commands such as lt ESC gt G etc which set the print mode CODE lt ESC gt n HEX 1B 21 n DECIMAL 27 33 n BASIC CHR 27 CHR 33 CHR n REFERENCE ESC SO lt ESC gt lt SI gt lt ESC gt E lt ESC gt F lt ESC gt G lt ESC gt H lt ESC gt M lt ESC gt P lt ESC gt WO lt ESC gt W1 87 Table A 1 Options for the master print mode Expanded Pica Expanded Elite Expanded 88 38 Condensed 102 164 228 230 Elite takes precedence over Emphasized Emphasized takes precedence over condensed 40 42 44 46 104 106 1108 110 168 170 172 174 232 234 236 238 Elite takes precedence over Emphasized Emphasized takes precedence over condensed 16 18 80 82 144 146 208 210 17 19 21 23 25 27 29 31 81 83 85 87 89 91 93 95 145 147 149 151 153 155 157 159 209 211 213 215 217 219 221 223 20 22 84 86 148 150 212 214 48 50 112 114 176 178 240 242 49 51 53 55 57 59 61 63 113 115 117 119 121 123 125 127 177 179 181 183 185 187 189 191 241 243 245 247 249 251 253 255 52 54 116 118 180 182 244 246 DOUBLE STRIKE amp EMPHASIZED Elite takes precedence over Emphasized Emphasized takes precedence over condensed 56 58 60 62 120 122 124 126 184 186 188 190 248 250
41. dio or television reception which can be determined by turning the equipment off and on the user is encouraged to try to correctthe interference by one or more ofthe following measures e Reorient the receiving antenna e Relocate the computer with respect to the receiver e Move the computer away from the receiver e Plug the computer into a different outlet so that computer and receiver are on different branch circuits if necessary the user should consult the dealer or an experienced radio television technician for additional suggestions The user may find the following booklet prepared by the Federal Communications Commission helpful How to Identify and Resolve Radio TV Interference Problems This booklet is available from the U S Government Printing Office Washington D C 20402 Stock No 004 000 00345 4 For compliance with Federal Noise Interference Standard this equipment requires a shielded cable This statement will apply only for printers marketed in the U S A k k k k Xx Xx Xx ir kkk 140 1 WARRANTY STAR MICRONICS INC warrants this product to be free from defects in material and or workmanship for a period of one year if purchased after July 1 1984 from the original date of purchase by the buyer other than for the purpose of resale This warranty shall apply only if such original purchase by the buyer was made in the United States of America of Canada This warranty shall apply only if t
42. e computer CODE ESO 4 HEX 1B 23 DECIMAL 27 35 BASIC CHR 27 CHR 35 REFERENCE lt ESC gt gt lt ESC gt W DELETE THE LAST CHARACTER SENT This command deletes the last character received by the printer it is ignored if the last character received has already been printed or if the last character received was all or part of a function code CODE lt DEL gt HEX 7F DECIMAL 127 BASIC CHR 127 90 Kaji ili Z O NE eee reet DEBE REL pr sd rcr ve E id ds em a Me rc R GIU T TU CECI SPOT T E RE VOL END ERR PE NER A T a E Y RET k A z t B SET PRINTER OFF LINE This command causes the printer to set itself off line disregarding all subsequent characters and function codes with the exception of lt DC1 gt which returns the printer to its on line state When the ON LINE lamp on the printer is off the printer will not respond to lt DC1 gt CODE lt DC3 gt HEX 13 DECIMAL 19 BASIC CHR 19 REFERENCE lt DC1 gt W SET THE PRINTER ON LINE This code resets the printer to an on line state allowing it to again receive and process characters and function codes The ON LINE lamp must be lit for the printer to respond to this code CODE lt DC1 gt HEX 11 DECIMAL 17 BASIC CHR 17 REFERENCE lt DC3 gt B SOUND THE PRINTER BELL This command causes the printer tone to sound for approximately 1 4th second CODE BEL HEX 07 DECIMAL 7 BASIC CHR 7
43. ead to its home position at the left margin CODE lt CR gt HEX OD DECIMAL 13 BASIC CHR 13 REFERENCE Appendix D 81 Magy KE Se ee EE S ELI RI EC M n VIRI EET is Rs CRM ENTIRE ER nre D ds dm m TE B SET THE LEFT MARGIN You can use this instruction to set the left printing margin of your page This margin will be the home position of all subsequent carriage returns until itis canceled or changed The power on default for this position is 1 The value for n must be between 1 and 155 The maximum print position for pica type is 80 for elite 96 and for condensed type 132 CODE lt ESC gt mg HEX 1B 6C n DECIMAL 27 108 n BASIC CHR 27 CHR 108 CHR n REFERENCE lt ESC gt Q n Section 5 B SET THE RIGHT MARGIN Use this command to set the right printing margin on the page Any attempt to print beyond your chosen right hand margin will cause an automatic carriage return and line feed Choose any value between 1 and 155 CODE lt ESC gt Q n HEX 1B 51 n DECIMAL 27 81 n BASIC CHR 27 CHR 81 CHR n REFERENCE lt ESC gt n Section 5 82 B SET HORIZONTAL TAB POSITIONS With this command you cancel all previously set horizontal tabs and set new positions at lines n1 n2 etc There are 255 available tab positions Use O to terminate this command Each horizontal tab must be between 1 and 255 and must be specified in ascending o
44. ends a DC3 on TXD pin 2 to tell the computer that it must stop sending data When the printer is able to receive more data it sends a DC1 on the TXD pin The computer can then send more data until the printer sends another DC3 ACK protocol In the ACK protocol the printer sends an ACK ASCII 6 signal on the TXD pin each time it is prepared to receive a byte of data B THE IEEE 488 INTERFACE You may also use the IEEE 488 interface to connect printer to your computer This 8 bit parallel interface uses a TTL compatible logic level and is capable of transferring characters at rates of up to 1 megabyte per second Its transfer system is governed by a three wire handshaking protocol illustrated in Figure H 4 Data Wait 1 NRFD Listener LEA Data Processing Data invalid DAV Talker Data Valid i l N Data Reception Complete i NDAC Listener Data not yet received or currently being received Figure H 4 Data transfer timing chart for the IEEE 488 interface 134 Signal Name Circuit Example 74LS Compatible DIO 1 DIOS To Printer 7438 Compatible NRFD From Printer 74LS14 Compatible DAV To Printer 7438 Compatible NDAC From Printer Figure H 5 Circuit example of the IEEE 488 parallel interface 135 Table H 3 Connector signals for the IEEE 488 interface PIN SIGNAL NAME DIRECTION FUNCTION Th
45. ese signals represent IN parallel data bits 1 4 DIO 3 IN Each signal is at a low DIO 4 IN level for a logical 1 and at a high level for logical 0 N C Unused 5 6 Data Valid IN Indicates valid data DAV Not Ready For OUT Indicates the completion Data NRFD of preparation for data reception 8 Not Data OUT Indicates the completion Accepted NDAC of data reception 9 Interface IN lnitializes the Clear IFC interface Attention ATN IN Indicates that data on the data bus is either an address or a command Shield These signals represent 13 DIO 5 IN parallel data bits 5 8 14 DIO 6 IN Each signal is at a low 15 DIO 7 IN Level for a logical 1 and 16 DIO 8 IN a high level for a logical 0 12 SHIELD 17 Remote Enable IN Specifies remote local REN 18 23 GND Ground 24 LOGIC GND Logic ground k k k k k k k k k X X 136 INDEX m ACK protocol 134 Adjusting the print head gap 11 Advance paper 71 ASCII codes 17 19 101 107 introduction to 17 conversion chart 101 107 Hi Back cover 5 Backspace 84 Bail lever 5 BASIC 47 61 Bell 91 Bit image graphics 115 124 8 bit 85 118 16 bit 85 118 24 bit 86 118 8x3 bit 86 118 Block graphics characters 113 114 Boldface 20 97 BUSY lamp 6 BUSY signal protocol 134 Buffer 6 Buffer case 6 bi Carriage return 81 Character sets 111 114 letter guality 111 112 draft guality 111
46. f an inch for the remainder of the line It does not change the current value of the line spacing and it does not cause a carriage return You may substitute for n any number between 0 and 255 CODE lt ESC gt Jm HEX 1B 4A n DECIMAL 27 74 n BASIC CHR 27 CHR 74 CHR n REFERENCE lt ESC gt 0 lt ESC gt 1 lt ESC gt 2 lt ESC gt a n lt ESC gt A n lt ESC gt 3 n lt ESC gt j n B SEND A ONE TIME ONLY REVERSE LINE FEED OF n 120THS OF AN INCH You can use this command to reverse the paper n 120ths of an inch It does not change the current value of the line spacing and it does not cause a carriage return You may choose a value between O and 255 CODE lt ESC gt j n HEX 1B 6A n DECIMAL 27 106 n BASIC CHR 27 CHR 106 CHR n REFERENCE ESC 0 ESO 1 lt ESC gt 2 lt ESC gt a n lt ESC gt An lt ESC gt 3 n lt ESC gt d n 75 Mi PEED CF PAPER TO TOP OF NEXT PAGE FORM The length of a page selected by the form feed is set either through DIP switch 1 2 or through various codes listed below CODE lt FF gt HEX 0C DECIMAL 12 BASIC CHR 12 REFERENCE lt ESC gt C n lt ESC gt COn E REVERSE PAPER TO TOP OF CURRENT PRINTING PAGE REVERSE FORM FEED This command causes the printer to reverse the paper to the top line of the page CODE ESC FF HEX 1B 0C DECIMAL 27 12 BASIC CHR 27 CHR 12 REFERENCE ESC C n
47. fer fills and on when the printer is ready to receive data 13 S GND Signal ground 14 16 N C Unused 17 TTY TXDR Indicates the signal line return of the 20mA current loop for data transmission 18 TTY RXDR Indicates the signal line return of the 20mA current loop for data reception 19 TTY RXD IN Indicates the signal line of tne 20mA current loop for data reception 20 DTR OUT The DTR data terminal ready pin is on when the printer is ready to receive data 23 TTY RXDR Indicates the signal line return of the 20mA current loop for data reception 24 TTY TXD OUT indicates the signal line of 20mA current loop for data transmission 25 TTY RXD IN Indicates the signal line of the 20 mA current loop for data reception 133 Serial busy protocols In these protocols the printer uses DTR pin 20 and REV CH pin 11 to signal to the computer when it is able to accept data These pins go on when the printer is ready to accept data In the 1 byte mode they go off after each character is received In the 1 block mode they go off only as the printer buffer approaches capacity In both cases they stay off if the buffer is too full to accept more data XON XOFF protocol This protocol uses the ASCII characters DC1 and DC3 sometimes called XON and XOFF respectively to communicate with the com puter When the printer buffer approaches capacity the printer s
48. he product fails to function properly under normal use Should this product fail to be in good working order anytime during the one year warranty period Star Micronics Inc will at its sole option repair or replace this product at no additional charge except as set forth below The forgoing is STAR MICRONICS INC sole responsibility under this warranty and any liability for incidental or consequential damages is expressly disclaimed Repair parts and replacement products shall be fur nished on an exchange basis and shall be either new or recondi tioned All replaced parts and products shall become the property of STAR MICRONICS INC Warranty coverage will not be granted if in the sole opinion of STAR MICRONICS INC the defect or malfunction was caused by accident abuse or misuse neglect improper packing or improper modifications service by other than an authorized STAR service center or where the serial number or rating label has been removed defaced or altered Requests for warranty service shall include the buyer s purchase receipt or other valid proof of date of original consumer purchase including the serial number of the product when a request for war ranty service is made The buyer is responsible for returning the STAR product properly packaged in its original container or an equivalent to the nearest authorized STAR service center or to the dealer from whom the product was purchased Any postage insurance or 141
49. his command causes all subsequent characters to be printed in the emphasized mode CODE lt ESC gt E HEX 1B 45 DECIMAL 27 69 BASIC CHR 27 CHR 69 REFERENCE lt ESC gt F Section 4 B CANCEL EMPHASIZED PRINTING Returns normal printing canceling the emphasized print mode CODE lt ESC gt F HEX 1B 46 DECIMAL 27 70 BASIC CHR 27 CHR 70 REFERENCE lt ESC gt E Section 4 B SELECT UNDERLINING After this command is given all characters will be underlined until this function is canceled CODE lt ESC gt 1 HEX 1B 2D 01 DECIMAL 27 45 1 BASIC CHR 27 CHR 45 CHR 1 REFERENCE lt ESC gt 0 Section 4 68 po ro r B CANCEL UNDERLINING After this code is sent underlining will be canceled CODE lt ESC gt 0 HEX 1B 2D 00 DECIMAL 27 450 BASIC CHR 27 CHR 45 CHR 0 REFERENCE lt ESC gt 1 Section 4 m SELECT SUPERSCRIPTS With this command all subseguent characters are printed as superscripts until this function is canceled CODE lt ESC gt SO HEX 1B 5300 DECIMAL 21 830 BASIC CHR 27 CHR 83 CHR 0 REFERENCE lt ESC gt S1 lt ESC gt T Section 5 B SELECT SUBSCRIPTS This code causes all subseguent characters to be printed at the subscript level until this function is canceled CODE lt ESC gt S1 HEX 1B 5301 DECIMAL 27 831 BASIC CHR 27 CHR 83 CHR 1 REFERENCE lt ESC gt S0 lt ESC gt T Section 5 69 WARS oi e
50. ing in WordStar you can call up this function simply by typing in PQ Begin by pressing C to change the status of user function 1 WINSTALL will present you with an explanation of how to enter three different kinds of codes ASCII decimal and hexadecimal In this particular installation program the method described for entering ASCII codes can be used to enter both escape codes and control codes for each character in the code sequence n epress eenter the character itself and epress return The code sequence to activate expanded print is lt ESC gt W 1 to enter this code in WordStar type in ESC gt lt return gt W return gt 1 lt return gt lt return gt WordStar will next read back to you the hexadecimal form of this code 1B 57h 1h Oh the lowercase h denotes hexadecimal nu merals and the Oh means that the fourth space remains empty You can cneck the hexadecimal code displayed on your screen with the hexadecimal code for expanded print in Appendix A of this ma nual If they match you ll know that you have entered the code correctly Press Y or return to confirm your choice You will next be presented with WordStar user function 42 Here you ll want to enter the code to cancel expanded print You can enter the code to cancel expanded print lt ESC gt W 0 using the same method you employed for user function 41 At a later time when you are word processing with WordStar
51. n you will provide concerning the printer From this menu your choice is Automatic Installation for Specialty Printers which will lead you through each individual category under the heading All printers in addition it will lead you through the categories for Specialty printers only Printer Name Your first category is an easy one the optional Printer Name If this is your first installation of WordStar there will be a blank space next to the words Current name is Press C to change this status and type in your printer s name Printer lnitialization This important category tells WordStar the exact code seguence needed to communicate with your printer The seguence is currently empty so press C to change this status then enter the following hexadecimal numbers in the exact order shown here press the return key when you see the word lt return gt OD return 1B return 40 lt return gt 1B return 34 return 1B return 1E return 09 return 1B return 1F return OD return 00 return 00 return 00 return 00 lt return gt 00 lt return gt lt return gt When you re finished entering the initialization code press Y or lt return gt to confirm your choices Printer De initialization You will automatically advance to this category when you have finished entering the information concerning printer initialization No de initialization code is needed for your printer
52. nged Print modes This category asks for the code sequences of the backward and forward print modes You should also passthrough these sequences unchanged Print phantom characters This category does not apply to your printer so press return to pass through it You will be returned to the Printer Installation Menu and may now enter the special features of the printer that you ll want to use on a regular basis emphasized expanded and underlined printing or any of the other features youve iearned about in this book 97 Ja SS E A A AE RS A E e os A AA TR a k di ea SN ed B USER FUNCTIONS Once you have entered them you ll be able to call up each of these features from the WordStar Print Menu under the heading User Patches You can enter these features into WordStar by choosing the option User defined functions from the Printer Installation Menu User function 1 will appear on your screen WordStar allows you four separate user functions each of which represents a feature of the printer and requires a specific code Now remember that most printer features need both a code to turn them on and a code to turn them off So you will need two user functions for say expanded print Using expanded print as a typical feature you might want to install lets proceed with user function 1 Before we do however please note that function 1 is given the designation PQ when you are word process
53. nos Dona APPENDIX TECHNICAL SPECIFICATIONS The following specifications are subject to change without notice B PRINTING Method Serial impact dot matrix Speed Draft quality 144 cps in elite 120 cps in pica 78 cps in condensed Letter quality 47 cps in pica 54 cps in proportional printing Direction Bidirectional logic seeking Unidirectional in LQ and graphics modes Paper feed Sprocket or friction feed 10 lines per second at 1 6th inch line spacing Line spacing 6or 8 lines per inch switch and software selectable Character set Software selectable in increments of n 120ths of an inch 96 Letter Quality characters 99 International LQ characters 96 Draft Quality characters 99 International DQ characters 50 Block graphic characters Character matrix Character fonts Special features Column width Form length 126 24 dot x 13 dot standard with true descenders 30 dot x 18 dot block graphics 24 dot x 34 dot LO characters 24 dot x 14 36 dot proportional LO characters 8 dotx 1440 dot 8 bit graphics 16 dot x 1440 dot 16 bit graphics 24 dot x 1440 dot 24 bit graphics 24 dot x 1440 dot 8x3 bit graphics Pica 10 cpi Elite 12 cpi Condensed 16 7 cpi Proportional Expanded 5 6 and 8 35 cpi and proportional Emphasized Double strike Self test Continuous underline Backspace Vertical and horizontal programmable tabs Left and right margin set 7 or 8 bit selectable interfa
54. of your own design The best way to start is to lay out your image on graph paper You can print eight rows seven with a 7 bit interface of dot columns with each pass of the print head so begin by drawing a heavy hor 120 izontal line every eight rows on your graph paper The dot columns are represented by the column of eight blocks between the horizontal lines Each of the blocks on the graph represents a pin on the print head It may be helpful to write the pin values 128 64 32 etc down the left side of each row Now you can use a pencil or felt tip marker to draw the picture you want on the graph paper Figure F 8 After you have filled in the dots that you want to print add up the values of each column of dots the sum total represents one byte Figure F 8 Planning your graphic design on graph paper In the program below we have taken the graphics information from the design in Figure F 8 and put it into BASIC data statements ue NEW 10 WIDTH LPT1 255 20 LPRINT CHR 27 CHR 51 CHR 10 30 FOR ROW 1 TO 8 40 LPRINT CHR 27 Y CHR 60 CHR 0 50 FOR COLUMN 1 TO 60 60 READ X 70 LPRINT CHR X 80 NEXT COLUMN 90 LPRINT CHR 10 100 NEXT ROW 110 LPRINT 120 LPRINT SMILE 130 DATA 0 0 0 0 0 0 0 0 0 0 DO PSPSPS 121 580 122 DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA D
55. owing four handshake modes eSerial BUSY 1 byte mode eSerial BUSY 1 block mode eACK mode eXON XOFF mode A mark or ON logical 1 generates a signal of 3V to 15V A space or OFF logical 0 generates a signal of 3V to 15V Line Driver MC1488L 75188 or eguivalent TTY TXD TTY TXDR TTY RXD Line Receiver MC1489L 75189 or equivalent Optcoupler TTY RXDR For RS 232C For 20mA Current Loop Figure H 3 Circuit diagrams of the serial interface 132 Table H 2 Connector signals for the serial interface PIN SIGNAL NAME DIRECTION FUNCTION 1 F GND Frame ground 2 TXD UT The TXD transmit data signal carries data from the printer O 3 RXD IN The RXD receive data signal carries data to the printer 4 RTS OUT The RTS request to send signal is on when the printer is ready to receive data 5 CTS IN The CTS clear to send signal is on when the computer is ready to send data 6 DSR IN This signal line is used to check if the printer is ready for operation 7 S GND Signal ground When the DCD data carrier detect signal is on the receive signal is within a specified range 9 TTY TXDR This pin indicates the signal line return of 20mA current loop for data transmission 10 TTY TXD OUT Indicates the signal line of 20mA current loop for data transmission The REV CH reverse channel pin is the signal line for busy protocols This pin goes off when the buf
56. rder CODE lt ESC gt D n1 n2 0 HEX 1B 44 n1 n2 00 DECIMAL 27 68 nf n2 0 BASIC CHR 27 CHR 68 CHR n7 CHR n2 CHR 0 REFERENCE ESC b n HT Section 5 B ADVANCE TO NEXT HORIZONTAL TAB This command moves the print head to the next available hori zontal tab position Horizontal tabs are set at power on to positions 9 17 25 33 etc to the maximum print position CODE HT HEX 09 DECIMAL 9 BASIC CHR 9 REFERENCE lt ESC gt D nf n2 0 Section 5 83 1 1 E SKIP HORIZONTAL TAB POSITIONS Causes the print head to advance n print positions to the right It does not however change the current values of the horizontal tabs You may choose any number for n between 1 and 255 CODE lt ESC gt b n HEX 1B 62 n DECIMAL 27 98 n BASIC CHR 27 CHR 98 CHR n REFERENCE lt ESC gt D n1 n2 0 B MOVE THE PRINT HEAD BACK ONE POSITION BACKSPACE Shifts the print head one column to the left This command can be used to overstrike characters CODE lt BS gt HEX 08 DECIMAL 8 BASIC CHR 8 REFERENCE Section 2 84 B PRINT 8 BIT GRAPHICS This command selects the 8 bit graphics mode Please see Ap pendix F for a detailed explanation of this mode CODE lt ESC gt Y nf n2 m1 m2 HEX 1B 59 nf n2 ml ma s DECIMAL 27 89 n1 n2 m1 m2 BASIC
57. rse line feed of n 120th inch EDU T t eaten debts set page length to n lines TESGC gt OSA set page length to n inches SES p aa bine set top margin ES a set bottom margin LESC Osasuna dais cancel top and bottom margins LESC gt A AAA set left margin LESC QU io cab set right margin SESC gt B n1 ai set vertical tabs lt ESC gt D n1 n2 0 set horizontal tabs SESC gt A Dis advance page n lines HENARES o lcd reverse the paper one line AS e AAA reverse the paper to top of the page LUS CN set the vertical form unit VFU AAA select VFU channel AE A skip n print positions LGR rar iio carriage return SALE ia Oe OR advance the paper to the next horizontal tab o Mae back space 146 p Graphics Controls lt ESC gt Y NI n2 MI I is 8 bit graphics mode lt ESC KK n2 md Bg en 8x3 bit graphics mode lt ESC gt I ng n2 mt CHI rats 16 bit graphics mode SESO VI2 mt me eosam 24 bit graphics mode Macro Instruction Commands lt ESC gt SRS ia define macro NO execute macro Other Commands ADOS daa set printer off line DCS Cd i set printer on line lt BEL SS unit sound printer bell LCAN C delete the last printable DELAS rato ene character sent LESC me NT sets 8th bit to a logical 1 LESC DS sets 8th bit to a logical 0 LESC Hnr accepts bit to a logical 0 lt ESC SY Orci suspense ioe disable the printers bell ESC A NR Qvae enable
58. se enter it in its uppercase form and vice versa a RR eh Re Cee dt rs PT UI Sg ee Es NUES eae UEM i FONT STYLES AND PRINT CONTROLS a SELECT THE DRAFT OUALITY DO CHARACTER This code switches the printer to the draft guality character set You can also access the DO set by turning DIP switeh 1 5 on CODE lt ESC gt 5 HEX 1B 35 DECIMAL 27 53 BASIC CHR 27 CHR 53 REFERENCE lt ESC gt 4 Section 4 H dd THE LETTER QUALITY LQ CHARACTER This command switches the printer to the LO character set You may also set LQ as the power on default by turning DIP switch 1 5 off See Appendix D CODE lt ESC gt 4 HEX 1B 34 DECIMAL 27 52 BASIC CHR 27 CHR 52 REFERENCE lt ESC gt 5 Section 4 62 B SELECT AN INTERNATIONAL CHARACTER SET This command selects one of eight international character sets determined by the value of n as shown below You can also select a particular International Character Set as a power on default To do this please turn to Appendix D DIP Switches CODE lt ESC gt R n HEX 1B 52 n DECIMAL 27 82 n BASIC CHR 27 CHR 82 CHR n USA 0 France 1 Germany 2 England 3 Denmark 4 Sweden 5 ltaly 6 Spain 7 B SET THE PROPORTIONAL SPACING In the letter quality mode this command causes all subsequent printing to be done in proportional spacing CODE lt ESC gt p 1 HEX 1B 70 01 DECIMAL 27 112 1 BASIC CHR 27 CHR 112 CHR 1
59. t as illustrated in the chart m Decimal USA England Germany Denmark France Sweden Italy Spain 1 35 4 bi 4 4 H R a 64 a 8 e g i e 91 f ES amp A j i 92 G G 6 X K 93 1 8 A 8 e amp 1 94 di d B gi D di L 96 3 la k x c 123 e 4 g a m 124 c 6 e 5 O A 125 e 1 a e 126 z P 5 ii 1 t m BLOCK GRAPHICS CHARACTER SET The codes for block graphics characters are shown below The printer always uses unidirectional printing when it prints block graphics Decimal Character Decimal Character 176 E 192 L 177 193 A 178 194 T 179 195 m 196 s 181 1 197 182 198 A 183 199 184 200 E 185 201 186 1 202 4 187 203 E 188 204 j 189 5 205 190 i 206 4 191 E 207 m 113 Decimal Character 208 209 210 211 212 213 214 215 216 114 9 Decimal Character 217 218 219 220 221 222 223 224 225 k k k k k kok k k Xx k J Zao SB APPENDIX DESIGNING BIT IMAGE GRAPHICS In Appendix E we showed you the many block graphic characters provided by the printer You can use these characters to create bar graphs pie charts or just about any kind of graphic image you can think of In addition to block graphics we d like to introduce you to bit image graphics for the truly imaginative user who will settle for nothing less than
Download Pdf Manuals
Related Search
Related Contents
il manuale tematico della pietra インスリンペン型注入器とその注射針 ダウンロード - 社団法人・日本消火装置工業会 Samsung AGE1103TST/XPE Manual de Usuario Hoyer HCL 6_E - BEP MCB Medicenter OPERATION MANUAL & SPARE PARTS LIST Conceptronic CS7USB2 GE Profile JKP18 Electric Single Oven Copyright © All rights reserved.
Failed to retrieve file