Using Bit Value Tables - Epson U590P Information Manual

Hide thumbs Also See for U590P:
Table of Contents

Advertisement

CONFIDENTIAL

Using Bit Value Tables

For each command that has a complex method of determining the variable n, there is a table showing
how to calculate the variable in three numbering systems: binary, hexadecimal, and decimal.
When you look at the table, first find the value of each component of the variable. Then add the
values of the components together to determine the value of the variable n.
For example, here is how you would use the table below, which selects the print mode, to combine
double height, double width, and underline. In the table, you see that bit 4 on (or hex 10 or decimal
16) turns on double height, bit 5 on (or hex 20 or decimal 32) turns on double width, and bit 7 on (or
hex 80 or decimal 128) turns on underline mode.
To combine all three, turn on bits 4, 5, and 7, which is 10110000 in binary. Or you can add the hex
values 10, 20, and 80 for the hex sum of B0, or you can add the decimal values 16, 32, and 128 for the
decimal value of 176.
Therefore, you send the following to turn on double height, double width, and underline, depending
on the numbering system used:
ASCII
Hex
Decimal
Bit
Off/On
Off
0
On
1, 2
Off
3
On
Off
4
On
Off
5
On
6
Off
7
On
Note that the program examples throughout this chapter use decimal numbers, but binary, decimal,
and hexadecimal numbers all have the same printing results.
Rev. A
ESC
!
n
1B
21
B0
28
33
176
Hex
Decimal
Function
00
0
Character font A selected.
01
1
Character font B selected.
Undefined.
00
0
Emphasized mode not selected.
08
8
Emphasized mode selected.
00
0
Double-height mode not selected.
10
16
Double-height mode selected.
00
0
Double-width mode not selected.
20
32
Double-width mode selected.
Undefined.
00
0
Underline mode not selected.
80
128
Underline mode selected.
TM–U590/U590P Information Manual
Command Descriptions 1-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm-u590

Table of Contents