Dc2 'O' N Specify/Cancel Optional Font; Dc2 'P' S E Y X [D]K Register Optional Font - Seiko RP-F10 Series Technical Reference

Table of Contents

Advertisement

DC2 'O' n
Code
12H 4FH n
Definition Range
Default
n = 0 (Optional font printing canceled)
Function Specifies and cancels the optional font.
When n = <*******0>B, optional font printing is canceled.
When n = <*******1>B, optional font printing is specified.
Notes
Only the LSB is valid for n.
When the optional font printing is specified, and the character codes to print are registered as
optional font, they are printed with the optional font.
In printing, the optional font has priority over the downloaded character.
DC2 'P' s e y x [d]k
Code
12H 50H s e y x [d]k
Definition Range
Function Allocates a memory area of optional font and registers the optional font.
s: Registration start character code
e: Registration end character code
y: Number of vertical dots of optional font
x: Number of horizontal dots of optional font
d: Font data
k: Total number of data bytes
The optional font is not registered at the shipping.
Notes
When the optional font of the specified set is already registered, but the registeration content
is not the same, the area is allocated again to register the optional font.
When y or x is out of the definition range, the subsequent data is processed as normal data.
The number of data bytes for 1 character is calculated by the formula below.
INT ((y + 7) / 8) × x bytes
The total number of data bytes k is calculated by the formula below.
k = INT ((y + 7) / 8) × x × (e - s + 1)
0 ≤ n ≤ 255
20H ≤ s ≤ e ≤ 7EH
1 ≤ y ≤ 127, 1 ≤ x ≤ 127
Specify/Cancel Optional Font
6-32
Register Optional Font

Advertisement

Table of Contents
loading

Table of Contents