|
Resumen del manual
Therefore, when calculating the value of each column of graphics the value of bit 7 (which is 64) must be added to the value of the print wires. The resulting value for column 1 is then 127 (63 plus the value of bit 7). 4-45 Column 2 contains no dots and therefore column 2 has a value of 64 (0 plus bit 7). This is also true for columns 3,4 and 5. In column 6 all six print wires are fired so column 6 has a value of 127 (63 plus bit 7). Columns 7,8,9,10 and 11 also have a value of 127. In column 12 only the top two print wires are fired so column 12 has a value of 112 (48 plus bit 7). Column 13 has a value of 76 (print wires 3 and 4 are fired). Column 14 has a value of 67 (print wires 1 and 2 are fired). The procedure of determining the value for every column must be performed for each of the six lines. The value for each column (in parenthesis) in lines 2 through 6 is given below. NOTE The values given below include the value of bit 7. Line 2. Column 1, (127); columns 2 through 5, (64); columns 6 through 11, (127); columns 12,13 and 14, (64); column 15, (96); column 16, (88); column 17, (76); column 18, (66); column 19, (67); column 20, (65). Line 3. Column 1, (127); columns 2 through 5, (64); columns 6 through 11, (127); columns 12 through 15, (64); columns 16 through 21, (127); column 22, (80); column 23 and 24, (72); column 25 and 26, (68); column 27 and 28, (66); column 29 and 30, (65). Line 4. Column 1, (127); columns 2 through 5, (64); columns 6 through 11, (127); columns 12 through 15, (64); columns 16 through 21, (127); column 22 through 25, (64); column 26 through 31, (127); columns 32 and 33, (96); columns 34 and 35, (80). Line 5. Column 1, (127); columns 2 through 5, (64); columns 6 through 11, (127); columns 12 through 15, (64); columns 16 through 21, (127); column 22 through 25, (64); columns 26 through 31, (127). Line 6. Column 1, (127); columns 2 through 5, (65); columns 6 through 11, (127); columns 12 through 15, (65); columns 16 through 21, (127); column 22 through 25, (65); columns 26 through 31, (127); columns 32 through 35, (65). In order to send the value for each column of graphics and print the figure, the user must first enter DS-180 graphics mode. NOTE Feature Number 49 must be enabled in order to enter DS-180 graphics. See Paragraph 2.5.2 DS-180 graphics mode is entered by sending a CONTROL FS (CHR$(28) in BASIC) to the printer. The printer will remain in the graphics mode until commanded to exit. Except for FS, ETX, GS and the line terminator each byte must have bit 7 set to 1 to be a legal graphics byte. Each line of graphics is terminated by receipt of an ASCII number 0 through 9. This code terminates the graphics line and advances the paper “n” dot increments where “n” equals the single digit line terminator 0 through 9. The forms control alignment may be maintained when in DS-180 graphics. Top-of-form, perforation skipover and vertical tabs will be executed as programmed. A horizontal indent may be programmed by sending the sequence ;nnn where “nnn” equals an ASCII decimal number. The indent will be “nnn” horizontal dot positions from the left margin. Example: PRINT";25" causes an indent of 25 dot positions (1/3 inch). This sequence may be sent immediately after the FS code or after the line terminator. The indent command sequence must immediately precede a printable graphics byte. To exit DS-180 graphics the user must send CONTROL GS or ONTROL ETX. Exiting graphics using the GS control code corrects for any variations in the line feed boundary caused by the graphics line terminator. Exiting graphics using the ETX control code does not correct the line feed boundary. The ETX control code must be used to print ASCII characters and graphics on the same line. (See sample program on page 43) The information to print Figure 4.12 can now be sent to the printer. Make certain Feature Number 49 is enabled before attempting to enter graphics mode. Sending CHR$(28) instructs the printer to enter graphics. This is followed by the values for the columns in line 1. If the value for each column is entered individually it will appear as follows: CHR$(127);CHR$(64);CHR$(64);CHR${64);CHR$(64);CHR$(127);CHR$(127); CHR$ (127 ) ; CHR$ (127) ;CHR$(127) ;CHR$(127) ;CHR$(112> ;CHR${76) ;CHR$(67) ; The graphics line is terminated with a “6" which advances the paper by 6 dot increments. The printer will automatically perform a carriage return. The graphics data for lines 2 through 6 is entered in the same manner. A sample graphics program is provided on page 4.44. Notice that the sample is made up of diamonds formed by the bit pattern sent to the printer in statement 230 of the program. The value for each column which makes up the diamond is shown in Figure 4.13. NOTE Some systems are designed to automatically perform a carriage return and line feed after receiving 132 bytes. In order to complete a full line of graphics (which typically exceeds 132 bytes), this feature must be d...
Otros modelos de este manual:Impresoras - 41AY89AR777 (6.2 mb)