DATECS User’s Manual LINE THERMAL PRINTER MODEL EP-50
CONTENTS THE INFORMATION IN THIS DOCUMENT CANNOT BE REPRODUCED IN ANY MECHANICAL, ELECTRICAL OR ELECTRONIC WAY AND UNDER ANY CIRCUMSTANCES WITHOUT THE WRITTEN CONSENT FROM DATECS LTD. Sofia 1784 - BULGARIA, tel: +359 2 974 00 55, fax: +359 2 974 11 00, e-mail: sales@datecs.bg http://www.datecs.bg VERSION 1.12 / december 2007 / EN 1 OUTLINE .................................................................................... 1 3 1.1 Features .................................................................
1 DATECS EP-50 User’s Manual IMPORTANT SAFETY INSTRUCTIONS y Read all of these instructions and save them for future reference. y Follow all warnings and instructions marked on the product. y Unplug this product from the wall outlet before cleaning. Do not use liquid or aerosol cleaners. Use a damp cloth for cleaning. y Do not use this product near water. y Do not place this product on an unstable cart, stand or table. The product may fall, causing serious damage to the product.
1 DATECS EP-50 User’s Manual C. If the product has been exposed to rain or water. D. If the product does not operate normally when the operating instructions are followed. Adjust only those controls that are covered be the operating instructions since improper adjustment of other controls may result in damage and will often require extensive work by a qualified technician to restore the product to normal operation. E. If the product has been dropped or the cabinet has been damaged. F.
1 DATECS EP-50 User’s Manual ! PRECAUTIONS FOR INSTALLATION ! WARNING 8 y Never handle the equipment in the following manners, as it may break, become out of y Do not use or store the equipment in a place exposed to fire, moisture, or direct order, or overheat causing smoke and resulting in fire or electric shock. If the equip ment is used in an abnormal condition, such as when broken, then problems, smoke emission, abnormal odor/noise, and fire can result.
1 DATECS EP-50 User’s Manual y Use a shielding wire or twisted pair wire for a signal line, in order to minimize noise effect. Do not route the cable too long or connect it to a noisy device. Connection to a noisy device could cause erroneous printing due to corrupt data, and so on. y Use the equipment in an environment where there is s plug socket near the main body and you can easily disconnect the power plug from it, to shut off the power.
1 DATECS EP-50 User’s Manual i DAILY MAINTENANCE y At the time of maintenance, be sure to turn off the power switch of the printer and unplug it from the socket. 1. OUTLINE The EP-50 is a compact-sized, line thermal printer developed for variety of applications. It can be used as a data communication terminal, POS terminal, kitchen terminal, etc. y Use a dry soft cloth to wipe off stains and dust from the surfaces of the main body case.
1 DATECS EP-50 User’s Manual 1.2 Unpacking 2. BASIC SPECIFICATIONS When unpacking the package, confirm that the following parts are provided: 2.1 Basic specifications y Printer body ................................. 1 unit y Sample paper roll ........................ 1 roll y AC adapter ................................... 1 piece y User’s manual ............................. 1 copy y Disc ...............................................
1 DATECS EP-50 2.2 Paper Specifications 2.2.1 Recommended Paper User’s Manual 2.2.
1 DATECS EP-50 User’s Manual 3. OUTER APPEARANCE AND COMPONENT PARTS Upper Cover (1) POWER switch Turns on/off the power for the printer body. (14) Printer Cover (2) POWER lamp Lights green when the printer is switched on Bottom Cover (3) ERROR lamp Flashes red when the printing head is overheated. (1) Power Switch (2) Power Lamp (4) PAPER lamp Flashes red when the printer is out of paper, lights red constantly if the paper is put, but the lever is not pushed down.
1 DATECS EP-50 4. OPERATION 4.1 Connecting AC Adapter 1 Turn off the power. 2 Connect the cable connector of the AC adapter to the power connector located on the back of the printer. User’s Manual 4.2 Connecting Interface Cable 1 Turn off the power. (Mating side included) 2 Check the top and bottom of cable terminals, and connect to the interface connector. 3 Connect the cable to the host computer. 3 Connect the AC power cord of the AC adapter, and plug it into a socket. 4.
1 DATECS EP-50 ! CAUTION User’s Manual 4.4 Eliminating the Paper Jam y The printer cover is not stationary (Opening/Closing). After detaching it, be careful not to lose or break it y Do not insert a ragged or dog-eared end of the paper roll, because it could result in a paper jam or insertion error. 1 2 3 4 5 Turn off the power. Detach the printer cover. Cut the paper roll near the paper insertion slot. Raise the head-up lever.
1 DATECS EP-50 User’s Manual 5. DIP SWITCH SETTING 4.5 LEDs POWER Lights green when the printer is switched on. ERROR Flashes red when the printing head is overheated. PAPER Flashes red when the printer is out of paper, lights red constantly if the paper is put, but the lever is not pushed down. 4.6 FEED Switch Function 3 Pressing this button feeds the paper until it is released. 3 The button must be pressed to continue printing after out of paper error.
1 DATECS EP-50 ! User’s Manual If the code table is selected using the DIP switches, ESC t command is disabled and the code table cannot be changed by a command. ! In the Chinese version of the printer only Sw8 is defined for changing the code table: Sw6 Sw7 N/A N/A Sw8 OFF ON Code page USA CP437 Chinese GB2312 6. SERIAL INTERFACE CABLE ATTACHMENT Turn off the printer before attaching the cable. After connecting the connectors screw the two screws. 6.
1 DATECS EP-50 User’s Manual 7. POWER CONNECTOR 8. COMMAND LIST This connector is to supply the power from the special AC adapter (DATECS PS). Connector Schematic No. Function 1 12V 2 GND Jack used: Applicable plug: HEC0470-01-640 (HOSHIDEN) or its equivalent JXP series type A (I.D.: 2.45 mm, O.D.: 5.5 mm) (HOSHIDEN) or its equivalent Inner terminal: Plus pole Outer terminal: Minus pole(GND) ! CAUTION Inner terminal: Plus pole: y Be sure to use the specified AC adapter.
1 DATECS EP-50 33 34 35 36 ESC Z ESC \ ESC _ ESC ‘ Transmits identification string Specifying the relative positions Restore factory settings Transmits current battery voltage and the print head temperature Aligning the characters Enabling/disabling the panel switches Printing and feeding the paper by n lines Cutting the paper Cutting the paper Generating a drawer-kick pulse User’s Manual 1BH 5AH 1BH 5CH n1 n2 1BH 5FH 1BH 60H 1BH 61H n 1BH 63H 35H n 1BH 64H n 9.
1 DATECS EP-50 User’s Manual [Sample Program] 4. CR LPRINT “0123456789012345678901”; LPRINT CHR$ (&HA); LPRINT CHR$ (&H9) + “AAA”; LPRINT CHR$ (&H9) + “BBB”; LPRINT CHR$ (&HA); LPRINT CHR$ (&H1B) + “D”; LPRINT CHR$ (3) + CHR$ (7) + CHR$ (14) + CHR$ (0); LPRINT CHR$ (&H9) + “AAA”; LPRINT CHR$ (&H9) + “BBB”; LPRINT CHR$ (&H9) + “CCC” + CHR$ (&HA); Print Command [Code] [1Bh] + [1Eh] [Print Results] [Outline] Sounds the beeper. [Code] [0Dh] This command is ignored. 5. ESC RS Sounds the beeper 6.
1 DATECS EP-50 User’s Manual 7. ESC # n 8. ESC $ n1 n2 Setting the Euro symbol position Specifying the Absolute Positions [Code] [1Bh] + [23h] + n [Code] [1Bh] + [24h] + n1 + n2 [Range] {0 <= n <= FFh} [Range] [Outline] This command is provided because most of the old OEM/DOS code pages do not have the euro symbol mapped. This command shows the direct position of the euro symbol in the code table. If n is given value less than 20h the Euro symbol will not be shown.
1 DATECS EP-50 9. ESC % n Select/cancel user defined characters [Code] [1Bh] + [25h] + n • Only bit 0 of n is defined Value 0: Selected Value 1: Not selected [See also] ESC & User’s Manual If switch 5 is ON: [Code] [1Bh] + [26h] + a + n1 + n2 + D11 + … + D(m-n+1)k [Range] { m = 0-3 Subcommand} {20h <= n1 <= FFh } {n1 <= n2 <= FFh } {k = (n2-n1+1)*48 for m=2 and k = (n2-n1+1)*16 for m=3 } [Outline] Defines a group of user characters.
1 DATECS EP-50 User’s Manual Bit Function Value 0 Value 1 12. ESC * m n1 n2 [ d ] k 0 1 2 3 4 5 6 7 Character Font Font A Undefined Undefined Canceled Canceled Canceled Undefined Canceled Font B Specifying the Bit Image Mode [Caution] High-lighting Double height Double width Underline Specified Specified Specified [Code] [1Bh] + [2Ah] + m + n1 + n2 + D1+ … + Dk [Range] {m= 0, 1, 32, 33 bit image mode (See the table below.
1 DATECS EP-50 [Range] [Outline] [Caution] {m = 16, 17, 18, 20 bit image mode } {0 <= n <= 40h} {0 <= d <= FFh} {k = n * 24 * 48} (m = 16) {k = n * 24 * 48} (m = 17) { After decompression } {k = n * h * 48} (m = 18) { After decompression } {k = n * 24 * 48} (m = 20) { After decompression } {0 <= a <= 24 (Used only for mode 18.)} {f = 0 (Used only for mode 18.)} In these graphics modes is sent a graphics block with variable width n*8 dots and height 24 dots for modes 16,17 and a dots for mode 18.
1 DATECS EP-50 User’s Manual 16. ESC 2 17. ESC 3 n Specifying 1/6-inch line feed rate Setting line feed rate of minimum pitch [Code] [1Bh] + [32h] [Code] [1Bh] + [33h] + n The line feed rate per line is specified by 1/6 inch. [Range] {0 <= n <= FFh} [Sample Program] [Outline] The line feed rate per line is specified by n/203 inch.
1 DATECS EP-50 20. ESC = n User’s Manual [Outline] This command writes the current code tables, the intensity level and the current printing speed into the flash memory. These values will be retrieved at first power up or after a power failure. • Value of n doesn’t matter. It is left for compatibility purpose. [Default] • The initial values are: code tables 0 (US American CP437), intensity level 100%, maximum printing speed.
1 DATECS EP-50 User’s Manual 23. ESC D [ n ] k NUL 24. ESC E n Setting Horizontal Tab Position Specifying/canceling highlighting [Code] [1Bh] + [44h] + n1 + … + nk + [00h] [Code] [1Bh] + [45h] + n {0 <= n <= FFh} {0 <= k <= 20h}. [Range] {0 <= n <= FFh} [Range] [Outline] [Outline] Specifying a horizontal tab position. • “n” indicates the no. of columns from the beginning to the horizontal tab position. At this time, n= set position 1 is to be specified.
1 DATECS EP-50 User’s Manual 25. ESC G n 26. ESC I n Specifying/canceling Double Printing (ESC G n) Specifying/cancelling italic printing (ESC I n) [Code] [1Bh] + [47h] + n [Code] [1Bh] + [49h] + n {0 <= n <= FFh} [Range] {0 <= n <= FFh} Specifying/canceling the double printing. [Outline] [Range] [Outline] 0 Canceling double printing. 1 Specifying double printing. • This is effective to all characters of font A. • Characters of font B are not highlighted.
1 DATECS EP-50 User’s Manual 28. ESC M n 30. ESC V n Specifying/canceling highlighting Specifying/Canceling 90º -right- turned Characters [Code] [1Bh] + [4Dh] + n [Code] [1Bh] + [56h] + n [Range] {0 <= n <= FFh} [Outline] Selects character font. • “n” is valid only for the lowest bit (n0). • Control by the lowest bit (n0) is shown as follows: 0 Selection of font A (12x24). 1 Selection of font B (9x16). [Range] {0 <= n <= 1}.
1 DATECS EP-50 User’s Manual 32. ESC Y n Bit Selecting the intensity level 28.0 Supports IrDA mode [Code] [1Bh] + [59h] + n 28.1 Supports magnetic card reader [Range] {0 <= n <= 5} 28.2 Supports simultaneous reading of three tracks from a magnetic card Set the intensity level. 28.3 ASCII codes above 127 contain Katakana symbols • “n” means the followings. 28.4 Supports JIS and Shift-JIS symbols 28.5 Prints when ESC .
1 DATECS EP-50 User’s Manual Not Used 35. ESC _ 31.7 Reserved – always 1 Restore factory defaults and save them to nonvolatile RAM 32.0 Not Used 32.1 Not Used 32.2 Not Used 32.3 Not Used 32.4 Not Used 32.5 Not Used 32.6 Not Used 32.7 Reserved – always 1 31.6 [Code] [1Bh] + [5Fh] [Outline] Select font A, no bold, no underline, etc. Restore tab defaults. The parameters are read from the flash memory. Downloaded font and downloaded bit image are cleared.
1 DATECS EP-50 User’s Manual • Depending on n value, positional alignment is carried out as in the table below: 0Left end alignment 1Centering 2Right end alignment 4Left end aligned vertical barcode 5Centered vertical barcode 6Right end aligned vertical barcode [Default] • The initial value of n is “0”. [Caution] When the panel switch is disabled with this command, the LF switch is disabled. Therefore, the paper cannot be fed by op erating the LF switch. [Default] • The initial value of n is “0”.
1 DATECS EP-50 User’s Manual 40. ESC i 43. ESC t Cutting the paper Selecting the character code table [Code] [Outline] [1Bh] + [69h] Performs a paper feed, so the last printed line remains after the cover’s cutting edge. This command is valid only at the beginning of the line. [Code] [1Bh] + [74h] + n [Range] { 0 <= n <= 19 } [Outline] Selects the code table for ASCII codes 80h-FFh.
1 DATECS EP-50 In the Chinese version of the printer one of the following supported code tables is selected according to the value of n: User’s Manual 44. ESC v Transmitting the printer status n Code Table [Code] [1Bh] + [76h] 0 USA (CP437) [Outline] 1 Chinese GB2312 Current printer status is transmitted.. Status sent out consists of 1 byte whose content is as in the table below.
1 DATECS EP-50 [Caution] [Default] The command changes only the print direction of the characters - all graphics and bar codes are unaffected. This command is ignored in the Chinese version of the printer. The command reverses all print attributes of the line and the characters, though the characters themselves are not mirrored horizontally. Though the command allows mixing reversed and non-reversed characters in one line the print results could be unsatisfactory and unreliable.
1 DATECS EP-50 Both built-in and downloaded character sets are inverted by this command. The black/white inversion works on the right space defined by ESC SP command. [Default] The initial value is n=0 [Sample Program] LPRINT CHR$(&H1D) + “B” + CHR$(0); LPRINT “AAAAA”; LPRINT CHR$(&H1D) + “B” + CHR$(1); LPRINT “AAAAA”; [Print Results] User’s Manual 50.
1 DATECS EP-50 User’s Manual • Depending on the value of m, the following barcode can be selected. d indicates a barcode data to be printed and k indicates the number of character to be printed. n indicates indicates number of characters when 65 <= m <= 73. a is a setting for PDF-417 barcode. Setting a=0 will make the printer to automatically choose PDF-417 compression modes, while a=1 will force byte compression mode. xL and xH indicates the number of bytes for PDF-417 barcode when m=74.
1 DATECS EP-50 User’s Manual 52. GS w n 54. GS H n Selecting the horizontal size (Scale factor) of the bar code Selecting of Printing Position of HRI Code [Code] [1Dh] + [77h] + n [Code] [1Dh] + [48h] + n [Range] {2 <= n <= 4} [Outline] Selecting bar code width. n denotes the number of dots in fine element width. [Range] [Outline] {0 <= n <= 3} Selecting printing position of HRI code in printing barcodes. [Default] • “n” means the followings.
1 DATECS EP-50 User’s Manual 55. GS f n 56. GS p n1 n2 n3 Selecting the font of HRI code Setting barcode PDF-417 parameters [Code] [1Dh] + [66h] + n [Range] n = 0, 1 [Code] [Range] [Outline] Selecting the font of HRI code in printing barcode. The type of font can be printed by selecting n is as follows. 0 Font A 1 Font B The HRI code refers to the barcode-turned characters so that you can read them. [Caution] The HRI code is printed at the position specified with GS h.
1 DATECS EP-50 User’s Manual 57. GS v0 58. GS * Printing of raster bit image Defining the Download Bit Image [Code] [1Dh] + [76h] + [30h] + m + xL + xH + yL + yH + D1 + … + Dn There are two variants of this command depending of the position of switch 5. [Range] {0 <= m <= 3; 48 <= m <= 51} {0 <= xL <= 255} {0 <= xH <= 255} {0 <= yL <= 255} {0 <= yH <= 255} {0 <= Di <= 255} If switch 5 is OFF: The value of xH is ignored.
1 DATECS EP-50 User’s Manual [Outline] [Caution] [Sample Program] GOSUB IMG LPRINT CHR$ (&H1D) + “/” + CHR$ (0); LPRINT CHR$ (&H1D) + “/” + CHR$ (1); LPRINT CHR$ (&H1D) + “/” + CHR$ (2); LPRINT CHR$ (&H1D) + “/” + CHR$ (3); END IMG: n 1 = 10 : n 2= 5 LPRINT CHR$ (&H1D) + “*”; LPRINT CHR$ (n1) + CHR$ (n2); FOR J=1 TO n1*8 FOR I=1 TO n2 LPRINT CHR$ (J); NEXT I NEXT J RETURN [Default] [See Also] Prints download bit image in a mode specified by m.
1 DATECS EP-50 61. GS ^ n1 n2 n3 User’s Manual m Mode Name Dots in Vertical Direction Dots in Horizontal Direction [1Dh] + [5Eh] + n1 + n2 + n3 0, 48 Normal mode 203 DPI 203 DPI {0 <= n1 <= FFh} {0 <= n2 <= FFh} {0 <= 3 <= 1}. Executing contents defined in macro. • “n1~n3” indicate as follows: n1 : The number of times of macro execution n2 : Waiting time on macro execution Waiting time of n2 x 100 msec is given for every execution.
1 DATECS EP-50 The printer will become busy before each writing cycle in the NV memory. Any data sent while the printer is busy may not be processed and therefore could be lost. xL = xH = yL = yH = 0 clears the downloaded bit image. If switch 5 is ON: [Code] [1Ch] + [71h] + n + xL + xH + yL + yH + D1 + D2 + … + Dk [Range] {0 <= n <= FFh} {0 <= xL <= FFh} {0 <= xH <= FFh} {0 <= yL <= FFh} {0 <= yH <= FFh} {0 <= D <= FFh} [Outline] This command defines the specified NV (non volatile) bit image.