
Chapter 3: Programming Commands106
Set absolute vertical print position in page mode
ASCII GS $ nL nH
Hexadecimal 1D 24 nL nH
Decimal 29 36 nL nH
Setstheabsoluteverticalprintstartingpositionforbuffercharacterdatainpagemode.Theabsoluteprintpositionissetto
[(nL+nHX256)x(verticalorhorizontalmotionunit)]inches.
Theverticalorhorizontalmotionunitforthepaperrollisusedandthehorizontalstartingbufferpositiondoesnotmove.
Thereferencestartingpositionissetbyselectprintdirectioninpagemode(1B54).Thissetstheabsolutepositioninthe
verticaldirectionwhenthestartingpositionissettotheupperleftorlowerright;andsetstheabsolutepositioninthe
horizontalwhenthestartingpositionissettotheupperrightorlowerleft.Thehorizontalandverticalmotionunitare
speciedbythesethorizontalandverticalminimummotionunits(1D50)command.
Thesethorizontalandverticalminimummotionunits(1D50)commandcanbeusedtochangethehorizontalandvertical
motionunit.However,thevaluecannotbelessthantheminimumhorizontalmovementamount,anditmustbeineven
unitsoftheminimumhorizontalmovementamount.
Formulas
[(nL+nHX256)x(verticalorhorizontalmotionunit)]inches.
Exceptions
Thiscommandiseffectiveonlyinpagemode.
Ifthe[(nL+nHX256)x(verticalorhorizontalmotionunit)]exceedsthespeciedprintingarea,thiscommandis
ignored.
Set relative vertical print position in page mode
ASCII GS \ nL nH
Hexadecimal 1D 5C nL nH
Decimal 29 92 nL nH
Value
Thevalueforthehorizontalandverticalmovementcannotbelessthantheminimumhorizontalmovementamount,and
mustbeinevenunitsoftheminimumhorizontalmovementamount.
Setstherelativeverticalprintstartingpositionfromthecurrentposition.Thiscommandcanalsochangethehorizontaland
verticalmotionunit.Theunitofhorizontalandverticalmotionisspeciedbythiscommand.
Thiscommandfunctionsasfollows,dependingontheprintstartingpositionsetbyselectprintdirectioninpagemode
(1B54):
• Whenthestartingpositionissettotheupperrightorlowerleftoftheprintingarea,theverticalmotionunit(y) is used.
• Whenthestartingpositionissettotheupperleftorlowerrightoftheprintingarea,thehorizontalmotionunit(x) is
used.
Formulas
Thedistancefromthecurrentpositionissetto[(nL+nHx256)xverticalorhorizontalmotionunit]inches.Theamount
ofmovementiscalculatedonlyforthepaperroll.
When pitch nisspeciedtothemovementdownward:nL + nHx256=n
When pitch nisspeciedtothemovementupward(thenegativedirection),usethecomplementof65536.
When pitch nisspeciedtothemovementupward:nL+nHx256–65536–N
Exceptions
Thiscommandisusedonlyinpagemode,otherwiseitisignored.
Anysettingthatexceedsthespeciedprintingareaisignored.
Comentários a estes Manuais