Home
Command Set
Contents
1. H Thermal Control Board User Manual APPENDIXA PC437 PC850 Thermal Control Board User Manual 15 APPENDIXB International characters 20 24 40 eB so so sE eo 7 7 m sa lselelrlv i tlili o s 2 4 Deme 5 sem 9 e omau H e s i n n s a 2 E
2. Bit Function vane 0 1 0 0 1 2 Disable Enable ASB Disable Enable 3 4 5 Disable Enable RTS as Disable Enable flow control 6 7 When ASB is enabled the printer will send the changed status to PC automatically ESC u n Transmit peripheral devices status Format ASCII ESC un Decimal 27 117 Hexadecimal 1B 75 Description This command is not supported Return status bytes definetion bit0 Drawer status bit4 0 Always return 0 back 5 2 8 Bar Code Command GS H n Select printing position of human readable characters Format Description GS h n ASCII GSH n Decimal 29 72 n Hexadecimal 1D 48 n 0 n x3 48 lt n x51 This command selects the printing position for human readable characters when printing a barcode The default is n 0 Human readable characters are printed using the font specified by GS fn Select the printing position as follows n Printing Positioin 0 48 Not printed 1 49 Above the barcode 2 50 Below the barcode 3 51 Both above and below the barcode Set bar code height Format ASCII GSh n Decimal 29 104 n Hexadecimal 1D 68 n Thermal Control Board User Manual 12 Description This command selects the height of a barcode n specifies the number of dots in the vertical direction The default value is 50 1Sn 255 GS wn Set bar code width Format ASCII GS w n Decimal 29 119 n Hexadecimal 1 77 n Description This command selects
3. Format ASCII ESC amp snm w dl d2 dx Decimal 27 38s n wm dl d2 dx Hexadecimal 1B 26 sn w m dl d2 dx Description The command is used to define user defined character Max 64 user chars can be defined s 3 325 n lt m lt 127 s Character height bytes 3 24dots w Character width 0 12 s 3 Thermal Control Board User Manual 8 User defined character starting code m User defined characters ending code i dx data x s w s 3 dx format z d1 d4 d2 d5 d8 E d3 d6 d9 d36 d 1 ALO ESC n Disable user defined character Format ASCII ESC n Decimal 27 37 n Hexadecimal 1B 25 n Description ESC n disable user defined characters printer will use the interal character ESC R n Select an internal character set Format ASCII ESC Ro Decimal 27 82 n Hexadecimal 1B 52 n Description Select an internal character set n as follows 0 USA 5 Sweden 10 Denmark II 1 France 6 Italy 11 Spain II 2 Germany 1 Spainl 12 Latin America 3 U K 8 Japan 13 Korea 4 Denmark 1 9 Norway ESC t n Select character code table Format ASCII ESC t n Decimal 27 116 n Hexadecimal 1B 74 n Description Select a page n from the character code table as follows 0 437 1 850 5 2 4 Bit Image Command ESC m nL nH dl d2 dk Select bit image mode Format ASCII ESC m nL nH dl d2 dk Decim
4. Line spacing ESC 3n Set line spacing Command ESC an Select justification ESC B n Set the left blank char number ESC n Select print mode s ESC 50 Turn double width on ESC DC4 Turn double width off ESC Turn upside down printing mode on off Character GS Bn Turn inverting printing mode on off Command ESC n Select Cancel user defined characters ESC amp Define user defined characters ESC Cancle user defined characters ESC Select and internation character set ESC t n Select character code table Thermal Control Board User Manual ESC Select bit image mode Bit Image Command GS Define downloaded bit image GS Print downloaded bit image ti n c i H t ESC p Generate cash drawer control pulse command lo CN Enable disable panel buttons Command Init Command ESC Initialize printer ESC Transmit paper sensor status Status Command ESC u n Transmit peripheral device status GS an Enable Disable AutomaticStatus Back ASB cS H Select printing position of human readable characters Bar Code Command GS h Set bar code height GS w Set bar code width GS k Print bar code Thermal Control Board User Manual 5 5 2 Command detail TCB thermal printer control board use ESC POS command set The printing command is descripted as followed format CMD Function Format ASCII List by ASCII characters Decimal List by decimal characters Hexadecimal
5. List by hexadecimal characters Description Command function description Example Command use example 5 2 1 Print Commands LF Print and line feed Format ASCII LF Decimal 10 Hexadecimal OA Description LF prints the data in the print buffer and feeds one line When the print buffer is empty LF feeds one line ESC J n Print and feed paper Format ASCII ESC J n Decimal 27 74 n Hexadecimal 1B 4A n Description n 0 255 ESC J prints the data in the print buffer and feeds n dots The command will not change the setting set by command ESC 2 ESC 3 5 2 2 Line spacing setting command ESC 2 Select default line spacing Format ASCII ESC 2 Decimal 27 50 Hexadecimal 1B 32 Description ESC 2 sets the line space to default value 30dots ESC 3 n Set line spacing Format ASCII ESC 3 n Decimal 27 5l n Hexadecimal 1B 33 n Description n 0 255 ESC 3 n sets the line spacing to n dots The default value is 30 Thermal Control Board User Manual 6 ESC Select align mode Format ASCII ESC an Decimal 27 97 n Hexadecimal 1B 61 n Description Default is 0 0 lt m 2 48 m lt 50 Align left n 0 48 Aligh middle n l 49 Align right 2 50 ESC B n Set left blank char nums Format ASCII ESC B n Decimal 27 66 n Hexadecimal 1B 42 n Description Default is 0 0 lt m x 47 5 2 3 Character command ESC n Select print mode Format ASCII ESC n Decimal 27 33 n Hex
6. Thermal Control Board User Manual ele IO M 2 mx e citi 2 2d PEIBUS Testis otis etes etus etus bt dtu d v tuus d us utu tb usd 2 2 2 OnjboardibED sentiant TR anu nt EE M EC e 2 5 c c 2 A CONNECTOR 3 5 ESC POS PRINTING COMMAND SET aasenso a a a a a a ee 3 Command A AEE AEA tse EAE EA EAE 3 5 2 Commiand detail URBI nente ten E E E deme eden tees ih he 5 S2 Print S cit te ehe ttem reete e Dee medo doe 5 5 2 2 Line spacing setting command 5 5 3 9491 E3 AA HT ngh 5 3 2 3 Character Leite resorte eheu uode erp era ev edere E Lada aevi G044 401845144 6 5 24 Bit Image Command is n ettet m tede entem 238016340651 edet 8 5 2 5 Key control command 02T TP TU 0 00 A OE AE S r 10 5 2 6 Init command soe ts d eene iie is 10 5 27 Status Commaiarnd i an e ten stt h ha 10 5 2 8 Bar Gode Command siete teet debe teta ods c o ee Pera 11 APPENDIXA CODE PAGE rto iet terree Eee Lo rires o Ree 14 APPENDIXB International characf rs SE SE 15 Thermal Control Board User Manual 1 Outline Printing Method Thermal Paper Width 57 5mm Paper Diameter 55mm Resolution 203DPI Printi
7. adecimal 1B 21 n Description The default value is 0 This command is effective for all characters BITO BITI BIT2 BIT3 1 Emphasized mode selected 0 Emphasized mode not selected BIT4 1 Double Height mode selected 0 Double Height mode not selected BIT5 1 Double Width mode selected 0 Double Width mode not selected BIT6 1 Deleteline mode selected 0 Deleteline mode not selected BIT7 1 Underline mode selected 0 Underline mode not selected ESC SO Select Double Width mode Format ASCII ESC SO Decimal 27 14 Hexadecimal 1B OE Thermal Control Board User Manual Te Description Select Double Width mode To turn double width off use LF or DC4 command ESC DC4 Disable Double Width mode Format ASCII ESC DC4 Decimal 27 20 Hexadecimal 1B 14 Description Disable Double Width mode ESC Set Cancel Character Updown mode Format ASCII ESC Decimal 27 123 n Hexadecimal 1B 7B n Description n 1 Enable Updown mode n 0 Disable Updown Mode Default value is 0 GS Bn Turn white black reverse printing mode on off Format ASCII ESC Bn Decimal 29 66 n Hexadecimal 1D 42 n Description n l Enable white black reverse mode n 0 Disable white black reverse mode Default value is 0 ESC n Enable Disable User defined Characters Format ASCII ESC n Decimal 27 37 n Hexadecimal 1B 25 n Description n l Enable User defined character n 0 Disable User defined character ESC amp snm w Define User defined characters
8. al 27 42 m nL nH dl d2 dk Hexadecimal 1B 2A m nL nH dl d2 dk Description Attention The command may clear the user defined char Thermal Control Board User Manual Cge This command selects a bit image mode using m for the number of dots specifed by nL nH 256 m 0 1 32 33 nL 0 255 nH 0 3 dx 0 255 nL 2B6 nH m 0 1 k nL 256 nH 3 m 32 33 The modes selected by m are as follows 0 8dots single density 102dpi 1 8dots double density 203dpi 31 24 dots single density 102dpi 32 24 dots double density 203dpi The bit image format is the same as user defined character GS n Print downloaded bit image Format ASCII GS n Decimal 29 47 n Hexadecimal 1D 2F n Description This command prints a downloaded bit image using the mode specified by n as specified in the chart In standard mode this command is effective only when there is data in the print buffer This command is ignored if a downloaded bit image has not been defined n 0 3 48 51 Specify bit image mode n Pattern Mode Vertical DPI Horizontal DPI 0 48 Normal 203DPI 203DPI 1 49 Double width 203DPI 101DPI 2 50 Double height 101DPI 203DPI 3 51 Quadruple 101DPI 101DPI GS x y dl dk Define downloaded bit image Format ASCII GS x y dl dk Decimal 29 42 x y dl dk Hexadecimal 1 2A x y dl dk Description This command defineds a downloaded bit image by using x 8 dots in the horizontal di
9. ng Speed Up to 90mm s Barcode Supported I25 UPC A UPC E EAN 8 EAN 13 Codebar Code39 Code93 Code128 Codel1 MSI Font ASCH 12x24 Graphic printing Direct bitmap printing Paper Sensor Photo sensor Head tempeture detection Thermistor Communication Interface RS232 or RS232 with TTL level Power supply 5V 9V Head Life 50km Printing width 48mm Operation condition Storage condition 5 45 C 20 90 RH 40 C 40 60 C 20 93 RH 40 C 2 HOW TO USE 2 1 Printing test After power up connect JP4 and disconnect one test page will be printed 2 2 On board LED There is one LED on board to indicate the status of the board The indicator is as follows Blink one Work well Blink two No printer is detected Blink three No paper is detected Blank five Printer mechanism is overheat 3 MECHANISM Thermal Control Board User Manual 3 4 CONNECTOR You can choose use RS232 or RS232 with TTL level before leaving factory RS232 with TTL level can get less cost The definition is as following 1 VH the power supply for the board 2 CTS Paper detector Default or CTR flow control GS a command set 3 TXD the transmit pin for 4 RXD the receive pin for 5 GND 5 ESC POS PRINTING COMMAND SET 5 1 Set of Command Type Command Name LF Print and line feed Print Command ESC J Print and Feed n dots paper ESC 2 Select default line spacing
10. re heating time the more density but the slower printing speed If heating time is too short blank page may occur The more heating interval the more clear but the slower printingspeed ESC 8 nl Sleep parameter Format ASCII ESC 8 nl Decimal 27 56 nl Hexadecimal 1B 38 nl Description Setting the time for control board to enter sleep mode ESC 0 nl n2 n3 nl 0 255 The time waiting for sleep after printing finished Unit Second Default 0 don t sleep When control board is in sleep mode host must send one byte Oxff to wake up control board And waiting 50ms then send printing command and data NOTE The command is useful when the system is powered by battery dl Setting Bluetooth parameter Format ASCII ESC 0 nl n2 n3 dl d2 dk Decimal 27 48 nl n2 n3 dl d2 dk Hexadecimal 1B 30 nl n2 n3 dl d2 dk Description Setting blud tooth baudrate name password nl 0 4 baudreate Default 0 0 9600 1 19200 2 38400 3 57600 4 115200 n2 the length of control board name for bluetooth n3 the length of control board password for bluetooth dl dk k n2 n3 Note The command is valid only when the control board is Bluetooth type control board 13 14 El El r CODE PAGE V
11. rection and dots in the vertical direction Once a downloaded bit image has been define it is avaiable until Another definition is made gt ESC amp or ESC is executed The power is turned off The printer is reset x 1 48 width y 1 255 height xXy lt 1200 k xXyX8 Thermal Control Board User Manual 10 5 2 5 Key control command ESC c 5 n Enable Disable the panel key Format ASCII ESCc 5 n Decimal 27 99 53 n Hexadecimal 1B 63 35 n Description This command has no effection n l Disable the panel key n 0 Enable the panel key Default 5 2 6 Init command ESC Initialize the printer Format ASCII ESC Decimal 27 64 Hexadecimal 1B 40 Description Initializes the printer gt The print buffer is cleared gt Reset the param to default value return to standard mode Delete user defined characters 5 2 7 Status Command ESC v Transmit paper sensor status Format ASCII ESC v n Decimal 27 118 n Hexadecimal 1B 76 n Description Transmits the status of the paper sensor as 1 byte of data The status byte definition Bit Function Value 0 NO PRINTER 1 2 NO PAPER 1 3 POWER ERROR 1 4 0 0 5 6 PRINTER TEMPERAUTRE OVER 1 7 GS an Enable Disable Automatic Status Back ASB Format ASCII GS a n Decimal 29 97 n Hexadecimal 1D 61n Thermal Control Board User Manual 11 Description n definition as follows
12. the horizontal size of a barcode n 2 3 The default value is 3 6S km dl 42 dk NUL Print barcode symbology GS k mn di d2 dn Format 1 ASCII GS k dl 42 dk NUL Decimal 29 107 d2 dk 0 Hexadecimal 1D 6B dl d2 dk 00 Format 2 ASCII GS k n dl d2 dn Decimal 29 107 n dl d2 dn Hexadecimal 1D 6B n dl d2 dn Description m barcode type Format 1 0 lt m 10 Format 2 65 lt lt 75 n barcode length Bar code Number of m Remarks system characters 0 65 UPC A 11 12 48 57 1 66 UPC E 11 12 48 57 2 67 EAN13 12 13 48 57 3 68 7 8 48 57 4 69 CODE39 32 36 37 43 45 57 65 90 5 70 125 i 48 57 even number 6 71 CODEBAR 36 43 45 58 65 68 7 72 CODE93 gt 1 0 127 8 73 CODE128 0 127 9 74 CODE11 48 57 10 75 MSI 48 57 5 2 9 Control Parameter Command ESC 7 nl n2 Setting Control Parameter Command Format ASCII ESC 7 nl n2 n3 Thermal Control Board User Manual Decimal 27 55 nl n2 n3 Hexadecimal 1B 37 nl n2 n3 Description Set max heating dots heating time heating interval nl 0 255 Max printing dots Unit 8dots Default 7 64 dots n2 3 255 Heating time Unit 10us Default 80 80005 n3 0 255 Heating interval Unit 10us Default 2 20us The more max heting dots the more peak current will cost whenprinting the faster printing speed The max heating dots is 8 11 1 The mo
Download Pdf Manuals
Related Search
Related Contents
取扱説明書 HomeSeismo HS302P スペシャル Gembird EE2-U3S-2 storage enclosure Manual de la barrera de infrarrojos OPTEX vía radio SL 350QFR MIPS(R) cJTAG Adapter User`s Manual Epson (ELPSP02) Warranty Statement Samsung KF-65L 用户手册 Bolens 420 Tiller User Manual Crate Amplifiers VC-50H User's Manual Copyright © All rights reserved.
Failed to retrieve file