Zoerich AB-T88 MINI Thermal Priter COMMAND SPECIFICATION MANUAL REVISION EN. Zoerich Computer Equipmets Co.,Ltd http://www.zoerich.com
Commad List Prit ad lie feed Prit ad carriage retur Trasmissio real-time status Real-time request to priter Geerate pulse Set right-side character spacig Select prit mode(s) Set absolute prit positio Select bit image mode Set the character uder lie mode Select default lie spacig Set lie spacig Cash drawer cotrol pulse Iitialize priter Set character lie spacig Set horizotal tab positios Tur emphasized mode o / off Tur double-strike mode o/off Set the character-fot higher mode Prit ad feed the paper -poit lie Set character at wider mode Select justificatio Prit ad take the paper -poit lie Cash drawer cotrollig pulse Select character set code page To set character pritig i double-width mode C To cacel double width mode for character prigtig Set the character prit mode Set uderlie mode for sigle-byte characters Set double-width mode to sigle-byte characters Prit NV bit image Defie NV bit image Set the character prit mode Set the character black ad white iverted prit mode Modify the MAC address Shift betwee Simplified Chiese ad Traditioal Chiess Modify the IP address Set left margi Select cuttig mode ad cut paper Set pritig area width Selects bar code height Prit bar code Set bar code width Trasmit status Prit raster bit image Full cut Half Cut
Cotrol Commads Details = : Priter status: Commad Notatio The ame of the commad. The code sequece. ASCII Idicates the ASCII equivalets. idicates the hexadecimal equivalets. idicates the decimal equivalets. [ ] k idicates the cotets of the [] should be repeated k times. Gives the allowable rages for the argumets. Describes the fuctio of the commad. Explaatio of Terms Bit / 8 8 -Lie -Lie LSB Least Sigificat Bit Cotrol Commads Details LF Name Format Descriptio CR Name Format Descriptio DLE EOT Name Format Rage Descriptio Prit ad lie feed. ASCII LF A I stadard mode, prits the data i the prit buffer ad feeds oe lie based o the curret lie spacig. If the buffer is empty, the priter will oly feed oe lie. Prit ad carriage retur. ASCII CR D prit data i buffer without feed lie. Trasmissio real-time status. ASCII DLE EOT Trasmits the status specified by i real-time as follows: Trasmit priter status. Trasmit paper roll sesor status. This priter trasmits the followig status i real time. = : Cotiuous paper sesor status: Notes DLE ENQ Name Format Rage Descriptio Bit / 9 Real-time request to priter. ASCII DLE ENQ priter resposes accordig to as below : Paper roll ear-ed sesor : paper ear ed. Paper roll ear-ed sesor : paper adequate If prit data icludes a character strig with this commad, the priter performs this commad. Do ot embed this commad withi aother commad. For example : Bit image data might iclude this commad. This commad is igored ad block data is trasmitted. N Recovers from a error ad restarts pritig from the lie where the error occurred. Recovers from a error after clearig the receive ad prit buffers.
DLE DC m ESC $ L H ESC SP ESC! Geerate pulse. ASCII DLE DC m m m, As oted i, produce a certai time iterval of the pulse to cotrol box movemet. = Set right-side character spacig. ASCII ESC SP B Sets the character spacig for the right side of the character to [ horizotal or vertical motio uit]. The maximum of the right-side spacig is = Select prit mode(s). ASCII ESC! N B Selects prit mode(s) usig as follows: Bit, / 8 8 8 8 -.8mm. Character fot A ( X) selected. Reserved. Emphasized mode ot selected. Emphasized mode selected. Double-height mode ot selected. Double-height mode selected. Double-width mode ot selected. Double-width mode selected. Reserved. Uderlie mode ot selected. Uderlie mode selected. ESC * m L H d...dk ESC - m Set absolute prit positio. ASCII ESC $ L H (L + H x ) ( H, L ) Referrig to the the left margi, set the ext prit startig positio ad prit absolute positio.distace betwee left margi ad prit lie startig positio is:[(l + H x ) x(horizotal or vertical motio uit)]. Select bit image mode. ASCII ESC * m L H d...dk m =,,, (L + H x ) ( L, H ), d Specifies the bit image i m mode for the umber of dots specified by L ad H. 8-dot sigle-desity 8-dot double-desity -dot sigle-desity -dot double-desity Set the character uder lie mode. ASCII ESC - B D, 8 Tur o /off uderlie mode accordig to : = Mode,8,9, B L H L H B A m L H d...dk m L H d...dk Number of dots i vertical directio 8 8 Vertical Dot desity 8 8 Turs off uderlie mode. Horizotal dot desity 9 8 9 8 Number of bytes (k) L + H x L + H x (L + H x ) x (L + H x ) x Turs o uderlie mode, set width at -dot Turs o uderlie mode, set width at -dot
ESC ESC ESC 9 m ESC @ Select default lie spacig. ASCII ESC Sets the curret lie spacig to approximately.mm {/ich}. Set lie spacig. B ASCII ESC B Set the lie spacig to / ich The maximum lie spacig is mm ( ich), lie spacig larger tha mm will be still hadled as mm.the default lie spacig is approx. mm ( / ich). Cash drawer cotrol pulse. ASCII ESC 9 m B 9 m m M =, To form a certai iterval pulse to cotrol cash drawer accordig to Iitialize priter ASCII ESC @ B Clear the buffer data ad retur to default settigs ESC A ESC D...K NULL ESC E Set character lie spacig. ASCII ESC A B Set the character lie spacig at / ich. Maximum lie spacig is mm ( ich), if the settig larger tha mm, lie spacig is still mm. The default lie spacig is about. mm ( / ich). Set horizotal tab positios.,...k Set horizotal tab positios specifies the umber of digits from the settig positio to the left margi or the begiig of the lie. k specifies the umber of bytes set for the horizotal tab positio. K =8,,,,...,,8. Tur emphasized mode o / off. ASCII ESC E B 9 Turs emphasized mode o or off. - Whe the LSB of is, emphasized mode is tured off. - Whe the LSB of is, emphasized mode is tured o. =
ESC G ESC X Tur double-strike mode o/off. ASCII ESC G B Turs double-strike mode o or off. - Whe the LSB of is, double-strike mode is tured off. - Whe the LSB of is, double-strike mode is tured o. = ESC a Set character at wider mode. ASCII ESC X B 8 88 8 Ser the character pritig at times the width. ESC H Set the character-fot higher mode. ASCII ESC H B 8 8 Set the character times the height-mode pritig. Select justificatio. ASCII ESC a B 9, 8 I stadard mode, aligs all the data i oe lie to the positio specified by as follows :,8 Justificatio Left justificatio ESC J [ Rage] Prit ad feed the paper -poit lie. ASCII ESC J B A Prit buffer data ad to move forward paper -poit lie After the implemetatio of this commad, the curret prit positio placed o the lie startig positio. This commad does ot affect the ESC ad ESC to set lie spacig. The maximum spacig feed is mm{ich}if the lie feed exceeds mm,the priter will still feed paper at mm. ESC d,9, Ceterig Right justificatio Prit ad take the paper -poit lie. ASCII ESC d B Prit buffer data ad move forward paper -poit lie. This commad sets the prit startig poit to the lie start. This commad does ot affect the lie spacig set by ESC ad ESC. ESC i Full cut. ASCII ESC I B 9 to start the full cut operatio. 8
ESC m ESC p m Half Cut. ASCII ESC m B D 9 to start the partial cut operatio. FS SO To set character pritig i double-width mode. ASCII FS SO C E 8 Characters double the width pritig set This fuctio could be caceled by FS DC LF. Cash drawer cotrollig pulse. ASCII ESC p m B m m m =, To form a certai iterval pulse to cotrol cash drawer accordig to ad. FS DC To cacel double width mode for character pritig. ASCII FS DC C 8 This commad is to cacel duble-width mode set by FS SO. ESC t FS! Select character set code page. ASCII ESC t B Selects character set code page accordig to : Set the character prit mode. ASCII FS! N C 8 Set character pritig mode accordig to. BIT / Descriptio Default character size -- - - Udefied OFF double higher mode OFF double wide mode -- - - Udefied -- ON OFF - 8-8 Udefied Set uder lie mode Cacel uderlie mode If exceeds the defied rage,the commad will be igored. = 9
FS - FS p m FS W Set uderlie mode for sigle-byte characters (o-chiese characters). ASCII FS - 8, 8 Tur o/off uder lie mode for sigle-byte characters(o-chiese Characters)accordig to : = C D,8 Tur off uderlie mode,9 Tur o Uderlie mode, set the width at -dot, Tur o Uderlie mode, set the width at -dots Prit NV bit image. ASCII FS p m, m, 8 m To prit the pre-loaded bit image. "" selects the bit image; "m" defies the pritig mode: M 8 9 C m 8 m Mode Normal Double-width Double-height Quadruple Vertical Dot Desity (DPI) Horizotal Dot Desity (DPI) / / / / = Set double-width mode to sigle-byte characters (o-chiese-characters). ASCII FS W C 8 8 Set double-width mode to sigle-byte characters (o-chiese characters) If the LSB bit of "" is "", set double-width mode to sigle-byte characters (o-chiese characters). If the LSB bit of "" is "", cacel double-width mode to sigle-byte characters (o-chiese characters). FS q xl xh yl yh d...dk Defie NV bit image. ASCII FS q [xl xh yl yh d...dk] C [xl xh yl yh d...dk] 8 [xl xh yl yh d...dk] xl xh = yl yh = d k =(xl + xh x ) x (yl + yh x )x8 "" defies the bit image positio. xl, xh defie the dot quatity of (xl + xh X ) x 8 i horizotal directio; yl, yh defie the dot quatity of (yl + yh X ) x 8 i vertical directio. this commad affects bit image i "" positio oly. I "" positio, the previous bit image data will be deleted.
GS! Default Set the character prit mode ASCII GS! N D 9 set the priter at character pritig mode accordig to : Table Times of the wide mode 8 8 9 = Bit / Times of the higher mode, see Table Times of the width mode, see Table Patter X (Stadard) X (Double-width) X X X X X 8 X Table Times of the higher mode Patter X (Stadard) X (Double-height) X X X X X 8 X GS B GS E m GS F Set the character black ad white iverted prit mode. ASCII GS B D 9 Turs o/off the black/white iverted pritig mode. if the LSB bitof if the LSB bit of = is is, tur off the iverted pritig mode., tur o the iverted pritig mode. Modify the MAC address. ASCII GS E m D m 9 9 m,,,,, m = +++++ is the higher bit of MAC address. is the higher bit of MAC address. m is the checksum. Shift betwee Simplified Chiese ad Traditioal Chiess. ASCII GS F D 9 = 8 Whe = 8, select the chiese. Whe =, select chiese. =
GS D m = Modify the IP address. ASCII GS D m D 9 8 m m=+++ -: parameter cofiguratio rules of type A, type B ad type C supported. is the higher bit of IP address. is the lower bit of IP address. m is the checksum. m ()G S V m ()G S V m Select cuttig mode ad cut paper. () ASCII GS V m D m 9 8 m m () ASCII GS V m D m 9 8 m ()m=,,8,9 ()m=,;<< Cuts paper i the specified mode: GS L L H Set left margi. ASCII GS L L H D C L H 9 L H L, H L ad H defie the left margi. L eft margi = [(L + H x ) x (horizotal motio uit)]. () (),9 full cut Partial cut Feed paper (cut posit fixed distace +[ Feed paper (cut posit fixed distace+[ (motio uit)]), the full-cut (motio uit]), the partial cut The two commads validate oly o the settig of lie start. Whe =, priter feed paper with cut poit fixed distace ad cut paper; Whe!=, priter feed paper with (cut poit fixed distace + [ x (motio uit)]) ad cut paper; The default motio uit is:./y mm {/y ich}(y=). Pritable area Left margi Pritig area width (L + H x )= (L =, H = ) GS W L H Set pritig area width. ASCII GS W L H D L H 9 8 L H L, H (L + H x )= (L =, H = ) Sets the pritig area width specified by L ad H. The pritig area width is [(L + H x ) x (horizotal motio uit)]. Pritable area Left margi Pritig area width
GS h () GS k m d...dk NUL () GS k m d...d () m Selects bar code height. ASCII GS h D 8 9 Set the barcode height accordig to. = Prit bar code. () ASCII GS k m d...dk ul D B m d...dk 9 m d...dk () ASCII GS k m d...d D B m d...d 9 m d...d () m ( k ad d deped o the bar code system used ). () m ( ad d deped o the bar code system used ). Selet the barcode type accordig to m. Bar Code System JAN (EAN) JAN 8 (EAN8) CODE9 Rage of k k k 8 Rage of d 8 d 8 d 8 d, d 9,,,,,,, GS w GS r Set bar code width. ASCII GS h Trasmit status. ASCII GS r D 9 =,,9, Trasmits the ormal status specified by as follows: N,9 D 9 9 set barcode width accordig to Paper sesor status Width(mm)..... Trasmits paper sesor status () m 8 9 Bar Code System JAN (EAN) JAN 8 (EAN8) CODE8 Rage of k k k 8 CODE9 k k Rage of d 8 d 8 d 8 d, d 9,,,,,,, d Bit,, / C paper adequate paper adequate paper roll ed sesor:paper ot preset Reserved Reserved [Notes] Users mostly cosider about the quiet area of the barcode (the left ad right margi). This commad caot be executed sice the priter becomes offlie. whe the paper roll ed sesor detects the paper otpreset. Therefore, the status of bit () ad bit () is ot trasmitted. 8
GS v m xl xh yl yh d...dk Prit raster bit image ASCII GS v m xl xh yl yh d...dk D 9 8 8 m xl xh yl yh d...dk m xl xh yl yh d...dk m, 8 m, xl, xh, yl, yh 8, d k=(xl+xh x ) x (yl+yh x ), k Prits a raster bit image i m mode. - m specifies the bit image mode: m,8 Mode Normal Vertical dot desity DPI Horizotal dot desity DPI,9 Double-width DPI / DPI, Double-height DPI DPI, Quadruple DPI DPI xl, xh specifies (xl + xh x ) byte(s) i the horizotal directio for the bit image. yl, yh specifies (yl + yh x ) dot(s) i the vertical directio for the bit image. I stadard mode, this commad is valid if there is o data i buffer Ay pritig mode does ot affects bit image data. d defies bit image data.whe d is set oe dot will be prited; whe d is ser o dot will be prited. Eg:Whe the xl + xh x = : (xl + xh x )x 8 dot=poits 8 YL + yh x poits K- K- K MSB LSB 9