Control Code Summary - Epson P-80 User Manual

Epson printer user manual
Hide thumbs Also See for P-80:
Table of Contents

Advertisement

This appendix gives a brief summary of the P-80 control codes. You
cause a control code to be sent to an output device by using another
command. The most common command for sending a code to the
screen is PRINT and to the printer is LPRINT. If your computer does
not use these commands, check its reference manual and substitute the
statements required by your computer.
Using BASIC as an example, you can activate a control code on
most computer systems by using LPRINT CHR$(27) followed by
CHR$(n), where n is a number from the decimal (DEC) column
below. For a few codes, those with a dash in the ESC column, you
omit
(ESC) code-CHR$(27). The (ESC) sequence may be
the
shortened by using (in quotation marks) the character in the symbol
column instead of CHR$(n). F or example, the command for turning
on Emphasized can be entered as:
LPRINT CHR$(27)CHR$(69) or LPRINT CHR$(27)"E"
If you are using another programming language or command, be sure
to check your system documentation for the proper syntax to send
codes to the printer.
Abbreviations:
ESC Dec Hex Symbol Function
9
09
Appendix B

Control Code Summary

cpi = characters per inch
cps = characters per second
HT
Horizontal tab. Empties the printer buffer,
then moves the print head to the next tab
stop.
B-l

Advertisement

Table of Contents
loading

Table of Contents