Using the Command Summary. Epson LQ-510
advertisement
Assistant Bot
Need help? Our chatbot has already read the manual and is ready to assist you. Feel free to ask any questions about the device, but providing details will make the conversation more productive.
Using the Command Summary
This chapter lists and describes all the commands available on the
LQ-510.
The first part of this chapter lists all commands in numerical order and gives the number of the page where each is fully described. If you know which command you are looking for, consult the numerical list.
Note: The Quick Reference card at the end of the book also contains a list of the commands divided by topic, with page number references that direct you to full explanations of the commands.
The second part of this chapter lists and describes each command separately; the commands are divided into the following subjects:
Printer operation
MSB control
Data control
Vertical motion
Horizontal motion
Overall printing style
Print size and character width
Print enhancement
Word processing
Character sets
User-defined characters
Graphics
Each command description has a format section and a comment section. The format section gives the ASCII, decimal, and hexadecimal values for the command. These three formats are equivalent, and it should be easy to pick the one most suited to your purpose. The comment section describes the effect of the command and gives any additional information necessary for using it.
Note: Some application programs use control key sequences. See the Control Key chart on page 9-4.
9-2 Command Summary
Using the Command Summary
The simplest type of command consists of a single character to be sent to the printer. For instance, to print in condensed mode, the code format is:
ASCII code:
Decimal:
SI
15
H e x a d e c i m a l : 0 F
This code can be sent from a program by sending the code 15 directly.
More complex commands consist of two or more character codes.
For example, to print in double-wide mode, the code format is the following:
ASCII code:
Decimal:
ESC W n
27 87 n
Hexadecimal: 1B 57 n
In this case n can be either 1 (on) or 0 (off), to begin or end doublewide printing. You can use either of the following commands to turn on double-wide print from BASIC:
LPRINT CHR$(27);CHR$(87);CHR$(l)
LPRINT CHR$(27);"W";CHR$(l)
For the following commands that use only 0 or 1 for the variable, either the decimal or hexadecimal values 1 and 0 or the ASCII characters 1 and 0 can be used:
ESC U, ESC x, ESC p, ESC W, ESC S, ESC -, and ESC %
For example, in BASIC you can turn on proportional spacing with either of these statements:
LPRINT CHR$(27);"p";CHR$(l)
LPRINT CHRS(27);"p";"l"
Command Summary 9-3
Using the Command Summary
Dec.
10
11
12
13
7
8
9
3
4
5
6
1
0
2
Control Key Chart
Some application programs use control key codes for decimal values
O-27. The table below gives you the proper values. The Control Key column indicates that you press the control key at the same time you press the key for the letter or symbol in that column. For example, you press the control key and A at the same time to send the value 1.
Some application programs that use this system cannot use
Control-@, and many programs use the control keys for other purposes.
Hex.
07
08
09
0A
0B
0C
0D
00
01
02
03
04
05
06
Ctrl. Key
G
H
I
E
F
@
A
B
C
D
J
K
L
M
Dec.
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Hex.
15
16
17
18
19
1A
1B
0 E
0F
10
11
12
13
14
Ctrl. Key
S
T
Q
R
N
O
P
X
Y
Z
U
V
W
[
9-4
Command Summary
advertisement
Related manuals
advertisement
Table of contents
- 1 FRONT MATTER
- 4 TABLE OF CONTENTS
- 8 INTRODUCTION
- 8 Features
- 9 Options
- 11 About This Manual
- 12 Application Notes
- 13 Where to Get Help
- 14 CHAP 1-SETTING UP THE PRINTER
- 15 Unpacking the Printer
- 15 Checking the Parts
- 17 Choosing a Place for the Printer
- 19 Assembling the Printer
- 19 Installing the Platen Knob
- 20 Installing the Ribbon Cartridge
- 23 Attaching the Paper Guide
- 26 Testing the Printer
- 26 Plugging in the Printer
- 27 Running the Self Test
- 34 Checking the Operation
- 35 Connecting the Printer to Your Computer
- 35 The Parallel Interface
- 38 Setting Up Your Application Software
- 38 Choosing From a Menu
- 40 CHAP 2-PAPER HANDLING
- 41 Using Single Sheets
- 41 Loading Paper
- 44 Reloading During Printing
- 45 Using Continuous Paper
- 45 Positioning Your Continuous Paper Supply
- 46 Loading Continuous Paper
- 52 Switching Between Continuous and Single Sheets
- 52 Switching to Single Sheets
- 56 Switching Back to Continuous Paper
- 59 Printing on Special Paper
- 59 The Paper Thickness Lever
- 62 Multi-part Forms
- 63 Labels
- 65 Envelopes
- 67 CHAP 3-USING THE PRINTER
- 68 Operating the Control Panel
- 72 Setting the DIP Switches
- 72 Changing a DIP Switch Setting
- 73 The DIP Switch Tables
- 75 The DIP Switch Functions
- 76 Page Length
- 77 Skip Over Perforation
- 78 Adjusting the Loading Position
- 78 The Loading Position
- 79 Using Micro-adjustment
- 80 Using Short Tear-Off
- 81 Adjusting the Tear-off Position
- 83 Selecting Typestyles
- 84 Character Fonts
- 85 Condensed Mode
- 86 Selecting an International Character Set
- 88 Choosing a Character Table
- 90 Using the Data Dump Mode
- 93 CHAP 4-SOFTWARE AND GRAPHICS
- 94 Enhancing Your Printing
- 94 Character Spacing
- 95 Character Size
- 96 Special Effects and Emphasis
- 98 Selecting Typestyles With Master Select
- 101 Graphics
- 102 The Print Head
- 105 The Graphics Command
- 106 Column Reservation Numbers
- 106 A Simple Graphics Program
- 107 Designing Your Own Graphics
- 112 User-defined Characters
- 112 Designing Your Characters
- 114 Defining Your Characters
- 116 Sending Information to Your Printer
- 119 Printing User-defined Characters
- 120 Copying ROM Characters to RAM
- 121 Letter Quality Characters
- 122 Mixing Print Styles
- 125 CHAP 5-USING THE PRINTER OPTIONS
- 126 The Cut Sheet Feeder
- 126 Installation
- 129 Paper Handling
- 133 Testing the Printer in the Cut Sheet Feeder Mode
- 135 Operating the Cut Sheet Feeder
- 135 Single-sheet Insertion
- 139 Removing the Cut Sheet Feeder
- 141 The Pull Tractor
- 141 Installation
- 143 Paper Handling
- 148 Removing the Pull Tractor
- 152 The Multi-Font Module
- 154 Installation
- 157 Selecting a Font
- 158 The Interface Boards
- 158 Choosing an Interface
- 159 Compatible Interfaces
- 159 Installation
- 165 #8143 New Serial Interface
- 167 CHAP 6-MAINTENANCE
- 168 Cleaning the Printer
- 170 Replacing the Ribbon
- 176 Transporting the Printer
- 177 CHAP 7-TROUBLESHOOTING
- 178 Problems and Solutions
- 180 Power Supply
- 181 Printing
- 190 Paper Handling
- 200 Options
- 211 CHAP 8-TECHNICAL SPECIFICATIONS
- 212 Printer Specifications
- 212 Printing
- 214 Paper
- 217 Mechanical
- 218 Electrical
- 218 Environment
- 219 Interface Specifications
- 219 Pin Assignments for the Parallel Interface
- 221 Interface Timing
- 222 Printing Enabled/Disabled Signals and Control Conditions
- 223 Option Specifications
- 223 Single-bin Cut Sheet Feeder
- 225 Initialization
- 225 Default Settings
- 227 CHAP 9-COMMAND SUMMARY
- 228 Using the Command Summary
- 230 Control Key Chart
- 231 Commands in Numerical Order
- 234 Commands Arranged by Topic
- 234 Printer Operation
- 237 MSB Control
- 238 Data Control
- 239 Vertical Motion
- 245 Horizontal Motion
- 248 Overall Printing Style
- 250 Print Size and Character Width
- 254 Print Enhancement
- 259 Word Processing
- 260 Character Tables
- 262 User-defined Characters
- 264 Graphics
- 267 APPENDIX
- 268 Proportional Width Table
- 272 Character Tables
- 275 GLOSSARY
- 283 INDEX