Epson LQ-1170 Product Support Bulletin - Page 14

Browse online or download pdf Product Support Bulletin for Printer Accessories Epson LQ-1170. Epson LQ-1170 20 pages. Understanding and using escp/3 commands and syntax
Also for Epson LQ-1170: Manual (5 pages), Product Support Bulletin (20 pages), Product Support Bulletin (5 pages), Technical Brief (7 pages), Install Manual (1 pages), Assembly Manual (8 pages), Product Support Bulletin (16 pages)

Epson LQ-1170 Product Support Bulletin
C l h n1 n2 d, . . . dk is the command for printing control codes as data where nl
and n2 are variables and d, . ..d,representthedat&atistobeprintedas
interpreted as characters instead of control codes". Thii command is used primarily
to print displayable characters such as ASCII values 0 through 31 in Registered Tables
1 through 9 which are normally used as
T
determine the values for n1 and n2 perform the following steps.
O
1. Determine how many ASCII codes will be sent sequentially immediately
following n1 and n2
2 Using long division, divide the quantity of ASCII codes that will be sent
sequentially immediately following n1 and n2 by 255.
3. The remainder in the quotient is the value for n1.
The whole number in the quotient is the value for n2
4.
EXAMPLE
1. The symbols for the different suits of a card deck (hearts, diamonds, clubs,
and spades - V', +, 4, and 4) are to be printed. These are each separate
ASCII codes (ASCII codes 2 3.4, and 5 when using the PC437 Character
table).
2 4dividedby255= 0 with a remainder of 4.
3. nl =4
In the Basic programming language, the command would look like this.
This command, as listed in the line above, will cause the printer to print the symbols
for the different suits of a card deck (hearts, diamonds, clubs, and spades V', +, 4,
and 4). Another example of using the ESC ( * command is illustrated in the
explanation of the ESC ( t (Assign Character Table) command.
PSB No: P-0082
Page:
14 of 14
control codes (LF, FF,
codes are to be
ESC, etc.)