
Chapter 3: Programming Commands62
Print advanced raster graphics
ASCII ESC . m n rL rH d1 … dn
Hexadecimal 1B 2E m n rL rH d1 … dn
Decimal 27 46 m n rL rH d1 … dn
Value of m: horizontal oset from left margin = 8 x m dots
Value of n: number of data bytes that compose the raster
Value of r: number of times the raster has to be printed =256 x rH + rL
d1 … dn: data bytes
Range: 0<= m <= 72
0<= n <= 72
0<= r <= 65535
0<= d1 … dn <= 255
Printsahorizontalrasterofgraphicsdataoneormultipletimes.Horizontaloffsetandnumberofdatabytesarevariable
andspeciedbyparameters.
Exceptions
Advanced raster graphics is not available in page mode.
Select single-density graphics
ASCII ESC K n1 n2 d1 ... dn
Hexadecimal 1B 4B n1 n2 d1 ... dn
Decimal 27 75 n1 n2 d1 ... dn
Value of n:
Value of n (8-dot single-density mode) Value of d
n1 + (256 x n2) Number of bytes of data (printed down, then across)
Entersonelineof8-dotsingle-densitygraphicsintotheprintbuffer.Anyprintcommandisrequiredtoprinttheline,after
whichtheprinterreturnstonormalprocessingmode.Single-densitymodeallows0–288dotcolumns.Thenumberofbytes
sentisrepresentedbytheformulasinthetable.
Eachbitcorrespondstotwohorizontaldots.Comparetosetbitimagemode(1B2A,m=0)earlierinthisdocument.
Related information
InLEGACYemulation,thiscommandisunrecognizedandtheparametersareputintotheprintbuffer.
Select double-density graphics
ASCII ESC Y n1 n2 d1 ... dn
Hexadecimal 1B 59 n1 n2 d1 ... dn
Decimal 27 89 n1 n2 d1 ... dn
Value of n:
Value of n (8-dot single-density mode) Value of d
n1 + (256 x n2) Number of bytes of data (printed down, then across)
Entersonelineof8-dotdouble-densitygraphicsintotheprintbuffer.Anyprintcommandisrequiredtoprinttheline,after
whichtheprinterreturnstonormalprocessingmode.Double-densitymodeallows0–576dotcolumns.Thenumberof
bytessentisrepresentedbytheformulasinthetable.
Eachbitcorrespondstoonehorizontaldot.Comparetosetbitimagemode(1B2A,m=1)earlierinthisdocument.
Related information
InLEGACYemulation,thiscommandisunrecognizedandtheparametersareputintotheprintbuffer.
Komentarze do niniejszej Instrukcji