EPSON ESC/PReferenceManualDecember 1997All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, ortransmitte
Command List by Function C-3Command namesESC/P2 ESC/P 9-Pin ESC/PPageESC a Select justification —• •C-71Selecting charactersESC ( t Assign char
Individual Command Explanations C-93ESC x Select LQ or draftESC/P 2 ESC/PFormatASCII ESC x nHex 1B 78 nDecimal 27 120 nParameter rangen = 0, 1,
C-94 Individual Command ExplanationsESC x Select NLQ or draft9-Pin ESC/PFormatASCII ESC x nHex 1B 78 nDecimal 27 120 nParameter rangen = 0, 1,
Individual Command Explanations C-95ESC k Select typefaceESC/P 2 ESC/PFormatASCII ESC k nHex 1B 6B nDecimal 27 107 nParameter range0 ≤ n ≤ 9Fun
C-96 Individual Command ExplanationsESC k Select typeface9-Pin ESC/PFormatASCII ESC k nHex 1B 6B nDecimal 27 107 nParameter rangen = 0, 1Functi
Individual Command Explanations C-97ESC X Select font by pitch and pointESC/P 2FormatASCII ESC X m nL nHHex 1B 58 m nL nHDecimal 27 88 m nL nHP
C-98 Individual Command Explanations• During multipoint mode the printer ignores the ESC W, ESC w, ESC SP, SI, ESC SI, SO,and ESC SO commands.•
Individual Command Explanations C-99ESC c Set horizontal motion index (HMI)ESC/P 2FormatASCII ESC c nL nHHex 1B 63 nL nHDecimal 27 99 nL nHPara
C-100 Individual Command ExplanationsESC P Select 10.5-point, 10-cpiESC/P 2 ESC/PFormatASCII ESC PHex 1B 50Decimal 27 80FunctionSelects 10.5-po
Individual Command Explanations C-101ESC P Select 10-cpi9-Pin ESC/PFormatASCII ESC PHex 1B 50Decimal 27 80FunctionSelects 10-cpi character pitc
C-102 Individual Command ExplanationsESC M Select 10.5-point, 12-cpiESC/P 2 ESC/PFormatASCII ESC MHex 1B 4DDecimal 27 77FunctionSelects 10.5-po
C-4 Command List by FunctionCommand namesESC/P2 ESC/P 9-Pin ESC/PPageControl-code character printingESC ( ^ Print data as characters•— — C-150E
Individual Command Explanations C-103ESC M Select 12-cpi9-Pin ESC/PFormatASCII ESC MHex 1B 4DDecimal 27 77FunctionSelects 12-cpi character pitc
C-104 Individual Command ExplanationsESC g Select 10.5-point, 15-cpiESC/P 2 ESC/PFormatASCII ESC gHex 1B 67Decimal 27 103FunctionSelects 10.5-p
Individual Command Explanations C-105ESC g Select 15-cpi9-Pin ESC/PFormatASCII ESC gHex 1B 67Decimal 27 103FunctionSelects 15-cpi character pri
C-106 Individual Command ExplanationsESC p Turn proportional mode on/offESC/P 2 ESC/PFormatASCII ESC p nHex 1B 70 nDecimal 27 112 nParameter ra
Individual Command Explanations C-107ESC p Turn proportional mode on/off9-Pin ESC/PFormatASCII ESC p nHex 1B 70 nDecimal 27 112 nParameter rang
C-108 Individual Command ExplanationsESC SP Set intercharacter spaceESC/P 2 ESC/PFormatASCII ESC SP nHex 1B 20 nDecimal 27 32 nParameter range0
Individual Command Explanations C-109ESC SP Set intercharacter space9-Pin ESC/PFormatASCII ESC SP nHex 1B 20 nDecimal 27 32 nParameter range0 ≤
C-110 Individual Command ExplanationsESC E Select bold fontESC/P 2 ESC/PFormatASCII ESC EHex 1B 45Decimal 27 69FunctionSets the weight attribut
Individual Command Explanations C-111ESC E Select bold font9-Pin ESC/PFormatASCII ESC EHex 1B 45Decimal 27 69FunctionSets the weight attribute
C-112 Individual Command ExplanationsESC F Cancel bold fontESC/P 2 ESC/PFormatASCII ESC FHex 1B 46Decimal 27 70FunctionSets the weight attribut
Command List by Function C-5Command namesESC/P2 ESC/P 9-Pin ESC/PPageDeleted commandsESC j Reverse paper feed — —•C-214ESC i Select immediate p
Individual Command Explanations C-113ESC F Cancel bold font9-Pin ESC/PFormatASCII ESC FHex 1B 46Decimal 27 70FunctionSets the weight attribute
C-114 Individual Command ExplanationsESC 4 Select italic fontESC/P 2 ESC/PFormatASCII ESC 4Hex 1B 34Decimal 27 52FunctionSets the style attribu
Individual Command Explanations C-115ESC 4 Select italic font9-Pin ESC/PFormatASCII ESC 4Hex 1B 34Decimal 27 52FunctionSets the style attribute
C-116 Individual Command ExplanationsESC 5 Cancel italic fontESC/P 2 ESC/PFormatASCII ESC 5Hex 1B 35Decimal 27 53FunctionSets the style attribu
Individual Command Explanations C-117ESC 5 Cancel italic font9-Pin ESC/PFormatASCII ESC 5Hex 1B 35Decimal 27 53FunctionSets the style attribute
C-118 Individual Command ExplanationsESC ! Master selectESC/P 2 ESC/PFormatASCII ESC ! nHex 1B 21 nDecimal 27 33 nParameter range0 ≤ n ≤ 255Fun
Individual Command Explanations C-119Printers not featuring this commandNoneModel-dependent variationsNoneRelated topicsESC X, ESC c, Select a
C-120 Individual Command ExplanationsESC ! Master select9-Pin ESC/PFormatASCII ESC ! nHex 1B 21 nDecimal 27 33 nParameter range0 ≤ n ≤ 255Funct
Individual Command Explanations C-121ESC G Select double-strike printingESC/P 2 ESC/PFormatASCII ESC GHex 1B 47Decimal 27 71FunctionPrints each
C-122 Individual Command ExplanationsESC G Select double-strike printing9-Pin ESC/PFormatASCII ESC GHex 1B 47Decimal 27 71FunctionPrints each d
C-6 Command List by ASCII OrderCommand List by ASCII OrderThe following section lists commands by their ASCII order. The shaded areas arediscon
Individual Command Explanations C-123ESC H Cancel double-strike printingESC/P 2 ESC/PFormatASCII ESC HHex 1B 48Decimal 27 72FunctionCancels dou
C-124 Individual Command ExplanationsESC H Cancel double-strike printing9-Pin ESC/PFormatASCII ESC HHex 1B 48Decimal 27 72FunctionCancels doubl
Individual Command Explanations C-125ESC - Turn underline on/offESC/P 2 ESC/PFormatASCII ESC - nHex 1B 2D nDecimal 27 45 nParameter rangen = 0,
C-126 Individual Command ExplanationsESC - Turn underline on/off9-Pin ESC/PFormatASCII ESC - nHex 1B 2D nDecimal 27 45 nParameter rangen = 0, 1
Individual Command Explanations C-127ESC ( - Select line/scoreESC/P 2 ESC/PFormatASCII ESC ( - nL nH m d1 d2Hex 1B 28 2D nL nH m d1 d2Decimal 2
C-128 Individual Command ExplanationsPrinters not featuring this commandActionPrinter L-1000, LQ-400, LQ-500, LQ-2550Model-dependent variations
Individual Command Explanations C-129ESC S Select superscript/subscript printingESC/P 2 ESC/PFormatASCII ESC S nHex 1B 53 nDecimal 27 83 nParam
C-130 Individual Command ExplanationsESC S Select superscript/subscript printing9-Pin ESC/PFormatASCII ESC S nHex 1B 53 nDecimal 27 83 nParamet
Individual Command Explanations C-131ESC T Cancel superscript/subscript printingESC/P 2 ESC/PFormatASCII ESC THex 1B 54Decimal 27 84FunctionCan
C-132 Individual Command ExplanationsESC T Cancel superscript/subscript printing9-Pin ESC/PFormatASCII ESC THex 1B 54Decimal 27 84FunctionCance
Command List by ASCII Order C-7Command namesESC/P2 ESC/P 9-Pin ESC/PPageESC / Select vertical tab channel —• •C-67ESC 0 Select 1/8-inch line sp
Individual Command Explanations C-133ESC q Select character styleESC/P 2 ESC/PFormatASCII ESC q nHex 1B 71 nDecimal 27 113 nParameter range0 ≤
C-134 Individual Command ExplanationsSI Select condensed printingESC/P 2 ESC/PFormatASCII SIHex 0FDecimal 15FunctionEnters condensed mode, in w
Individual Command Explanations C-135SI Select condensed printing9-Pin ESC/PFormatASCII SIHex 0FDecimal 15FunctionEnters condensed mode, in whi
C-136 Individual Command ExplanationsESC SI Select condensed printingESC/P 2 ESC/PFormatASCII ESC SIHex 1B 0FDecimal 27 15FunctionEnters conden
Individual Command Explanations C-137ESC SI Select condensed printing9-Pin ESC/PFormatASCII ESC SIHex 1B 0FDecimal 27 15Parameter rangeNo param
C-138 Individual Command ExplanationsDC2 Cancel condensed printingESC/P 2 ESC/PFormatASCII DC2Hex 12Decimal 18FunctionCancels condensed printin
Individual Command Explanations C-139DC2 Cancel condensed printing9-Pin ESC/PFormatASCII DC2Hex 12Decimal 18FunctionCancels condensed printing
C-140 Individual Command ExplanationsSO Select double-width printing (one line)ESC/P 2 ESC/PFormatASCII SOHex 0EDecimal 14FunctionDoubles the w
Individual Command Explanations C-141SO Select double-width printing (one line)9-Pin ESC/PFormatASCII SOHex 0EDecimal 14FunctionDoubles the wid
C-142 Individual Command ExplanationsESC SO Select double-width printing (one line)ESC/P 2 ESC/PFormatASCII ESC SOHex 1B 0EDecimal 27 14Functio
C-8 Command List by ASCII OrderCommand namesESC/P2 ESC/P 9-Pin ESC/PPageESC X Select font by pitch and point•— — C-97ESC Y Select 120-dpi, doub
Individual Command Explanations C-143ESC SO Select double-width printing (one line)9-Pin ESC/PFormatASCII ESC SOHex 1B 0EDecimal 27 14FunctionD
C-144 Individual Command ExplanationsDC4 Cancel double-width printing (one line)ESC/P 2 ESC/PFormatASCII DC4Hex 14Decimal 20Parameter rangeNo p
Individual Command Explanations C-145DC4 Cancel double-width printing (one line)9-Pin ESC/PFormatASCII DC4Hex 14Decimal 20FunctionCancels doubl
C-146 Individual Command ExplanationsESC W Turn double-width printing on/offESC/P 2 ESC/PFormatASCII ESC W nHex 1B 57 nDecimal 27 87 nParameter
Individual Command Explanations C-147ESC W Turn double-width printing on/off9-Pin ESC/PFormatASCII ESC W nHex 1B 57 nDecimal 27 87 nParameter r
C-148 Individual Command ExplanationsESC w Turn double-height printing on/offESC/P 2 ESC/PFormatASCII ESC w nHex 1B 77 nDecimal 27 119 nParamet
Individual Command Explanations C-149ESC w Turn double-height printing on/off9-Pin ESC/PFormatASCII ESC w nHex 1B 77 nDecimal 27 119 nParameter
C-150 Individual Command ExplanationsESC ( ^ Print data as charactersESC/P 2FormatASCII ESC ( ^ nL nH d1 . . . dkHex 1B 28 5E nL nH d1 . . . dk
Individual Command Explanations C-151ESC 6 Enable printing of upper control codesESC/P 2 ESC/PFormatASCII ESC 6Hex 1B 36Decimal 27 54FunctionTe
C-152 Individual Command ExplanationsESC 6 Enable printing of upper control codes9-Pin ESC/PFormatASCII ESC 6Hex 1B 36Decimal 27 54FunctionTell
Individual Command Explanations C-9Individual Command ExplanationsThe following section describes the commands available in all ESC/P versions.
Individual Command Explanations C-153ESC 7 Enable upper control codesESC/P 2 ESC/PFormatASCII ESC 7Hex 1B 37Decimal 27 55FunctionTells the prin
C-154 Individual Command ExplanationsESC 7 Enable upper control codes9-Pin ESC/PFormatASCII ESC 7Hex 1B 37Decimal 27 55FunctionTells the printe
Individual Command Explanations C-155ESC I Enable printing of control codes9-Pin ESC/PFormatASCII ESC I nHex 1B 49 nDecimal 27 73 nParameter ra
C-156 Individual Command ExplanationsESC m Select printing of upper control codes9-Pin ESC/PFormatASCII ESC m nHex 1B 6D nDecimal 27 109 nParam
Individual Command Explanations C-157ESC EM Control paper loading/ejectingESC/P 2 ESC/PFormatASCII ESC EM nHex 1B 19 nDecimal 27 25 nParameter
C-158 Individual Command ExplanationsESC EM Control paper loading/ejecting9-Pin ESC/PFormatASCII ESC EM nHex 1B 19 nDecimal 27 25 nParameter ra
Individual Command Explanations C-159ESC U Turn unidirectional mode on/offESC/P 2 ESC/PFormatASCII ESC U nHex 1B 55 nDecimal 27 85 nParameter r
C-160 Individual Command ExplanationsESC U Turn unidirectional mode on/off9-Pin ESC/PFormatASCII ESC U nHex 1B 55 nDecimal 27 85 nParameter ran
Individual Command Explanations C-161ESC < Unidirectional mode (one line)ESC/P 2 ESC/PFormatASCII ESC <Hex 1B 3CDecimal 27 60FunctionMove
C-162 Individual Command ExplanationsESC < Unidirectional mode (one line)9-Pin ESC/PFormatASCII ESC <Hex 1B 3CDecimal 27 60FunctionMoves
C-10 Individual Command ExplanationsESC ( C Set page length in defined unitESC/P 2FormatASCII ESC ( C nL nH mL mHHex 1B 28 43 nL nH mL mHDecima
Individual Command Explanations C-163BEL BeeperESC/P 2 ESC/PFormatASCII BELHex 07Decimal 7FunctionSounds the printer’s beeper for 1/10 secondNo
C-164 Individual Command ExplanationsBEL Beeper9-Pin ESC/PFormatASCII BELHex 07Decimal 7FunctionSounds the printer’s beeper for 1/10 secondNote
Individual Command Explanations C-165ESC 8 Disable paper-out detector9-Pin ESC/PFormatASCII ESC 8Hex 1B 38Decimal 27 56Function• The printer co
C-166 Individual Command ExplanationsESC 9 Enable paper-out detector9-Pin ESC/PFormatASCII ESC 9Hex 1B 39Decimal 27 57Function• The printer sto
Individual Command Explanations C-167ESC s Select low-speed modeESC/PFormatASCII ESC s nHex 1B 73 nDecimal 27 115 nParameter rangen = 0, 1, 48,
C-168 Individual Command ExplanationsESC s Select low-speed mode9-Pin ESC/PFormatASCII ESC s nHex 1B 73 nDecimal 27 115 nParameter rangen = 0,
Individual Command Explanations C-169ESC ( G Select graphics modeESC/P 2FormatASCII ESC ( G nL nH mHex 1B 28 47 nL nH mDecimal 27 40 71 nL nH m
C-170 Individual Command ExplanationsPrinters not featuring this commandAll non-ESC/P 2 printersModel-dependent variationsNoneRelated topicsESC
Individual Command Explanations C-171ESC ( i Select MicroWeave print modeESC/P 2FormatASCII ESC ( i 01 00 nHex 1B 28 69 01 00 nDecimal 27 40 10
C-172 Individual Command ExplanationsESC . Print raster graphicsESC/P 2FormatASCII ESC . c v h m nL nH d1 d2 . . . dkHex 1B 2E c v h m nL nH d1
Individual Command Explanations C-11ESC ( c Set page formatESC/P 2FormatASCII ESC ( c nL nH tL tH bL bHHex 1B 28 63 nL nH tL tH bL bHDecimal
Individual Command Explanations C-173k Total number of data bytes, according to the following formula:k = m INTn nH L×× + +( )256 78d During fu
C-174 Individual Command Explanations• Print data that exceeds the right margin is ignored.• Do not specify the vertical movement in increments
Individual Command Explanations C-175ESC . 2 Enter TIFF compressed modeESC/P 2FormatASCII ESC . 2 v h 1 0 0Hex 1B 2E 2 v h 1 0 0Decimal 27 46 2
C-176 Individual Command Explanations• Special coated stock paper available from EPSON is required when printing rastergraphics at 720 dpi.• Do
Individual Command Explanations C-177ESC * Select bit imageESC/P 2 ESC/PFormatASCII ESC * m nL nH d1 . . . dkHex 1B 2A m nL nH d1 . . . dkDecim
C-178 Individual Command ExplanationsDot densityParameter m in Horizontal Vertical density (dpi) Adjacent dot Dots per Bytes perESC * command d
Individual Command Explanations C-179ESC * Select bit image9-Pin ESC/PFormatASCII ESC * m nL nH d1 . . . dkHex 1B 2A m nL nH d1 . . . dkDecimal
C-180 Individual Command ExplanationsPrinters not featuring this commandNoneModel-dependent variationsActionPrinter Apex 80, ActionPrinter T-10
Individual Command Explanations C-181ESC ? Reassign bit-image modeESC/P 2 ESC/PFormatASCII ESC ? n mHex 1B 3F n mDecimal 27 63 n mParameter ran
C-182 Individual Command ExplanationsESC ? Reassign bit-image mode9-Pin ESC/PFormatASCII ESC ? n mHex 1B 3F n mDecimal 27 63 n mParameter range
C-12 Individual Command ExplanationsNotes• This command is available only on printers featuring ESC/P 2.• Measure both top and bottom margins f
Individual Command Explanations C-183ESC K Select 60-dpi graphicsESC/P 2 ESC/PFormatASCII ESC K nL nH d1 d2 . . . dkHex 1B 4B nL nH d1 d2 . . .
C-184 Individual Command ExplanationsESC K Select 60-dpi graphics9-Pin ESC/PFormatASCII ESC K nL nH d1 d2 . . . dkHex 1B 4B nL nH d1 d2 . . . d
Individual Command Explanations C-185ESC L Select 120-dpi graphicsESC/P 2 ESC/PFormatASCII ESC L nL nH d1 d2 . . . dkHex 1B 4C nL nH d1 d2 . .
C-186 Individual Command ExplanationsESC L Select 120-dpi graphics9-Pin ESC/PFormatASCII ESC L nL nH d1 d2 . . . dkHex 1B 4C nL nH d1 d2 . . .
Individual Command Explanations C-187ESC Y Select 120-dpi, double-speed graphicsESC/P 2 ESC/PFormatASCII ESC Y nL nH d1 d2 . . . dkHex 1B 59 nL
C-188 Individual Command ExplanationsESC Y Select 120-dpi, double-speed graphics9-Pin ESC/PFormatASCII ESC Y nL nH d1 d2 . . . dkHex 1B 59 nL n
Individual Command Explanations C-189ESC Z Select 240-dpi graphicsESC/P 2 ESC/PFormatASCII ESC Z nL nH d1 d2 . . . dkHex 1B 5A nL nH d1 d2 . .
C-190 Individual Command ExplanationsESC Z Select 240-dpi graphics9-Pin ESC/PFormatASCII ESC Z nL nH d1 d2 . . . dkHex 1B 5A nL nH d1 d2 . . .
Individual Command Explanations C-191ESC ^ Select 60/120-dpi, 9-pin graphics9-Pin ESC/PFormatASCII ESC ^ m nL nH d1 . . . dkHex 1B 5E m nL nH d
C-192 Individual Command ExplanationsPrinters not featuring this commandNoneModel-dependent variationsNoneRelated topicsESC *
Contents iContentsIntroduction...
Individual Command Explanations C-13ESC C Set page length in linesESC/P 2 ESC/PFormatASCII ESC C nHex 1B 43 nDecimal 27 67 nParameter range1 ≤
Individual Command Explanations C-193ESC r Select printing colorESC/P 2 ESC/PFormatASCII ESC r nHex 1B 72 nDecimal 27 114 nParameter range0 ≤ n
C-194 Individual Command ExplanationsESC r Select printing color9-Pin ESC/PFormatASCII ESC r nHex 1B 72 nDecimal 27 114 nParameter range0 ≤ n ≤
Individual Command Explanations C-195ESC ( B Bar code setup and printESC/P 2 ESC/P 9-Pin ESC/PFormatASCII ESC ( B nL nH k m s v1 v2 c BarCo
C-196 Individual Command Explanationss Space adjustment value24-pin printer-3 ≤ s ≤ 3 (unit 1/360 inch)9-pin printer-3 ≤ s ≤ 3 (unit 1/240 inch
Individual Command Explanations C-197The valid data of each bar code type are following.If an invalid data is included in the BarCodeData strin
C-198 Individual Command ExplanationsESC @ Initialize printerESC/P 2 ESC/PFormatASCII ESC @Hex 1B 40Decimal 27 64FunctionResets the printer to
Individual Command Explanations C-199ESC @ Initialize printer9-Pin ESC/PFormatASCII ESC @Hex 1B 40Decimal 27 64FunctionResets the printer to it
C-200 Individual Command ExplanationsCAN Cancel lineESC/P 2 ESC/PFormatASCII CANHex 18Decimal 24Function• Clears all printable characters and b
Individual Command Explanations C-201CAN Cancel line9-Pin ESC/PFormatASCII CANHex 18Decimal 24Function• Clears all printable characters and bit
C-202 Individual Command ExplanationsDEL Delete last character in bufferESC/P 2 ESC/PFormatASCII DELHex 7FDecimal 127FunctionDeletes the last p
C-14 Individual Command ExplanationsESC C Set page length in lines9-Pin ESC/PFormatASCII ESC C nHex 1B 43 nDecimal 27 67 nParameter range1≤ n ≤
Individual Command Explanations C-203DEL Delete last character in buffer9-Pin ESC/PFormatASCII DELHex 7FDecimal 127FunctionDeletes the last pri
C-204 Individual Command ExplanationsDC1 Select printerESC/P 2 ESC/PFormatASCII DC1Hex 11Decimal 17FunctionSelects the printer after it has bee
Individual Command Explanations C-205DC1 Select printer9-Pin ESC/PFormatASCII DC1Hex 11Decimal 17FunctionSelects the printer after it has been
C-206 Individual Command ExplanationsDC3 Deselect printerESC/P 2 ESC/PFormatASCII DC3Hex 13Decimal 19FunctionDeselects the printerDefaultPrinte
Individual Command Explanations C-207DC3 Deselect printer9-Pin ESC/PFormatASCII DC3Hex 13Decimal 19FunctionDeselects the printerDefaultPrinter
C-208 Individual Command ExplanationsESC # Cancel MSB controlESC/P 2 ESC/PFormatASCII ESC #Hex 1B 23Decimal 27 35FunctionCancels any controls o
Individual Command Explanations C-209ESC # Cancel MSB control9-Pin ESC/PFormatASCII ESC #Hex 1B 23Decimal 27 35FunctionCancels any controls on
C-210 Individual Command ExplanationsESC = Set MSB to 0ESC/P 2 ESC/PFormatASCII ESC =Hex 1B 3DDecimal 27 61FunctionSets the MSB (bit number 7)
Individual Command Explanations C-211ESC = Set MSB to 09-Pin ESC/PFormatASCII ESC =Hex 1B 3DDecimal 27 61FunctionSets the MSB (bit number 7) of
C-212 Individual Command ExplanationsESC > Set MSB to 1ESC/P 2 ESC/PFormatASCII ESC >Hex 1B 3EDecimal 27 62FunctionSets the MSB (bit numb
Individual Command Explanations C-15ESC C NUL Set page length in inchesESC/P 2 ESC/PFormatASCII ESC C NUL nHex 1B 43 00 nDecimal 27 67 0 nParam
Individual Command Explanations C-213ESC > Set MSB to 19-Pin ESC/PFormatASCII ESC >Hex 1B 3EDecimal 27 62FunctionSets the MSB (bit number
C-214 Individual Command ExplanationsESC j Reverse paper feed9-Pin ESC/PFormatASCII ESC j nHex 1B 6A nDecimal 27 106 nParameter range0 ≤ n ≤ 25
Individual Command Explanations C-215ESC i Select immediate print mode9-Pin ESC/PFormatASCII ESC i nHex 1B 69 nDecimal 27 105 nParameter rangen
C-216 Binary Mode CommandsBinary Mode CommandsTo accommodate the high-resolution printing capabilities of the Stylus COLOR printer,EPSON has ad
Binary Mode Commands C-217<XFER> Transfer raster graphics dataESC/P 2FormatClass 3ASCII <XFER> n d1 . . . dnBinary 001F xxxxB n d1
C-218 Binary Mode Commands<MOVX> Set relative horizontal positionESC/P 2FormatClass 2ASCII <MOVX> nL nHBinary 010F xxxxB nL nHParam
Binary Mode Commands C-219<MOVY> Set relative vertical positionESC/P 2FormatClass 2ASCII <MOVY> nL nHBinary 011F xxxxB nL nHParamet
C-220 Binary Mode Commands<COLR> Select printing colorESC/P 2FormatClass 2ASCII <COLR>Binary 1000 xxxxBParameter range1000 0000B Bl
Binary Mode Commands C-221<CR> Carriage return to left-most print positionESC/P 2FormatClass 1ASCII <CR>Binary 1110 0010BFunctionMo
C-222 Binary Mode Commands<EXIT> Exit TIFF compressed modeESC/P 2FormatClass 1ASCII <EXIT>Binary 1110 0011BFunction• Exits TIFF com
C-16 Individual Command ExplanationsESC C NUL Set page length in inches9-Pin ESC/PFormatASCII ESC C NUL nHex 1B 43 00 nDecimal 27 67 0 nParame
Binary Mode Commands C-223<MOVXBYTE> Set <MOVX> unit to 8 dotsESC/P 2FormatClass 1ASCII <MOVXBYTE>Binary 0010 0100BFuncti
C-224 Binary Mode Commands<MOVXDOT> Set <MOVX> unit to 1 dotESC/P 2FormatClass 1ASCII <MOVXDOT>Binary 0010 0101BFunction•
Individual Command Explanations C-17ESC N Set bottom marginESC/P 2 ESC/PFormatASCII ESC N nHex 1B 4E nDecimal 27 78 nParameter range0 < n ≤
C-18 Individual Command ExplanationsESC N Set bottom margin9-Pin ESC/PFormatASCII ESC N nHex 1B 4E nDecimal 27 78 nParameter range0 < n ≤ 1
Individual Command Explanations C-19ESC O Cancel bottom marginESC/P 2 ESC/PFormatASCII ESC OHex 1B 4FDecimal 27 79FunctionCancels the top and
C-20 Individual Command ExplanationsESC O Cancel bottom margin9-Pin ESC/PFormatASCII ESC OHex 1B 4FDecimal 27 79FunctionCancels the top and bot
Individual Command Explanations C-21ESC Q Set right marginESC/P 2 ESC/PFormatASCII ESC Q nHex 1B 51 nDecimal 27 81 nParameter range1 ≤ n ≤ 255(
C-22 Individual Command ExplanationsESC Q Set right margin9-Pin ESC/PFormatASCII ESC Q nHex 1B 51 nDecimal 27 81 nParameter range1 ≤ n ≤ 255(le
ii ContentsCommand Table...T-124/48-
Individual Command Explanations C-23ESC l Set left marginESC/P 2 ESC/PFormatASCII ESC l nHex 1B 6C nDecimal 27 108 nParameter range1 ≤ n ≤ 2550
C-24 Individual Command ExplanationsESC l Set left margin9-Pin ESC/PFormatASCII ESC l nHex 1B 6C nDecimal 27 108 nParameter range1 ≤ n ≤ 2550 ≤
Individual Command Explanations C-25CR Carriage returnESC/P 2 ESC/PFormatASCII CRHex 0DDecimal 13FunctionMoves the print position to the left-m
C-26 Individual Command ExplanationsCR Carriage return9-Pin ESC/PFormatASCII CRHex 0DDecimal 13Function• Moves the print position to the left m
Individual Command Explanations C-27LF Line feedESC/P 2 ESC/PFormatASCII LFHex 0ADecimal 10Function• Advances the vertical print position one l
C-28 Individual Command ExplanationsLF Line feed9-Pin ESC/PFormatASCII LFHex 0ADecimal 10Function• Advances the vertical print position one li
Individual Command Explanations C-29FF Form feedESC/P 2 ESC/PFormatASCII FFHex 0CDecimal 12Function• Advances the vertical print position on co
C-30 Individual Command ExplanationsFF Form feed9-Pin ESC/PFormatASCII FFHex 0CDecimal 12Function• Advances the vertical print position on cont
Individual Command Explanations C-31ESC $ Set absolute horizontal print positionESC/P 2 ESC/PFormatASCII ESC $ nL nHHex 1B 24 nL nHDecimal 27 3
C-32 Individual Command ExplanationsESC $ Set absolute horizontal print position9-Pin ESC/PFormatASCII ESC $ nL nHHex 1B 24 nL nHDecimal 27 36
Introduction 1IntroductionWhen EPSON created the ESC/P printer control language, the industry standard forsimple, sophisticated, efficient oper
Individual Command Explanations C-33ESC \ Set relative horizontal print positionESC/P 2 ESC/PFormatASCII ESC \ nL nHHex 1B 5C nL nHDecimal 27 9
C-34 Individual Command ExplanationsPrinters not featuring this commandNoneModel-dependent variationsOn non-ESC/P 2 printers, the unit of movem
Individual Command Explanations C-35ESC \ Set relative horizontal print position9-Pin ESC/PFormatASCII ESC \ nL nHHex 1B 5C nL nHDecimal 27 92
C-36 Individual Command ExplanationsPrinters not featuring this commandActionPrinter Apex 80, ActionPrinter T-1000, ActionPrinter 2000, ActionP
Individual Command Explanations C-37ESC ( V Set absolute vertical print positionESC/P 2FormatASCII ESC ( V nL nH mL mHHex 1B 28 56 nL nH mL mHD
C-38 Individual Command ExplanationsPrinters not featuring this commandAll non-ESC/P 2 printersModel-dependent variationsNoneRelated topicsCR,
Individual Command Explanations C-39ESC ( v Set relative vertical print positionESC/P 2FormatASCII ESC ( v nL nH mL mHHex 1B 28 76 nL nH mL mHD
C-40 Individual Command Explanations• Moving the print position below the bottom-margin position produces the followingresults:Continuous paper
Individual Command Explanations C-41ESC J Advance print position verticallyESC/P 2 ESC/PFormatASCII ESC J nHex 1B 4A nDecimal 27 74 nParameter
C-42 Individual Command ExplanationsESC J Advance print position vertically9-Pin ESC/PFormatASCII ESC J nHex 1B 4A nDecimal 27 74 nParameter ra
2 IntroductionAbout This ManualThis manual is composed of four main sections.Command Summary Contains a detailed description of all commands av
Individual Command Explanations C-43HT Tab horizontallyESC/P 2 ESC/PFormatASCII HTHex 09Decimal 9FunctionMoves the horizontal print position to
C-44 Individual Command ExplanationsHT Tab horizontally9-Pin ESC/PFormatASCII HTHex 09Decimal 9FunctionMoves the horizontal print position to t
Individual Command Explanations C-45VT Tab verticallyESC/P 2 ESC/PFormatASCII VTHex 0BDecimal 11Function• Moves the vertical print position to
C-46 Individual Command ExplanationsVT Tab vertically9-Pin ESC/PFormatASCII VTHex 0BDecimal 11Function• Moves the vertical print position to th
Individual Command Explanations C-47ESC f Horizontal/vertical skip9-Pin ESC/PFormatASCII ESC f m nHex 1B 66 m nDecimal 27 102 m nParameter rang
C-48 Individual Command ExplanationsBS BackspaceESC/P 2 ESC/PFormatASCII BSHex 08Decimal 8FunctionMoves the print position to the left a distan
Individual Command Explanations C-49BS Backspace9-Pin ESC/PFormatASCII BSHex 08Decimal 8FunctionMoves the print position to the left a distance
C-50 Individual Command ExplanationsESC ( U Set unitESC/P 2FormatASCII ESC ( U nL nH mHex 1B 28 55 nL nH mDecimal 27 40 85 nL nH mParameter ran
Individual Command Explanations C-51ESC 0 Select 1/8-inch line spacingESC/P 2 ESC/PFormatASCII ESC 0Hex 1B 30Decimal 27 48FunctionSets the line
C-52 Individual Command ExplanationsESC 0 Select 1/8-inch line spacing9-Pin ESC/PFormatASCII ESC 0Hex 1B 30Decimal 27 48FunctionSets the line s
Introduction 3Command names and parametersCommand names are normally referred to in their ASCII code version. ESC ( v and ESC CNUL are examples
Individual Command Explanations C-53ESC 2 Select 1/6-inch line spacingESC/P 2 ESC/PFormatASCII ESC 2Hex 1B 32Decimal 27 50FunctionSets the line
C-54 Individual Command ExplanationsESC 2 Select 1/6-inch line spacing9-Pin ESC/PFormatASCII ESC 2Hex 1B 32Decimal 27 50FunctionSets the line s
Individual Command Explanations C-55ESC 3 Set n/180-inch line spacingESC/P 2 ESC/PFormatASCII ESC 3 nHex 1B 33 nDecimal 27 51 nParameter range0
C-56 Individual Command ExplanationsESC 3 Set n/216-inch line spacing9-Pin ESC/PFormatASCII ESC 3 nHex 1B 33 nDecimal 27 51 nParameter range0 ≤
Individual Command Explanations C-57ESC + Set n/360-inch line spacingESC/P 2 ESC/PFormatASCII ESC + nHex 1B 2B nDecimal 27 43 nParameter range0
C-58 Individual Command ExplanationsESC A Set n/60-inch line spacingESC/P 2 ESC/PFormatASCII ESC A nHex 1B 41 nDecimal 27 65 nParameter range0
Individual Command Explanations C-59ESC A Set n/72-inch line spacing9-Pin ESC/PFormatASCII ESC A nHex 1B 41 nDecimal 27 65 nParameter range0 ≤
C-60 Individual Command ExplanationsESC 1 Select 7/72-inch line spacing9-Pin ESC/PFormatASCII ESC 1Hex 1B 31Decimal 27 49FunctionSets the line
Individual Command Explanations C-61ESC D Set horizontal tabsESC/P 2 ESC/PFormatASCII ESC D n1 n2 . . . nk NULHex 1B 44 n1 n2 . . . nk 00Decima
C-62 Individual Command ExplanationsESC D Set horizontal tabs9-Pin ESC/PFormatASCII ESC D n1 n2 . . . nk NULHex 1B 44 n1 n2 . . . nk 00Decimal
4 IntroductionINT and MODSome command parameters may exceed 256, and require two bytes of data. These variablesare listed with the subscripts L
Individual Command Explanations C-63ESC B Set vertical tabsESC/P 2 ESC/PFormatASCII ESC B n1 n2 . . . nk NULHex 1B 42 n1 n2 . . . nk 00Decimal
C-64 Individual Command ExplanationsESC B Set vertical tabs9-Pin ESC/PFormatASCII ESC B n1 n2 . . . nk NULHex 1B 42 n1 n2 . . . nk 00Decimal 27
Individual Command Explanations C-65ESC b Set vertical tabs in VFU channelsESC/PFormatASCII ESC b m n1 . . . nk NULHex 1B 62 m n1 . . . nk 00De
C-66 Individual Command ExplanationsESC b Set vertical tabs in VFU channels9-Pin ESC/PFormatASCII ESC b m n1 . . . nk NULHex 1B 62 m n1 . . . n
Individual Command Explanations C-67ESC / Select vertical tab channelESC/PFormatASCII ESC / mHex 1B 2F mDecimal 27 47 mParameter range0 ≤ m ≤ 7
C-68 Individual Command ExplanationsESC / Select vertical tab channel9-Pin ESC/PFormatASCII ESC / mHex 1B 2F mDecimal 27 47 mParameter range0 ≤
Individual Command Explanations C-69ESC e Set fixed tab increment9-Pin ESC/PFormatASCII ESC e m nHex 1B 65 m nDecimal 27 101 m nParameter range
C-70 Individual Command ExplanationsPrinters not featuring this commandDFX-5000+, DFX-5000, DFX-8000, FX-850, FX-1050Model-dependent variations
Individual Command Explanations C-71ESC a Select justificationESC/PFormatASCII ESC a nHex 1B 61 nDecimal 27 97 nParameter range0 ≤ n ≤ 3Functio
C-72 Individual Command ExplanationsESC a Select justification9-Pin ESC/PFormatASCII ESC a nHex 1B 61 nDecimal 27 97 nParameter range0 ≤ n ≤ 3,
C-1Command Summary Command List by Function...
Individual Command Explanations C-73ESC ( t Assign character tableESC/P 2FormatASCII ESC ( t nL nH d1 d2 d3Hex 1B 28 74 nL nH d1 d2 d3Decimal 2
C-74 Individual Command Explanationsd2 d3 Table name26 0 Abicomp27 0 MAZOWIA (Poland)28 0 Code MJK (CSFR)29 7 ISO8859-7 (Latin/Greek)29 16 ISO8
Individual Command Explanations C-75ESC ( t Assign character table9-Pin ESC/PFormatASCII ESC ( t nL nH d1 d2 d3Hex 1B 28 74 nL nH d1 d2 d3Decim
C-76 Individual Command Explanationsd2 d3 Table name26 0 Abicomp27 0 MAZOWIA (Poland)28 0 Code MJK (CSFR)29 7 ISO8859-7 (Latin/Greek)29 16 ISO8
Individual Command Explanations C-77ESC t Select character tableESC/P 2 ESC/PFormatASCII ESC t nHex 1B 74 nDecimal 27 116 nParameter range0 ≤ n
C-78 Individual Command ExplanationsModel-dependent variationsOn non-ESC/P 2 printers:• Selects the character table to be used for printing fro
Individual Command Explanations C-79ESC t Select character table9-Pin ESC/PFormatASCII ESC t nHex 1B 74 nDecimal 27 116 nParameter rangen = 0,
C-80 Individual Command ExplanationsESC R Select an international character setESC/P 2 ESC/PFormatASCII ESC R nHex 1B 52 nDecimal 27 82 nParame
Individual Command Explanations C-81NotesThe characters printed for each international character set are listed below:n Set name Dec 35 36 64
C-82 Individual Command ExplanationsESC R Select an international character set9-Pin ESC/PFormatASCII ESC R nHex 1B 52 nDecimal 27 82 nParamete
C-2 Command List by FunctionCommand List by FunctionThe following section lists commands by their function. The shaded areas are discontinuedor
Individual Command Explanations C-83NotesThe characters printed for each international character set are listed below:n Set name Dec 35 36 64 9
C-84 Individual Command ExplanationsESC & Define user-defined charactersESC/P 2 ESC/PFormatASCII ESC & NUL n m [a0 a1 a2 d1 d2 . . . dk
Individual Command Explanations C-85• The following maximum character widths are recommended.(height × width)Print quality 10 cpi 12 cpi 15 cpi
C-86 Individual Command ExplanationsESC & Define user-defined characters9-Pin ESC/PFormatThe format for this command depends on whether you
Individual Command Explanations C-87Notes• The data within brackets in the Format section above is repeated for each character youdefine.• The
C-88 Individual Command ExplanationsPrinters not featuring this commandNoneModel-dependent variationsAll LX-series printers, ActionPrinter Apex
Individual Command Explanations C-89ESC : Copy ROM to RAMESC/P 2 ESC/PFormatASCII ESC : NUL n mHex 1B 3A 00 n mDecimal 27 58 0 n mParameter ran
C-90 Individual Command ExplanationsESC : Copy ROM to RAM9-Pin ESC/PFormatASCII ESC : NUL n mHex 1B 3A 00 n mDecimal 27 58 0 n mParameter range
Individual Command Explanations C-91ESC % Select user-defined setESC/P 2 ESC/PFormatASCII ESC % nHex 1B 25 nDecimal 27 37 nParameter rangen = 0
C-92 Individual Command ExplanationsESC % Select user-defined set9-Pin ESC/PFormatASCII ESC % nHex 1B 25 nDecimal 27 37 nParameter rangen = 0,
Comments to this Manuals