·2· PD02-058 User Manual 1 INTRODUCTION 1.1 POS-58A Receipt Printer POS-58A is designed for use for use with electronic instruments such as ECR,POS,banking equipment,computer peripheral equipment,etc. 1.2 Feature High Speed printing: 90mm per second Low noise thermal printing. Interface: RS-232(POS-58AS),Parallel(POS-58AP),USB(POS-58AU) 12V or 24V cash drawer interface.
If any items are damaged or missed,please ntack your dealer for assistance. 2.2. Main frame 2.3. Connecting the printer Accord ing to the printer type, connect the correct commu nication cable to the printer. POS-58A-S RS232 POS-58A-L PARALLEL POS-58A-U POS-58A-E ETHERNET...
·4· PD02-058 User Manual You can connect up the three cable to the printer. They all connect to the connector panel on the bac k of the printer: Commucation cable ash drawer cable Power supply connector ote: Before connecting any of the cable, make sure that both the printer and the host are turned off.
·5· PD02-058 User Manual 2.3.2 PARALLEL INTERFACE POS-58AP use 8 bit s tanda rd p rallelinterface. It use DB25 male socket. Parallel pin d nition: DEFINITION Latch strobe pulse. The printer will latch the data at the po sition edge. DATA BIT0(LSB) DATA BIT1 DATA BIT2...
·6· PD02-058 User Manual 2.4 Connect the cash drawer The printer use RJ-11 6line socket., support most 12V/24V cash drawer. Connecting the cash drawer as the followed picture: Cash drawer socket definiction: DEFINITION Cash drawer open control +24V POWER Cash drawer open control NOTE: Use a drawer the matches the printer specification.
Press the “feed” button to tog gle the printer density. POS-58A can select 3 level densities.(Low、Middle、High). elease the “online” button, POS-58A will save the current density. Note: When selecting the high level, the printing will desc rease. 3.5 Setting the baudrate audrate setting is only effective with POS-58AS and POS-58AU.
Power up POS-58A Release the “feed” button. Install the paper roll. In debug mode, POS-58A will prints all commands and datas in hexadecimal format as follows: 1B21 001B 2602 4040 .!..&.@@ 4040 020D 1B44 0A14 @@...D.. 1E28 2828 0001 0A41 .(((...A 0D42 0A43 4343 4445 .B.CCCDE...
·10· PD02-058 User Manual 4 ESC/POS PRINTING COMMAND SET 4.1 Set of Command Type Command Name Print and line feed Print Command ESC J Print and Feed n dots paper ESC 2 Select default line spacing Line spacing ESC 3 n Set line spacing Command ESC a n...
Page 13
·11· PD02-058 User Manual GS $ nL nH Set absolute print Y position ESC \ nL nH Set relative print X position GS \ nL nH Set relative print Y position GS L nL nH Set left margin GS W nL nH Set printing area width...
·12· PD02-058 User Manual 4.2 Command detail POS-58A printer use ESC/POS command set. The printing command is descripted as followed format: Function Format ASCII List by ASCII characters Decimal List by decimal characters Hexadecimal List by hexadecimal characters Description Command function description...
·13· PD02-058 User Manual scription n = 0-255 ESC 3 n sets the line spacing to n dots. The de fault value is 30 ESC a n Select align mode Format ASCII ESC a n Decimal 27 97 n Hexadecimal 1B 61 n Description The command is only us ed in the standard mode.
Page 16
·14· PD02-058 User Manual Decimal 27 20 Hexadecimal 1B 14 Descript ion Disabl e Doub Width m ESC { n Set/Cancel Character Updown mode Format ASCII ESC { n Decimal 27 123 n Hexadecimal 1B 7B n scription n=1:Enable Updown mode n=0:Disable Updown Mode Defaul t valu is 0...
·15· PD02-058 User Manual d2 d4 d6 ESC ? n Disable user-defined character rmat ASCII ESC ? n Decimal 27 37 n Hexadecimal 1B 25 n Description ESC ? n disable ser-defin ed characters, printer will use the interal character. ESC R n Select an internal character set rmat...
Page 18
·16· PD02-058 User Manual nH=0-3 =0-255 = nL+256*nH (m=0,1) = (nL+256*nH)*3 (m=32,33) e modes selected by m are as follo 0:8dots single density,102dpi 1: 8dots double density,203dpi 31:24 dots single density,102dpi 32:24 dots double density,2 03dpi The bit imag e format is the same as user-defined character.
·17· PD02-058 User Manual 4.2.5 Cash d rawer control command ESC p m n1 n2 Generate pulse Format ASCII ESC p m n1 n2 Decimal 27 112 m n1 n2 Hexadecimal 1B 70 m n1 n2 Description d a pu e to the spe cified connector pin.
Return statu bytes de finetion: bit0 : Drawer status. bit4: 0 POS-58A always return 0 back. 4.2.9 Bar Code Command GS H n Select printing position of human readable characters Format ASCII GS H n Decimal 29 72 n...
Page 21
·19· PD02-058 User Manual Description 0 ≤ n ≤3 48 ≤ n ≤51 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: Printing Positioin 0,48: Not printed...
·23· PD02-058 User Manual 5. Sample Programming The following sample suggest that “putchar(ch)” send one byte ch to the PD02. Sample: putchar(27); putchar(‘=’); putchar(1); // set printer online putchar(27); putchar(‘t’); putchar(0); // code page PC 437 putchar(29); putchar(‘/’); putchar(65); // print logo 1 putchar(27);...
Need help?
Do you have a question about the POS-58A and is the answer not in the manual?
Questions and answers