[ESC+P] Character Pitch
Hexadecimal code
| ESC | <1B>16 |
|---|---|
| P | <50>16 |
Parameter
aa
Initial value
aa=02
Valid range and term of command
| When the power switch is OFF | The set parameter is not maintained. |
| Valid range within items | The set parameters are valid within the field. |
| Valid range between items | The set parameter becomes initial value at the next item <A>. |
Function
Specifying character pitch by dot.
Format
<P>aa
-
Parameter
aa [Character pitch]= Valid range: 00 to 99 dots
<FX3-LX (Japan), CL4NX/CL6NX, PW208NX/PW208mNX, CT4-LX, LR4NX-FA, S84NX/S86NX>
aa [Character pitch]= Valid range: -99 to 99 dots
Coding Example
Character pitch: 10
<A>
<V>100<H>200<P>10<L>0202<XM>ABCD
<Q>2
<Z>
Supplementary Explanation
- Character pitch means the character gap or font gap when selecting font or barcode.
- Specified character pitch will be widened based on the ratio of Enlargement <L>.
- Even if linefeed code [CR] is specified in Auto Linefeed <E>, it remains the same without returning to initial value. Start of Data Transmission <A> can be used to reset to the initial value.
- By specifying Character Pitch <P> just before the barcode specification, pitch command becomes valid for barcode module.
Object barcode: NW-7, CODE39, Industrial 2 of 5, Matrix 2 of 5
For more information, see "Intercharacter Gap" in Barcode Command.
- Data specification except numeric value or specification of over-digit will give the initial value.
- When you specify a negative value, if its absolute value is bigger than width size of one character, the printer will be a command error. And the printer does not print characters after that.
- When you specify a negative value, if space between characters is narrow, drawing results of characters etc. will be lack. In that case, please adjust the value.
Valid Command
Font
<XU>
<XS>
<XM>
<XB>
<XL>
<OA>
<OB>
<RD>
<$=>
<K1>
<K2>
<K3>
<K4>
<K5>
<K8>
<K9>
<KA>
<KB>
<KD>
<k1>
<k2>
<k3>
<k4>
<k5>
<k8>
<k9>
<kA>
<kB>
<kD>
<U>
<S>
<M>
<WB>
<WL>
<X20>
<X21>
<X22>
<X23>
<X24>
<PP>
<X1>
<X2>
<X3>
<X80>
<X81>
<X82>
<X83>
<X84>
<X85>
<X86>
<X87>
<X88>
<XK>
<PP1>
<PP2>
<PP3>
<Xa1>-<Xa6>
<Xb1>-<Xb8>
<Xc1>-<Xc9>
<<Xd1>-<Xd9>
<Xe1>-<Xe9>
<Xf1>-<Xf5>
<Xm1>-<Xm4>
Barcode
<B>
<D>
<D><d>
<BD>
<BT>
<BW>
Modification
<RF>