ESC/ P Command Reference
Table Of Contents
- Control Code List
- Print area
- Characters
- Print position
- Line feed amount
- Document creation flow
- Control command details
- Character/style selection commands
- Text printing commands
- ESC 4 Apply italic style
- ESC 5 Cancel italic style
- ESC E Apply bold style
- ESC F Cancel bold style
- ESC G Apply double-strike printing
- ESC H Cancel double-strike printing
- ESC P Specify pica pitch
- ESC M Specify elite pitch
- ESC g Specify micron pitch
- ESC p Specify proportional characters
- ESC W Specify double width characters
- SO Specify auto-cancelling enlarged characters
- ESC SO Specify auto-cancelling enlarged characters
- SI Specify reduced characters
- ESC SI Specify reduced characters
- DC2 Cancel reduced characters
- DC 4 Cancel auto-cancelling double-width characters
- ESC – Applies/cancels underlining
- ESC ! Global formatting
- ESC SP Specify character spacing
- ESC X Specify character size
- Line feed commands
- Horizontal direction movement commands
- Vertical movement commands
- Paper formatting
- Printer control commands
- Graphics commands
- Advanced commands
- ESC i B Bar code
- ESC i Q 2D Bar code QR codes
- ESC i P QR code version setting
- ESC i V 2D bar code PDF417
- ESC i D 2D bar code DataMatrix control
- ESC i M 2D bar code MaxiCode control
- ESC i F Print downloaded data
- ESC i a Switch command mode
- ESC i S Request printer status
- ESC i L Select landscape orientation
- ESC i C Specify cutting
- ESC iXQ2 Select default character style
- ESC iXQ1 Retrieve default character style
- ESC iXk2 Select default font
- ESC iXk1 Retrieve default font
- ESC iXX2 Specify default character size
- ESC iXX1 Retrieve default character size
- ESC iX32 Specify default line feed
- ESC iX31 Retrieve default line feed
- ESC iXA2 Select default alignment
- ESC iXA1 Retrieve default alignment
- ESC iX(2 Specify default page length
- ESC iX(1 Retrieve default page length
- ESC iXL2 Select default landscape orientation
- ESC iXL1 Retrieve default landscape orientation
- ESC iXj2 Select default international character set
- ESC iXj1 Retrieve default international character set
- ESC iXm2 Select default character code table
- ESC iXm1 Retrieve default character code table
- Character codes
8. Aspect
value
[Decimal 2 bytes] 1–1000
Inputs the aspect value. Actually, this is 0.01–10.0, but
since the decimal point can not be entered, 100x the value
is entered.
The default value is 50. (Actual value of 0.5)
*Notes:
- When the Symbol size X specification or the symbol size specification is input, Aspect
value is ignored.
- When the Symbol size X specification or the symbol size specification is input,
sometimes bar cord is not printed or unreadable barcode is printed.
- If both large cell size and high level error correction capacity is specified, it may not
print because of over print buffer.
[With symbol type MicroPDF417]
- Since the error correction capacity is automatically determined from symbol size X
specification, the settings for “Error correction capacity and type” and “Error correction
capacity and value” are ignored.
- The aspect value setting is ignored.
The following table shows the values available for symbol size Y specification according
to symbol size X specification. If an invalid setting is specified for symbol size Y
specification, the default setting is specified.
Symbol size X
specification
Symbol size Y specification
AUTO AUTO
1 AUTO 11 14 17 20 24 28
2 AUTO 8 11 14 17 20 23 26
3 AUTO 6 8 10 12 15 20 26 32 38 44
4 AUTO 4 6 8 10 12 15 20 26 32 38 44
2 Bar code data
The numbers of bar code data items that can be input are as follows.
1850 alphanumeric characters, 2710 numbers, 1108 binary bytes
*Note: The numbers shown here is for high-density Level L 7% of Error correction level. If
you specify them on more than standard lebel, the number may decrease. And, even if you
78
S
pecify then on high-density level, it may decrease because of the treatment of
compression.










