WIDTH statements
Some software (including most versions of BASIC) automatically
inserts carriage return and line feed codes after every 80 or 130
characters. This is usually no problem with text, but it can spoil your
graphics. Two extra columns of graphics are printed in the middle of the
ones you send, and are left over and printed as text.
In some versions of BASIC you can prevent unwanted control codes
in graphics by putting a WIDTH statement at the beginning of all
graphics programs. The format in many forms of BASIC is either
WIDTH “LPTI:“, 255 or WIDTH LPRINT 255. Check your software
manual for the proper format.
Printing taller patterns
The next example shows how several lines of graphics can be formed
into a figure taller than eight dots. It uses programming techniques for
producing textured or repetitive patterns.
The program is listed below. The lines inside each pair of FOR and
NEXT statements have been indented so that you can see how the
program works; the spaces are not needed for the program to run.
If you run the program, you will see how it combines six print lines
into a pattern.
There are five basic steps that the program goes through to produce
this kind of pattern.
Graphics and User-defined Characters
6-7
Summary of Contents for EX-1000
Page 1: ......
Page 11: ......
Page 29: ...1 18 Setting Up the Printer ...
Page 38: ......
Page 46: ...3 8 Using the EX with Application Programs ...
Page 51: ......
Page 57: ...5 6 EX Printer Features ...
Page 76: ......
Page 81: ...Command Summary A 5 ...
Page 82: ...A 6 Command Summary ...
Page 121: ......
Page 123: ...Table B 1 Epson mode characters B 2 Character Tables ...
Page 124: ...Table B 1 continued Character Tables B 3 ...
Page 125: ...Table B 1 continued B 4 Character Tables ...
Page 126: ...Table B 1 continued Character Tables B 5 ...
Page 127: ...Table B 1 continued B 6 Character Tables ...
Page 128: ...Table B 1 continued Character Tables B 7 ...
Page 129: ...Table B 1 continued B 8 Character Tables ...
Page 133: ...Table B 4 IBM printer emulation mode characters B 12 Character Tables ...
Page 134: ...Table B 4 continued Character Tables B 13 ...
Page 135: ...Table B 4 continued B 14 Character Tables ...
Page 137: ...Table B 4 continued B 16 Character Tables ...
Page 139: ...Table B 4 continued B 18 Character Tables ...
Page 151: ...D 8 Problem Solving and Maintenance ...
Page 157: ...E 6 Defaults and DIP Switches ...
Page 172: ......
Page 173: ...G 8 Technical Specifications ...
Page 183: ...IN 4 Index ...
Page 184: ...Quick Reference ...
Page 186: ......
Page 187: ......
Page 188: ......
Page 189: ......
Page 190: ......