[ESC+%] Rotation
Hexadecimal code
| ESC | <1B>16 |
|---|---|
| % | <25>16 |
Parameter
a
Initial value
a=0
Valid range and term of command
| When the power switch is OFF | The set parameter is not maintained. |
| Valid range within items | The set parameter is valid until the next valid setting. |
| Valid range between items | The set parameter becomes initial value at the next item <A>. |
Function
Specifying the counter-clockwise rotation of font and barcode.
Format
<%>a
-
Parameter
a [Rotative direction]
= 0: Parallel 1 (0 degree)
= 1: Serial 1 (90-degree)
= 2: Parallel 2 (180-degree)
= 3: Serial 2 (270-degree)
Coding Example
Font rotation: Parallel 2 (180-degree), Barcode rotation: 1: Serial 1 (90-degree)
<A>
<%>2
<V>100<H>400<P>3<L>0403<XM>ABCD
<%>1
<V>400<H>200<BD>103160*123*
<Q>2
<Z>
Supplementary Explanation
- Position specification of Vertical Print Position <V> and Horizontal Print Position <H> are the absolute value from its base reference point.
- When the value of parameter "a" is between 4 and 9, it will be processed as a command error and ignored. When the value other than numeric is specified, this will be ignored and printing at 0 degree.
- Print of barcode using Serial 1 or Serial 2 may cause blur. Drop the print speed for rotation print of Serial 1 and Serial 2 for better performance.

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>
<BC>
<BG>
<BI>
<D>
<D><d>
<BD>
<BT>
<BW>
<BP>
<BF>
<BS>
<BL>
<BL><d>
<BM>
2D code
<2D10>
<BK>
<2D12>
<2D20>
<BV>
<2D30>
<2D31>
<2D32>
<2D33>
<2D34>
<2D35>
<BQ>
<2D50>
<BX>
<2D51>
<2D70>
Composite Symbol
<EU>
Graphic
<G>
<GM>
<GP>
System
<E>
Modification
<RF>
<FW>
<FC>
<FT>
<(>
<RM>
<PZ>
Memory card
<GR>
<GC>
<PY>
Calendar
<WA>