Brother International PJ-883 ESC/ P Brother Command Reference - Page 45

ESC X Specify character size, Appendix A: Specifications

Page 45 highlights

ESC/P Command Reference ESC X Specify character size ASCII: ESC X Hexadecimal: 1B 58 m nL nH m nL nH Parameters Character width: The value of m is irrelevant. Character size: Valid only with: nL=16, 24, 32, 48 dots nH=0 The maximum is: nL=144 nH=1 Description  This command is used only to change the size.  Outline must not be specified.  The character width cannot be specified.  The character size is specified as n=nL+nH*256 dots.  With bitmap font Gothic, only n=16, 24 and 32 are valid.  With bitmap font Letter Gothic Bold and Helsinki, only n=16, 24, 32 and 48 are valid.  With bitmap font Brussels, San Diego and Brougham, only n=24, 32 and 48 are valid.  With outline fonts, n=400 is the maximum.  The commands for specifying stretched characters, compressed characters and the character spacing (SO, ESC W, SI, ESC !, ESC SP) remain available.  With Cyrillic character code bitmap fonts, only n=24, 32, and 48 are valid.  Please refer to Appendix A: Specifications. Example For "ABC" at a 24-dot size and "DEF" at a 48-dot size: Code: ESC k 01h ESC X 00h 18h 00h ABC ESC k 09h ESC X 00h 30h 00h DEF FF DEF Print result: ABC - 39 - 5. Control Command Details

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129

ESC/P Command Reference
- 39 -
5. Control Command Details
ESC X
Specify character size
ASCII:
ESC
X
m
nL
nH
Hexadecimal: 1B
58
m
nL
nH
Parameters
Character width: The value of m is irrelevant.
Character size:
<Bitmap fonts>
Valid only with:
nL=16, 24, 32, 48 dots
nH=0
<Outline fonts>
The maximum is:
nL=144
nH=1
Description
This command is used only to change the size.
Outline must not be specified.
The character width cannot be specified.
The character size is specified as n=nL+nH*256 dots.
With bitmap font Gothic, only n=16, 24 and 32 are valid.
With bitmap font Letter Gothic Bold and Helsinki, only n=16, 24, 32 and 48 are valid.
With bitmap font Brussels, San Diego and Brougham, only n=24, 32 and 48 are valid.
With outline fonts, n=400 is the maximum.
The commands for specifying stretched characters, compressed characters and the character spacing
(SO, ESC W, SI, ESC !, ESC SP) remain available.
With Cyrillic character code bitmap fonts, only n=24, 32, and 48 are valid.
Please refer to
Appendix A: Specifications
.
Example
For “ABC” at a 24-dot size and “DEF” at a 48-dot size:
Code:
ESC k 01h
ESC X 00h 18h 00h ABC
ESC k 09h
ESC X 00h 30h 00h DEF FF
Print result: ABC
DEF