Epson ActionPrinter 5500 - ActionPrinter-5500 Impact Printer Product Support Bulletin - Page 14
Browse online or download pdf Product Support Bulletin for Printer Accessories Epson ActionPrinter 5500 - ActionPrinter-5500 Impact Printer. Epson ActionPrinter 5500 - ActionPrinter-5500 Impact Printer 14 pages. Understanding and using escp/2 commands and syntax
Also for Epson ActionPrinter 5500 - ActionPrinter-5500 Impact Printer: Assembly Manual (8 pages)
C ( ^ n1 n2 d
,.. d
1
and n2 are variables and d
characters. The variables n1 and n2 tell the printer "the next xx
interpreted as characters instead of control codes". This 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.
4.
The whole number in the quotient is the value for n2
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. 4 divided by 255= 0 with a remainder of 4.
3 . n 1 = 4
4 . n 2 = 0
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.
is the command for printing control codes as data where n1
k
...d
represent the data that is to be printed as
1
k
PSB No: P-0082
14 of 14
Page:
control codes (LF, FF,
ASCII
codes are to be
ESC, etc.)