Epson LQ-1000 User Manual - Page 116
L0 For X=70 To, Lprint Chr$x: Next X, Lprint Chr$27e, Lprint Sample Text
View all Epson LQ-1000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 116 highlights
Therefore, if you run the following BASIC program while your LQ is in the hex dump mode, you get the printout below it. The printer will print all but the last line and then stop. Press the ON LINE button to print the last line. l0 FOR X=70 TO 73 20 LPRINT CHR$(X): NEXT X 30 LPRINT CHR$(27)"E" 40 LPRINT "Sample text" 50 LPRINT CHR$(27)"@" 4 6 0D 0A 4 7 0D 0A 4 8 0D 0A 4 9 0D 0A 18 4 5 0D 0 A 5 3 6 1 6 D 7O 6C 6 5 2 0 7 4 6 5 7 8 7 4 0 D 0 A 1B 4O 0 D 0A F..G..H..I...E.. Sample text... @. You can consult Appendix B to find the meaning of the hexadecimal codes. The following explanation of the first line will put you on the right track for using the hex dump mode. The first code in the first line is hex 46 (the same as decimal 70), which is the code for "F"; therefore "F" is printed in the first position in the guide section. Then, because there is no semicolon in line 20, BASIC sends a carriage return and a line feed, hex codes 0D and 0A. Each of these is represented by a dot in the guide section. The program then sends the hex codes 47, 48, and 49, with each followed by a carriage return and line feed. When the program gets to line 30, it sends ESCape "E" and a carriage return and line feed. These are hex codes lB, 45, 0D, and 0A, which are represented in the guide section by a dot, an E, and two more dots. Now you can follow a hex dump printout on your own. Some computer systems change one or more codes when sending them to the printer. The ability of the LQ to dump in hexadecimal lets you determine which codes are creating problems for your system. A hex dump printout of a program shows you exactly what the printer is receiving, regardless of what the computer is sending. The D-5