
Chapter 3: Programming Commands48
Dene extended user-dened character set
ASCII US & s c1 c2 [character 1 data] ... [character k data]
Hexadecimal 1F 26 s c1 c2 [character 1 data] ... [character k data]
Decimal 31 38 s c1 c2 [character 1 data] ... [character k data]
Values and ranges:
s = the number of dot rows in the character cell (maximum 64)
c = the ASCII codes of the rst (c1) and last (c2) characters respectively
c1 = Hex 20–FF (20 is always printed as a space)
c2 = Hex 20–FF (20 is always printed as a space)
To dene only one character, use the same code for both c1 and c2
j = s/8 = the number of bytes (vertically) in the character cell
k = c2 – c1 + 1 = the number of characters to be dened in this command string
[character i data] = [ni d1 ... d(j x ni)] for 1 ≤ i ≤ k
ni = the number of dot columns for the ith character, 1 ≤ ni ≤ 16
d = the dot data for the characters (bit gets printed to 1 and not printed to 0)
The number of bytes for the ith character cell is j x ni.
Thebytesareprinteddownandacrosseachcellstartingfromtheleftside.
DenesandentersdownloadedcharactersintoRAM.Thecommandmaybeusedtooverwritesinglecharacters.User-
denedcharactersareavailableuntilpoweristurnedoffortheInitializePrintercommand(1B40)isreceived.
Anyinvalidbyte(s,c1,c2,n1,n2)abortsthecommand.
Related information
User-denedcharacterscanbesetforeachpitchindependentlybyselectingthepitchusingthe1B21command.
SeeID22n(selectmemorytype)tosaveuser-denedcharacters.
Select or cancel underline mode
ASCII ESC - n
Hexadecimal 1B 2D n
Decimal 27 45 n
Value of n: Decimal Hex
0, 48 30 = Cancel underline mode
1, 49 31 = Select underline mode
2, 50 32 = Select double thickness underline mode
Default: 0 (Cancel underline mode)
Turnsunderlinemodeonoroffuntiltheprinterisinitialized,reset,orpoweredoff.Underlinescannotbeprintedfor
spacessetbythehorizontaltab,setabsolutestartposition,orsetrelativeprintpositioncommands.Underlinethickness
growsastheverticalsizeofthecharactergrows.
ThiscommandandtheSelectPrintMode(s)command(1B21)turnunderlineonandoffinthesameway.
Exceptions
This command is ignored if nisoutofthespeciedrange.
ThiscommanddoesnotaffectHRIcharacters.
Related information
InA793emulation,thiscommandisunrecognizedandtheparametern is put into the print buffer.
Comentarios a estos manuales