EC Line EC-PM-520 - Printer

EC-PM-520 - Printer EC Line - Free user manual and instructions

Find the device manual for free EC-PM-520 EC Line in PDF.

📄 41 pages English EN Download 💬 AI Question 10 questions ⚙️ Specs
Notice EC Line EC-PM-520 - page 5
Pick your language and provide your email: we'll send you a specifically translated version.
Product Type Dot Matrix Impact Printer (Micro Bill Printer)
Model EC-PM-520 (EC-520 without auto-cutter, EC-520C with auto-cutter)
Print Method 9-pin dot matrix impact
Print Direction Bidirectional (default) or unidirectional
Print Speed 4.7 lines/sec (76mm paper, 40 columns); 6.0 lines/sec (57.5mm paper, 30 columns)
Print Width 42 columns / 63mm (76mm paper); 30 columns / 45mm (57.5mm paper)
Paper Type Roll paper, width 76mm or 57.5mm
Paper Weight 52.3 – 64.0 g/m²
Copy Capability Original + 2 copies (3 layers)
Interface Options Parallel (Centronics), Serial (RS-232), USB 2.0 Full-Speed, Ethernet (RJ-45)
Cash Drawer Interface RJ-11 (6 wires), drives DC24V/1A drawer
Buffer Size 60 KB
Ribbon Type JMR113, life 3 million characters (draft mode)
Auto-Cutter Option Available (EC-520C model); full cut or partial cut
Black Mark Detection Yes, valid by default
Emulation ESC/POS compatible
Power Supply Input: AC 100-240V 50/60Hz; Output: DC 24V 2.5A
Power Consumption Working: 16.8W, Maximum: 26W, Standby: 3.6W
Dimensions (L x W x H) 236mm x 156mm x 131mm
Weight Approx. 2.1 kg (with auto-cutter); Approx. 1.9 kg (without auto-cutter)
Reliability MTBF ≥ 4000 hours; Total print volume ≥ 12 million lines
Operating Environment 5°C – 40°C, 20% – 80% RH (non-condensing)
Safety Standards GB 4943-2001, CCC certified, EMI Class B
Maintenance Clean every 6 months or 300 hours; use dry cloth; avoid flammable solvents

Frequently Asked Questions - EC-PM-520 EC Line

How do I perform a self-test on the EC-PM-520 printer?
Press and hold the FEED key while turning on the printer. Release the key after one beep (for self-test) or two beeps (for print-pins test). The printer will print the test pattern.
What types of interfaces does the EC-PM-520 support?
It supports Parallel (Centronics), Serial (RS-232), USB 2.0 Full-Speed, and Ethernet (RJ-45) interfaces. The default interface varies by model.
How do I load paper into the EC-PM-520?
Open the roll paper cover. Insert the paper roll (76mm or 57.5mm) in the correct direction. Turn on the printer, then insert the paper straight into the slot until it feeds automatically. Close the cover and press FEED to set the print start position.
How do I replace the ribbon cassette?
Turn off the printer. Open the ribbon cover. For EC-520C models, also lift the auto-cutter. Remove the old cassette by lifting the left side first. Install a new JMR113 cassette, turn the knob to tighten, and close the cover. Ensure the printer is off during replacement.
What should I do if the printed characters are too faint?
First, check if the ribbon cassette is properly installed. Remove it and turn the knob to tighten the ribbon. If still faint, replace the ribbon cassette with a new one. If the problem persists, the print head may need professional service.
How do I clean the EC-PM-520 printer?
Turn off the printer and allow the print head to cool. Use a dry soft cloth to wipe the paper feed path, carriage shaft, and other accessible parts. Do not use flammable solvents or hard cloths. Clean every 6 months or 300 hours of use.
Why is the PAPER OUT LED blinking?
The blinking PAPER OUT LED indicates that the paper is nearly empty. Prepare to install a new paper roll. If the LED is steady, the paper is out and the printer cannot print until a new roll is inserted.
How do I reset the printer to factory defaults?
Press and hold the FEED key while turning on the printer. After five beeps, release the key. The printer will initialize to factory default settings. This also clears any user-defined characters.
Can I use the EC-PM-520 with a cash drawer?
Yes, the printer has a cash drawer interface (RJ-11). Connect the drawer to the printer. Use the ESC p command (or cash drawer driver pulse) to open the drawer. Ensure the drawer operates at DC24V/1A.
What is the difference between EC-520 and EC-520C models?
The EC-520 does not have an auto-cutter; paper must be torn manually. The EC-520C includes an auto-cutter that can perform full or partial cuts. Both models share the same basic specifications and interfaces.

User questions about EC-PM-520 EC Line

0 question about this device. Answer the ones you know or ask your own.

Ask a new question about this device

The email remains private: it is only used to notify you if someone responds to your question.

No questions yet. Be the first to ask one.

Download the instructions for your Printer in PDF format for free! Find your manual EC-PM-520 - EC Line and take your electronic device back in hand. On this page are published all the documents necessary for the use of your device. EC-PM-520 by EC Line.

USER MANUAL EC-PM-520 EC Line

Important Safety Instruction

Be sure to have read the manual carefully before your operation. Neither our Corporation nor its affiliates shall be liable to the purchaser of this product or third parties for damages, losses, costs, or expenses incurred by purchaser or third parties as a result of: accident, misuse, or abuse of this product or unauthorized modifications, repairs, or alterations to this product, or failure to strictly comply with our Corporation's operating and maintenance instructions.

  • Follow all warnings and instruction marked on the product.
  • Unplug this product from the wall outlet before cleaning. Do not use liquid or aerosol cleaners. Use a damp cloth for cleaning.
  • Do not use this product near water.
  • Be sure to set this equipment on a firm, stable, horizontal surface. The product may break or cause injury if it falls.
  • Slots and opening on the cabinet at the back or bottom are provided for ventilation. To ensure reliable operation of the product and to protect it from overheating, do not block or cover these openings. The openings should never be blocked by placing the product on a bed, sofa, rug or other similar surface. This product should not be placed in a built-in installation unless proper ventilation is provided.
  • This product should never be placed near or over a radiator or heat origin, and should avoid of direct sunshine.
  • Do not locate this product where the cord will be walked on. When the cord or the plug is mangled, please stop using and get a new one replaced. Make sure the old one is far away from the printer, so it can avoid someone who does not know the inside story getting damage.
  • Be sure to use the specified power source. Connection to an improper power source may cause fire or shock.
  • Do not use in locations subject to high humidity or dust levels. Excessive humidity and dust may cause equipment damage or fire.
  • Never push objects of any kind into this product though cabinet slots as they may touch dangerous voltage dots or short out parts.
  • Don't remove the printer's out-cover and repair the printer. When needed, call or take it to the professional.
  • If water or other liquid spills into this equipment, unplug the power cord immediately, and then contact your dealer or a service center for advice.
  • To ensure safety, please unplug this product prior to leaving it unused for an extended period. The wall outlet you plan to connect to should be nearby and unobstructed.
    ● Unplug this product from the wall outlet and refer servicing to qualified service personnel under the following conditions:

A. When the power cord or plug is damaged or frayed.
B. If liquid has been spilled into the product.
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.
E. If the product has been dropped or the cabinet has been damaged.
F. If the product exhibits a distinct change in performance, indicating a need for service.

Note: The contents of this manual may be changed without prior notice.

* All the parts of the printer can be recycled. When it is abandoned, we can callback it freely. Please contact us when you abandon it.

Table of contents

Important Safety Instruction......i

Chapter 1 Overview....1

1.1 PRINTER TYPES .... 1
1.2 APPLICATION....1
1.3 CHIEF PRINTER PARTS.... 1

Chapter 2 Installation....3

2.1 UNPACKING 3
2.2 REMOVING PACKING MATERIALS 3
2.3 CONNECTING COMPUTER OR OTHER EQUIPMENTS.... 3
2.3.1 Connecting the Cash drawer Cable....4
2.3.2 Connecting the Parallel Interface Cable 4
2.3.3 Connecting the USB Interface Cable....4
2.3.4 Connecting the Serial Interface Cable....5

2.4 CONNECTING THE POWER SUPPLY 6

2.5 INSTALLING AND REPLACING THE RIBBON CASSETTE 6

2.6 INSTALLING THE DRIVER....8

Chapter 3 Control Panel....9

3.1 CONTROL PANEL 9
3.1.1 Indicator LEDs 9
3.1.2 Function Keys....9
3.2 PRINTER DEFAULT SETTING 10
3.3 EXPLANATION FOR PRINTER SETTING ITEMS.... 10
3.4 SELF-TEST FUNCTION ....11
3.5 ONLINE-APTITUDE PARAMETER SETTINGS....13

Chapter 4 Loading Paper....15

Chapter 5 Specifications....16

5.1 BASIC SPECIFICATIONS.... 16
5.2 INTERFACE....18
5.2.1 Cash drawer Connector.... 18
5.2.2 Parallel Interface.... 18
5.2.3 USB Interface 21
5.2.4 Serial Interface 21
5.3 Auto-cutter Specification 22

Chapter 6 Printer's maintenance ....23

6.1 CLEAN THE PRINTER 23
6.2 PROBLEMS AND SOLUTIONS 23

Chapter 7 Command Code Summary ......25

7.1 GENERAL....25
7.2 EXPLANATION OF COMMAND.... 25

Appendix. Commands List ....37

Chapter 1 Overview

1.1 Printer Types

EC-520 ( micro bill printer ) are series products developed by our Corporation according to different requirement and different using environment. “TP” means micro printer , “220” means printer type, “C” means having paper cutter module. EC-520 series printers can be choose by Parallel interface, USB interface or Serial interface.

Note: EC-520 printers have no paper cutter module ; while EC-520C printers have paper cutter module 。

1.2 Application

  • Embedded installation and preprinting common bill printing market
  • Embedded installation and trilogy common bill printing market
  • Can be applied to tax-controlled cash register for invoice printing
    • Can be applied to electronically billing machine for invoice printing
  • Can be applied to self-service terminal for invoice printing or applied to other preprinting bill printing

1.3 Chief printer parts

Paper Filler Auto-cutter Ribbon Knob Roll Paper Cover Ribbon Cassette Power Switch 57.5mm Partition Board Open Button Ribbon Cassette Cover

Figure 1-1 Main parts of printer (downwards) [with auto-cutter]

57.5mm Partition Board Ribbon Knob Ribbon Cassette Roll Paper Cover Paper Ladle Open Button Power Switch Ribbon Cassette Cover Ribbon

Figure 1-2 Main parts of printer (downwards) [without auto-cutter]

Power Connector Cash drawer Connector Interface Connector (Parallel / serial / USB / Ethernet)

Figure 1-3 Main parts of printer (backwards)

Chapter 2 Installation

2.1 Unpacking

Check the pack list as following (See the Figure 2-1). It includes the following items: (1) Printer; (2) Power cord; (3) Interface cable; (4) AC adapter; (5) 57.5mm roll paper guide; (6) 57.5mm Partition board; (7) Printer Driver Disk (Including user's manual and windows driver); (8) Ribbon cassette JMR113; (9) Facility User's Guide; (10) Warranty card.

If any item is missing or damaged, please contact your dealer.

Note: Interface cable is a optional part, it is selected or canceled as client's required.

Printer Power Cord Interface Cable AC Adapter Facility User's Guide Printer Driver Disk (Including user's manual and windows driver) Ribbon Cassette JMR113 57.5mm Roll Paper Guide 57.5mm Partition Board Warranty card

Figure 2-1 Printer pack list

Note:

  1. EC-520( without auto-cutter ) and EC-520C ( with auto-cutter ) are different in appearance.

  2. You should check the items according to the pack list, and they are subject to change without additional notice.

2.2 Removing packing materials

① Unpack the packing box, take the printer out.
② Keep all the original packing materials, in order to transport the printer expediently in future.

2.3 Connecting Computer or Other Equipments

This printer is equipped with one data interface (parallel interface, serial interface or USB interface) and one cash drawer interface. Make sure that you have selected the proper cable before connecting.

2.3.1 Connecting the Cash drawer Cable

Make sure the printer is turned off. Plug the interface cable into the cash drawer connector of the printer and the other end connector to cash drawer.

Cash drawer cable Cash drawer connector

Figure 2-2 Connecting the cash drawer cable

Must use the cash drawer following the requirement noted by Table A-1 (Part 5.2), or the printer damage caused by this reason is out of maintenance service by our corporation.

2.3.2 Connecting the Parallel Interface Cable

  1. Make sure that the host computer and the printer are both turned off, connect the parallel interface cable to the connector of the printer, and tighten the screws as shown in Figure 2-3.

Wire clip Parallel interface Parallel interface cable

Figure 2-3 Connecting the parallel interface cable

  1. Connect the other end of the cable to the host computer's parallel connector, and tighten the two screws on both sides.
  2. This printer's parallel interface can be connected to network printing server.

2.3.3 Connecting the USB Interface Cable

  1. Plug the A side of USB interface (square type) into the printer's USB interface connector.
  2. Plug the B side of USB interface (flat type) into the computer's USB interface connector.

USB interface USB interface cable

Figure 2-4 Connecting the USB interface cable

2.3.4 Connecting the Serial Interface Cable

  1. Make sure that the host computer and the printer are both turned off, connect the serial interface cable to the connector of the printer and tighten the screws as shown in Figure 2-5.

Screw Serial interface Serial interface cable

Figure 2-5 Connecting the serial interface cable

  1. Connect the other end of the cable to the host computer's serial connector and tighten the screws on both sides.

2.3.5 Connecting the Ethernet Interface Cable

Plug the RJ-45 crystal plug of the internet cable into the printer, and plug the other plug into the LAN.(shown as figure 2-6).

Ethernet connector Ethernet cable

Figure 2-6 Connecting the Ethernet Interface Cable

2.4 Connecting the Power Supply

  1. Make sure the power switch is in the OFF position (when the pressed side of power switch is in the "O" position).
  2. Check and ensure the voltage supplied from electrical outlet is matching with the printer's specification.
  3. Plug the AC adapter to printer's power connector.
  4. Plug one side of the power cord to the AC adapter, and then plug the other side of the power cord to the electrical outlet with ground.

Warning: 1. If the voltage cannot match, please contact your dealer for solution, and do not connect the power cord to the electrical outlet.

  1. Must use the electrical outlet with ground wire.

0 1 Power Connector AC Adapter Power Cord

Figure 2-7 Connecting the power supply

2.5 Installing and replacing the Ribbon Cassette

  1. Make sure the printer is turned off.
  2. If you bought the printer without auto-cutter (EC-520), please open the ribbon cassette cover, and then install the ribbon cassette directly. If you bought the printer with auto-cutter (EC-520C), first, please open the ribbon cassette cover and the roll paper cover, and turn up the auto-cutter as shown below, then install the ribbon cassette.
  3. Turn the ribbon knob several times in the direction shown by the arrow to tighten the ribbon core for easy installing.
  4. Insert the ribbon cassette with the ribbon knob on left and push the ribbon cassette down until it clicks.
  5. Turn the ribbon knob 2 or 3 times in the direction shown by the arrow again to tighten the ribbon core.
  6. If you bought the printer without auto-cutter (EC-520), please close the cover directly. If you bought the printer with auto-cutter (EC-520C), please first turn the auto-cutter down to the original position, then close the printer cover.

57.5mm Partition Board Ribbon core Ribbon Knob Roll Paper Cover Ribbon Cassette Power Switch Cover opening button Paper filler Ribbon Cassette Cover

Figure 2-8 Installing the ribbon cassette (without auto-cutter)

57.5mm Partition Board Roll Paper Cover Ribbon core Ribbon Knob Ribbon Cassette Paper filler Power Switch Cover opening button Auto-cutter Ribbon Cassette Cover

Figure 2-9 Install the ribbon cassette (with auto-cutter)

Note: 1. When printed characters begin to appear feint, it is time to replace the ribbon cassette. If not, it will affect the print quality or even damage the print head.

  1. Before replacing the ribbon cassette, make sure the printer is turned off. Open the ribbon cassette cover, then follow the figure shown on the ribbon cassette, have your thumb and middle finger press the ribbon cassette, lift the left side of the ribbon cassette first, then lift the whole ribbon cassette. At last, follow the above steps to install a new ribbon cassette.
  2. Our company will not guarantee to keep the printer in good repair, when it is damaged by using unauthorized ribbon cassette.

2.6 Installing the Driver

Install the driver after connecting the host computer, insert the driver disk to the computer, and then follow the steps below:

Auto-install way

Double click the file "Setup.exe" in the driver disc, install driver by the following direct.

Hand operated installing way

The flow of hand operated installing driver on windows 2000/XP/Vista/Win7 system as follows, another system's please refer to the User's Manual.

  1. Click "Start" --> "Settings", select "Printers".
  2. Click "Add Printer", then it will show a window of "Add Printer Wizard", click "Next", then please read the select direct carefully, Such as, select "Local printer" in the "Local or Network Printer" window, then click "next".
  3. Come out a window of "Select the Printer Port", select a usable port. Such as, select "LPT1: printer port", click "Next".
  4. Come out a window of "Manufacturers/Printers", click "Have Disk...", click "Next".
  5. Come out a window of "Install From Disk". Please according to the operating system environment you should select the path as follow: CD-ROM-"Driver"-"WIN2000(XP/vista)", that you can find a file named: EC-520.inf, click "Open", then click "OK", click "Next".
  6. Follow the direct click "Next" gradually till the installation is finished.

NOTE:

When using USB for printing in Windows 98, Windows ME, please install the USB driver as following:

1) Make sure the printer is turned on and connect the computer first, using the USB connector.
2) Click "NEXT" In the "Add New Hardware Wizard" window that pops up.
3) Select "Search for the best driver for your device (Recommended)", then click "Next".
4) Select the "Specify a location" option, click the "Browse" button and search the installation path in the disk, then click "Next".
5) After the installation is finished automatically, click "finish" button.

Chapter 3 Control Panel

3.1 Control Panel

There are three LEDs and one key on the control panel as shown in Figure 3-1.

POWER PAPER OUT ERROR FEED

Figure 3-1 Control panel

3.1.1 Indicator LEDs

LED On Blinks Off
POWERPower on——Power off
PAPER OUTPaper out ;Alarm voice is emitted.Paper near end Paper in
ERRORError occursPrint head is too hot and protectedNormal status

3.1.2 Function Keys

While pressing the FEED key and holding on, turn on the printer at the same time. Loosen the FEED key according to voice presentation times, and the printer will perform the following function correspondingly.

Voice presentation times Function Description
One beep Self-test
Two beeps print-pins test
Three beeps Enter the mode of column setting
Four beeps Enter the mode of hexadecimal printing
Five beeps Initialize the printer
Six beeps Long-time-printing test

Note: When there is paper in the printer, every time the FEED key is pressed ( less than 0.5 second), paper will feed one line. If you press and hold on the key, the paper will feed continuously until you release it.

3.2 Printer Default Setting

EC-520 9Pins Mini Printer V2.00

Have no Cut 200903110KY76F

Black Mark setting: Valid

Print Direction: B1-DIR

Paper Width: 76mm

EC-520C 9Pins Mini Printer V2.00

Have Cut 200903110KY76F

Black Mark setting: Valid

Print Direction: B I - D I R

Paper Width: 76mm

Figure 3-2 EC-520/C Default Setting (Parallel and USB Interface)

EC-520 9Pins Mini Printer V2.00

Have no Cut 200903110KY76F

Interface: R S - 2 3 2

Baud Rate: 9600

Parity check: No

Data length: 8 bits

Stop bit: 1 bit

Control mode: DTR/DSR

Black Mark setting: Valid

Print Direction: B1-DIR

Paper Width: 76 mm

EC-520C 9Pins Mini Printer V2.00

Have Cut 200903110KY76F

Interface: RS-232

Baud Rate: 9600

Parity check: No

Data bit length: 8 bits

Stop bit: 1 bit

Control mode: DTR/DSR

Black Mark setting: Valid

Print Direction: B I - D I R

Paper Width: 76 mm

Figure 3-3 EC-520/C Default Setting ( Serial Interface )

3.3 Explanation for Printer setting Items

  1. Through the inside setting of the printer (EC-520, with Parallel Interface or USB Interface), you can set the following items: black mark setting, print direction, paper width.

① Black mark setting

Black mark setting can be selected by "Black mark invalid" or "Black mark valid". You can select the function by the paper type (with or without black mark). "Black mark valid" is selected in the factory default setting.

Print Direction setting

Bidirectional printing and Unidirectional printing;

Bidirectional printing is the factory default setting.

Paper width setting

76mm and 57.5mm

  1. Through the inside setting of the printer (EC-520, with Serial Interface), you can set the following items: Interface type, Baud rate, Parity selection mode, Data length, Stop bit, Control mode, Black mark setting, Print direction, paper width.

① Interface Type

RS-232 interface

② Baud Rate

9600bps, 19200bps;

"9600bps" is the factory default setting.

③ Parity Check Mode

"No check mode", "Even check mode "and "Odd check mode";

"No check mode" is the factory default setting.

④ Data Length

Data length is pre-set by 8 bits with no change.

⑤ Stop Bit

Stop bit Data length is pre-set by 1 bit with no change.

⑥ Control mode

DTR/DSR, XOFF/XON;

"DTR/DSR" is the factory default setting.

⑦ Black mark setting

Black mark setting can be selected by "Black mark invalid" or "Black mark valid". "Black mark valid" is selected in the factory default setting.

⑧ Print direction

Bidirectional printing and Unidirectional printing; Bidirectional printing is the factory setting.

⑨ Paper width

76mm and 57.5mm

3.4 Self-Test Function

■ Self-Test Mode

While pressing the FEED key and holding on, turn on the printer. The printer sounds one beep, and you should release the FEED key at the same time. The printer will print the self-test. As shown in the following figure.

EC-520 9 Pins Mini Printer V1.0 Have Cut 0807230KY76F Black Mark: OFF Print Mode: BI-DIR Paper Width: 76mm !"#$X&'()*+,-./0123456789;;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_^`abcdefghijklmnopqrstuvwxyz{!~"GuéaàaàsèeèiìÀAéaRàòòùyòu£¥R fáióóññāgir-5%¡«»■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ ≤J:=°..√n²# !"#$X&'()*+,-./0123456789;;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_^`abcdefghijklmnopqrstuvwxyz{!~"GuéaàaàsèeèiìÀAéaRàòòùyòu£¥R fáióóññāgir-5%¡«»■■■■■■■■■■■■■■■■■■■■■■■ ■mBπΣout#08&ne≡±≥J:=°..√n²# EC-520 EC-520/C EC-520/C SELF COMPLETE

Parallel Interface

EC Line EC-PM-520 - ■ Self-Test Mode - 2

Serial Interface
Figure 3-4 Self-test sample

While pressing the FEED key and holding on, turn on the printer. The printer sounds two beeps, and you should release the FEED key at the same time. The printer will print the print-pins test. As shown in the following figure.

EC-520 9Pins Mini Printer V2.00 Have no Cut 200903110KY76F print-pins TEST 1 2 3 4 5 6 7 8

EC-520C 9Pins Mini Printer V2.00 Have Cut 200903110KY76F print-pins TEST 1 2 3 4 5 6 7 8 _________________________________________________________

Figure 3-5 Sample of print-pins test

■ Mode of column setting

While pressing the FEED key and holding on, turn on the printer. The printer sounds three beeps, and you should release the FEED key at the same time. The printer will print the degree of column adjusting. As shown in the following figure. Each press will add 1 to the original value. If you select BID 08, press FEED key for 8 times, and then press this key for a long time, it will be saved after sounding two beeps, and the present selected value will be printed at the same time. Turn off the printer; the new value will be active after the printer is restarted.

EC-520 9 Pins Mini Printer V1.0 Have Cut 0807230KY76F OF: H OE: H OD: H OC: H OB: H OA: H 09: H 08: H 07: H 06: * 05: H 04: H 03: H 02: H 01: H 00: H SELECT: 05: H

Figure 3-6 Sample of column setting

NOTE:

Adjustment of column can have effect on printing quality. You must think carefully before adjusting and must operate strictly according to instruction.

■ Hexadecimal Printing Mode

While pressing the FEED key and holding on, turn on the printer. The printer sounds four beeps, and you should release the FEED key at the same time. The printer will enter the Hexadecimal Printing Mode, as shown in the following figure.

DUMP MODE 0000: 1B 40 1B 63 35 F1 0D .@.c5.. 0007: 1B 40 1C 26 D6 B8 C1 EE B2 E2 .@.&...... 0011: CA D4 A3 AB 45 53 43 20 26 A1 ....ESC &. 001B: A2 45 53 43 20 25 A1 A2 45 53 .ESC %..ES 0025: 43 20 3F A3 A9 D7 D4 B6 AB D2 C ?...... 002F: E5 D7 D6 B7 FB 0D 0A 1B 40 1C ......@. 0039: 26 D7 D6 B7 FB B6 A8 D2 E5 C7 &...... 0043: B0 A3 BA 1C 2E 35 36 37 0D 0A .....567.. 004D: 1B 26 01 35 37 07 40 24 14 OF .&.57.@$.. 0057: 14 24 40 07 40 24 14 OF 14 24 .@.@...$ 0061: 40 07 40 24 14 OF 14 24 40 OD @.@...@. 006B: OA 1C 26 D7 D6 B7 FB B6 AB D2 ..&...... 0075: E5 BA F3 A3 BA 1B 25 01 1C 2E ......%... 007F: 35 36 37 OD OA 1B 3F 36 OD OA 567...?6.. 0089: 1C 26 C8 A1 CF FB D7 D6 B7 FB .&...... 0093: 36 B6 AB D2 E5 BA F3 A3 BA 1C 6...... 009D: 2E 35 36 37 OD OA .567..

Figure 3-7 Sample of Hexadecimal Printing Mode

3.5 Online-aptitude Parameter Settings

EC-520 supports the function of online-aptitude parameter settings, which can be set in the PC with the driver installed in.

The concrete setting steps are shown as follows:

  1. Make sure that the host and the printer are connected with a cable and both the host and the printer is turned on, the printer should be online as well.
  2. Click "Start"→"Settings"→"Printers"
  3. Right click "EC PRINTER EC-520" in the "Printers", select "Properties".
  4. Click "Device Property" in the property page.

EC-520 Properties General Sharing Ports Advanced Security Device Settings Printer Settings Printer Setting Menu Select Printer Setting Class : SERIAL I/F Reset All Options : Baud rate Select baud rate Parity * Default = 9600 BPS * Data bit Stop bit Protocol 1200 BPS 2400 BPS 4800 BPS 9600 BPS 19200 BPS Set All Set Current OK Cancel Apply

  1. The setting way is corresponding with that of printer menu system. In the "Printer Settings" layout, select the first class menu in the combo box of "Select Printer Setting Class", select the second menu in the "Configuration" and set the item in the current parameters list.
  2. Click the button "Reset All" to reset all the parameters to be the driver's default, but not change the printer's settings.
  3. When setting the parameters: you can click "Set Item" to save the current settings after setting each item, or you can also click "Set All Items" after setting all parameters. After clicking "Set All Item" or "Set Item", the parameter's instruction will be sent to the printer.
  4. The printer's parameter settings are changed at once after receiving the instruction and the printer does not need to restart.
  5. After finishing settings, click "OK", exit the "Properties" window.

Chapter 4 Loading Paper

The printer can use the paper with the width 76mm or 57.5mm, and it is easy to load paper. How to load paper will be introduced in this chapter.

  1. Press the open button to open the roll paper cover. If you want to use 57.5mm paper roll to print, you must install the 57.5mm roll paper guide and 57.5mm partition board, and set the paper parameter (as shown in Part 5.2).

Paper filler ① Roll Paper Cover Paper Insert Slot

57.5mm Partition Board Roll Paper Guide

  1. Take the paper roll into the paper filler (Note the direction the paper pulled out of the roll, as shown below).

Paper Roll ⑥ ⑤ ④ ③

  1. Turn on the printer, then hold both edges of the paper and insert it straight into the paper insert slot until the paper is fed automatically.

Note: Paper head must be even, or the paper cannot be fed. If this phenomenon happens, you must pull out paper head and cut evenly the paper head, and load paper once again.

  1. Close the roll paper cover and press FEED key to set the beginning print position.

Roll Paper Cover

Note: The loading paper procedure of EC-520C (with auto-cutter) is the same with that of EC-520 (without auto-cutter)

Chapter 5 Specifications

5.1 Basic Specifications

Printing method Dot matrix impact
Printing DirectionBidirectional wizard
Printing width42 columns / 63mm (76mm paper width)30 columns / 45mm (57.5mm paper width)
Printing Speed:4.7 rows/s (paper width 76mm, 40 columns);6.0 rows/s (paper width 57.5mm, 30 columns)
Printer head9 pins; Diameter of pin is 0.3 mm;Life: 4 hundred million dots/pin (200 million characters)
Printing precisionLateral direction :420 dots per line (76mm paper width)300 dots per line (57.5mm paper width)
Longitudinal direction:1 4 4 D P I
Character set ASCII sets, International character sets;GB18030 15x16 big character
Line spacing 1/6 inch, or setted by increment of 1/144 inch
Paper Feed Speed 140mm/s(Max) (Continuous paper feed)
Emulation ESC / POS
Interface typesOne cash drawer interface and one communication interface( parallel interface or serial interface or USB interface or USB&Ethernet interface)Cash drawer interface: CPC6Parallel interface: CentronicsSerial interface: RS-232CUSB interface: 2.0 Full-speedUSB&Ethernet interface: USB:2.0 Full-speed; Ethernet: RJ-45
Buffer60KB
Ribbon Type: JMR113Life: 3 million characters in draft mode
Acoustic noise Less than 65 db (ISO7779 standard)
Operating panel 1 key and 3 indicator lights
Paper Type Roll paper
Paper SpecificationsPaper Width: 76mm or 57.5mmPaper Weight: 52.3~64.0 g/ m2Paper Thickness: 0.06~0.20mmOuter Diameter: 83mm (3.27”) max.Inner Diameter: 10mm (0.394”) min.
Copy Capability 3 pieces (Original + 2 copies)
Black Mark With black mark detecting device
External dimensions: 236mm(L) X 156mm(W) X131mm(H)
Weight About 2.1 kg (with auto-cutter)About 1.9 kg (without auto-cutter)
Optional part Auto-cutter
Environmental ConditionOperating: 5°C-40°C, 20%-80% RH (No condensing)Storage: -10°C-60°C, 10%-90% RH (No condensing)
Power supplyInput: AC 100-240VFrequency 50Hz/60Hz
Output: DC24V2.5 A
Power consumptionReliabilityWorking power: 16.8W; 2max. power: 26W;3Standby power: 3.6 W.Note: Only in power-off status can reach zero consumption.MTBF: No less than 4000 hours (IEC 605.7 standard)Total Print Volume: No less than 12 million lines
Safety StandardsGB 4943-2001 (Chinese)
EMIClass B
CertificationCCC certification, Environmental protection certification,Internationally standard product Certification

Note : The Printer head life and MTBF above are realized by using appointed printing paper and ribbon cassette in the environment appointed by EC PRINTER.

5.2 Interface

5.2.1 Cash drawer Connector

(1) The cash drawer connector on rear panel of printer is RJ-11 connector (6 lines), shown as below.

EC Line EC-PM-520 - Cash drawer Connector - 1
Figure 5-1 cash drawer connector

(2) Definition of pins

The definition of the cash drawer connector pins is shown as the Table below:

Table A-1 Definition of the Cash drawer Connector Pins

Pin NO.Signal NameElectric CharacteristicSignal Direction
1Frame GND
2 Cash drawer drive signal DC24V/1A Output
3 Cash drawer Open/close signal TTL Input
4+24VDC Power
5NC
6Cash drawer Open/close signal GND

5.2.2 Parallel Interface

(1) Technology specifications

a) Select pulse: Pulse is supplied from exterior/STROBE.
b) Signal exchange: /ACKNLG (answer) and BUSY.
c) Logic electric level: All the input data and interface control signal are compatible with TTL electric level.

(2) Linker

Parallel interface is 57-30360 (AMPHENOL). The parallel interface connector is shown as Figure 5-2.

18 1 36 19

Figure 5-2 pins NO. of the parallel interface connector

(3) Definition of pins (as shown in table A-2)

Table A-2 Pin function of parallel interface connector

PinreturnSignal nameDirection Description
119/STROBEData selectedIN
2 20DATA1Date bit 1 IN / OUTMeans 8 bits of parallel data signal. High level means logical “1”, low level means logical “0”.
3 21DATA2Date bit 2 IN / OUT
422 DATA3Date bit 3 IN / OUT
5 23DATA4Date bit 4 IN / OUT
6 24DATA5Date bit 5 IN / OUT
7 25DATA6Date bit 6 IN / OUT
8 26DATA7Date bit 7 IN / OUT
9 27DATA8Date bit 8 IN / OUT
1028/ACKNLGAnswer outOUT
1129BUSYPrinter stateOUT
1230PEPaper outOUT
13SLCTPrinter is selectedOUT
14/AUTOFEEDAuto feedIN
15NCEmpty pin---
16GNDLogical ground---
17CHASSISStructure ground---
18NCEmpty pin---
19~30GNDGround---
3116/INITInitialization of printerInput
32/ERRORError happens with printer.OutWhen the printer is in state of paper out, offline condition or error, this signal level becomes low.
33GNDGround---Same with 19~30 pins.
34NCEmpty pin---This pin is empty.
35+5V+5VsupplyPull up to 5V by the 3.3K Ω pull-up resistor.Out
36/SLCTINPrinter is selected and answered.InOnly when this signal level is low, can the data be put into the printer.

* The “direction” in the title panel means the flow direction of printer signal to the printer.
* "Return" in the title panel means returning by pair-twist. You must confirm that the interface cable is pair-twist shielding line, and every signal line is looped with ground line and pair-twisted together. Shielding line should be connected with the frame ground of host computer and printer.
* All the interface condition is based on TTL level. The rising and falling time of signal must be less than 0.2 ms.
* The data transfer must comply with the specification of ACKING or Busy signal. Only when the level of ACKING or Busy signal is low can data be transferred.

(4) Time sequence of Parallel to transmit data (as shown by figure 5-3):
EC Line EC-PM-520 - Parallel Interface - 2

flowchart
graph TD
    BUS -->|0.5 μs| DAT
    DAT -->|0.5 μs| STR
    STR -->|5 μs| BUS
    BUS -->|5 μs| DAT
    DAT -->|5 μs| STR
    style BUS fill:#f9f,stroke:#333
    style DAT fill:#ccf,stroke:#333
    style STR fill:#cfc,stroke:#333
    style /ACK fill:#fcc,stroke:#333
    style /STR fill:#cff,stroke:#333

Figure 5-3 Time sequence of Parallel to transmit data

5.2.3 USB Interface

  1. The USB interface connector is USB-B type (as shown by figure 5-4):

EC Line EC-PM-520 - USB Interface - 1
Figure 5-4 USB-B type connector

  1. The connecting figure of printer and computer with USB interface (as shown in figure 5-5).

EC Line EC-PM-520 - USB Interface - 2

flowchart
graph LR
    A["D0"] --> B["PDIIUSBD12"]
    C["D7"] <-- B
    B --> D["VBUS"]
    B --> E["GND"]
    B --> F["D+"]
    B --> G["D-"]

Printer's 26PIN connector
PDIUSBD12 chip USB-B connector

Figure 5-5 connecting figure of printer and computer with USB interface

USB Interface is 2.0 Full-Speed interface, and displayed as an USB port in the computer finally. You can use the USB Interface to print by selecting corresponding USB port.

5.2.4 Serial Interface

(1) Serial interface is RS-232 type and the connector type is DB-25. The DB-25 connector is shown as Figure 5-6.

13 1 25 14

Figure 5-6 pin's NO. of the serial interface connector

(2) Connecting figure of printer and computer with serial interface The figure is shown as follows:

DTR GND TXD RXD 20 7 2 3 6 1 8 5 2 3 DSR DCD CTS GND RXD TXD

Printer's 25PIN connector
Host computer's 9PIN connector

Figure 5-7 connecting figure of printer and computer with serial interface

(3) Definition of pins

Definition of each pin of RS-232 serial interface is shown in Table A-3:

Table A-3 Definition of pins of RS-232 serial interface

Pin NO.Signal nameSignal Direction
1FG Frame GND
2TXD Data output Output
3RXD Data input Input
4RTS Ask forSending
5CTS Allowable to Send Input
6DSR Data Set Ready Input
7GND power GND
8DCD Data Carrier DetectInput
......
20DTR Data Terminal ReadyOutput
......

Output

5.2.5 Ethernet Interface

10/100Base-T internet interface, can connect to 10/100M internet.

EC Line EC-PM-520 - Ethernet Interface - 1
Fig 5-8 Ethernet connector

5.3 Auto-cutter Specification

EC-520C is equipped with an auto-cutter, which parameter is shown as table A-4:

Table A-4 Auto-cutter Specification

ItemSpecification
Paper width85mm (max.)
Paper thicknessPaper thickness :65~75 μm
Cutting modefull cut or partially cut leaving point
drive voltage (V)Motor: 24±2.4, detector: 5±0.165
startup current (A)1.2 (max.)
Operating time( second/ cut period)500 (max.)
Cutting frequency (cuts/minute)30 (max.)
External dimensions (length× width ×height)(mm3)100*52*15

Chapter 6 Printer's maintenance

6.1 Clean the Printer

It's necessary to clean the printer periodically.

Carriage shaft Carriage module

Figure 6-1

■ Interval and Material for cleaning

Interval: Every 6 months or 300 hours of working time.

Material: Dry cloth (soft cloth for metal parts).

■ Cleaning the paper feed pathway and the area under the moving path of carriage

Wipe soiled parts of the printer with clean cloth. Remove bits of paper by tweezers.

■ Cleaning Carriage Shaft

The carriage shaft is coated with oil, which is easy to absorb dust. Please wipe the dust with soft cloth.

Note: 1. When the printer is used in dusty environment, the carriage shaft may easily absorb dust, which will affect the normal printing.

  1. Turn off the printer before cleaning.
  2. Print head becomes very hot during printing, allow it cool before you clean the printer,
  3. Don't use hard cloth or flammable solvent to clean the printer.

6.2 Problems and Solutions

(1) Turn on the printer, all LEDs are off, and printer have no action

Make sure that the printer is connected to the power, and check whether the power cable and electrical outlet are working normally.

(2) Self-test is ok, but online is disabled.

Please make sure that the printer is connected with the computer correctly and the paper is loaded well.
If it can't print with online function all the time, please replace the interface cable with a new one.

(3) Paper out

☐ Phenomenon: Paper out LED is on and cannot print;

Or the printing action stops suddenly while printing, and paper out LED is on; and at the same time the alarm voice is presented by the printer.

Reason: Paper out

Solution: Install paper roll once again, the printer will resume normal.

☐ Phenomenon: Paper out LED is blinking.

Reason: Paper is about to use up.

Solution: Prepare to install new paper roll.

(4) Print head overheat protection

Phenomenon: The print head move, but not print.

Reason: The temperature of the print head is too hot, and it enters the protect state.

Solution: Please wait patiently; the printer will recover automatically after the print head has been cooled.

(5) Print quality

①Phenomenon: The printer can't print at all.

Solution: 1. Check the ribbon cassette is installed correctly.

  1. Make sure that the interface cable is connected correctly.

②Phenomenon: The printed characters are feint

Solution: Remove the ribbon cassette and turn the ribbon knob, then install it again. If the printed characters are still feint, please replace a new one.

③Phenomenon: One line prints only one character, or the spacing between characters is too large.

Solution: Initialize the printer and make it come back to factory default setting.

Method: Pressing the FEED key, and turn on the printer, when you hear it sound 5 beeps, loosen the FEED key, the printer is initialized automatically.

(6) print character

Phenomenon: The printer can't print the appropriate characters.

Solution: Make sure the driver is installed correctly, and the character format you selected in the application is the appropriate format.

Chapter 7 Command Code Summary

7.1 General

The EC-520 printer's control commands are compatible with ESC/POS.

Explanation of every command include format and description. "Format" parts give three kinds of command format including ASCII Code, Decimal code and hexadecimal code. "Description" parts describe the function of command. These three kinds of command format are equivalent, and you can select anyone by your need.

The explanation format of these commands is shown as following:

CommandFunction
Format:ASCII: Indicates the ASCII equivalents
Decimal: Indicates the decimal equivalents
Hex: Written in hexadecimal code

[Description] Describes the function and using instruction of this command.

7.2 Explanation of Command

HTHorizontal tab
Format:ASCII:HT
Decimal:9
Hex:09

[Description]

Moves the print position to the next horizontal tab position.

If the current printing position exceeds the last horizontal tab position, the HT command will not be executed.

Horizontal tab positions are set by "ESC D" command.

LFPrint and line feed
Format:ASCII:LF
Decimal:10
Hex:0A

[Description]

Prints one line data in the line editing buffer and feeds one line based on the current line spacing.

If the line editing buffer is empty, then only feeds one line based on the current line spacing without printing.

CRPrint and carriage return
Format:ASCII:CR
Decimal:13
Hex:0D

[Description]

The printer prints one line data in the line editing buffer and the print head returns to the left position automatically.

FFPrint and change page
Format:ASCII:FF
Decimal:12
Hex:0C

[Description]

Prints one line data in the line editing buffer and feeds to the top of next page based on the current page length.

ESC SPSet right-side character spacing
Format:ASCII:ESCSPn
Decimal:2732n
Hex:1B20n

[Description]

Sets the right-side character spacing to n times of half dot spacing (1/144 Inch).

n=0\~32; Default n=0.

ESC !Set character printing mode
Format:ASCII:ESC!n
Decimal:2733n
Hex:1B21n

[Description]

“ESC ! n” is synthetic setting command for character printing mode, and is used for selecting size and underline of printed character. The bit definition of print parameter “n” is shown as follows:

Bit FunctionValue
0 1
0Characterfont5×7 7×7
1undefined
2undefined
3undefined
4Double-heightCancelSelected
5Double-widthCancelSelected
6undefined
7Underline Turned off Turned on

Default n=1. That means: 7 × 7 dot array, normal character size and no underline.

ESC % Select/cancel user-defined character set

Format: ASCII:ESC%n
Decimal:2737n
Hex:1B25n

[Description]

Parameter n is one byte, and only the lowest bit is valid.

When n=<*****1>B, the user-defined character set is selected.

When n=<*****0>B, the inner character set is selected.

ESC &
Define user-defined characters

Format: ASCII:ESC & s n m a d1 d2......db
Decimal:2738s n m a d1 d2......db
Hex:1B26s n m a d1 d2......db

[Description]

This command is used for self-defining characters. The meaning of each parameter is shown as follows:

s: The number of longitudinal byte. Here S=1,2. When n=1, define 7 × 7 character. When n=2, define 7 × 9 or half-size character.
n: Starting ASCII code of user-defined character set. n≥32.

m: Ending ASCII code of user-defined character set. m ≤slant 127 . The number of user-defined characters is m-n+1 , and the maximum number is 96. When user defines only 1 character, m=n.

a: The byte number of user-defined characters.

d1 d2…db: The data of user-defined characters. Every character has s×a bytes. m-n+1 bytes altogether have (s×a) × (m-n+1) bytes. The user-defined characters after being defined will be valid all the time until they are defined again or the printer is turned off.

The format of user-defined characters is shown as follows:

EC Line EC-PM-520 - [Description] - 1

flowchart
graph LR
    A["d1"] --> B["d4"]
    C["d2"] --> D["d3"]
    E[" "] --> F["b7"]
    G[" "] --> F
    H[" "] --> F

ESC *
Select bit-image mode

Format: ASCII:ESC * m n1 n2 [d] n1+256×n2
Decimal:27 42 m n1 n2 [d] n1+256×n2
Hex:1B 2A m n1 n2 [d] n1+256×n2

[Description]

This command is used for setting dot matrix figure mode (m) and setting the transverse dots number (n1, n2) of dot matrix figure.

m=0, 1

$$ 0 \leqslant n 1 \leqslant 2 5 5, 0 \leqslant n 2 \leqslant 3, 0 \leqslant d \leqslant 2 5 5 。 $$

n1, n2 is hexadecimal figure with two bits. n1 is low byte and n2 is high byte. n1, n2 is used for denoting the transverse dots number of figure printed by “ESC *” command. This value should be within the number of maximum line-width dots.

When m=0, normal printing is selected, the maximum number of printing dots is 210.

When m=1, half-dot printing is selected, the maximum number of printing dots is 420. On this condition the adjacent dots cannot be "1" at the same time.

ESC -Turn underline mode on/off
Format:ASCII:ESC-n
Decimal:2745n
Hex:1B2Dn

[Description] n=0, turns off underline mode; n=1, turns on underline mode.

ESC 2 Set 1/6 inch line spacing

Format: ASCII:ESC2
Decimal:2750
Hex:1B32

[Description] Set the line spacing to 1/6 inch.

ESC 3 Set n/144 inch line spacing

Format: ASCII:ESC3n
Decimal:2751n
Hex:1B33n

[Description] Set the line spacing to n/144 inch.

n = 0\~255。

Default: n=24。

ESC < Print head Returns to standby position

Format: ASCII:ESC<
Decimal:2760
Hex:1B3C

[Description] This command makes the print head move to the standby position.

ESC ? n Cancel user-defined characters

Format: ASCII:ESC?n
Decimal:2763n
Hex:1B3Fn

[Description] Cancels the user-defined character "n". This command function can be canceled only after the computer being restarted.

ESC @ Initialize printer

Format: ASCII:ESC @
Decimal:2764
Hex:1B40

[Description]

This command is used for initializing the printer, and its function is described as follows:

(1) Clearing the data in the print buffer and line-editing buffer.
(2) Resuming the default value.
(3) Setting the printing mode of Chinese character.
(4) Deleting user-defined characters.

ESC C set the page length according to line spacing

Format: ASCII:ESCCn
Decimal:2767n
Hex:1B43n

[Description]

The command sets the length of detecting black mark in the meantime. If the black mark can't be detected in this length, then it is considered that the paper has no black mark.

The specified page length = current line spacing* n.

ESC D Set horizontal tab positions

Format: ASCII:ESCDn[k]NULL
Decimal:2768n[k]0
Hex:1B44n[k]00

[Description]

Set horizontal tab positions to n1, n2, ..., nK.

For EC-520, k=1\~21, and it can set 21 horizontal tab positions at most.

The absolute horizontal position of the first horizontal tab is: n1 times of half-dot distance;

The absolute horizontal position of the second horizontal tab is: (n1+n2) times of half-dot distance;

The absolute horizontal position of the third horizontal tab is: (n1+n2+n3) times of half-dot distance;

......

The absolute horizontal position of the Kth horizontal tab is: (n1+n2+n3++nK) times of half-dot distance;

Default value: n1=n2=......=nK=10。

All the horizontal tab positions (ni) should be within the line width allowed by the printer. ni=1\~80, it is equal to 40 7×7 or 7×9 dot matrix characters width, or equal to 20 16×15 Chinese characters width.

After executing “ESC D” command, changing the kind and size of characters will not affect tab positions already set. This can guarantee that tab is put in order when Chinese characters are confused with common characters in one line, or when characters are magnified or shrinked.

NUL put in the end means that this command is over.

ESC E Set / Cancel boldface printing

Format: ASCII:ESCEn
Decimal:2769n
Hex:1B45n

[Description]

This command realizes boldface printing by printing twice in which 2nd printing shifts little rightwards from 1st printing.

  • When n is 0, boldface printing is invalid.
  • When n is 1, boldface printing is valid.

ESC G Turn double-strike mode on/off

Format: ASCII:ESCGn
Decimal:2771n
Hex:1B47n

[Description]

When double-strike mode is turned on, the same character will be printed twice in the same position.

  • When n is 0, double-strike mode is turned off.
  • When n is 1, double-strike mode is turned on.

ESC J
Print and feed paper

Format: ASCII:ESCJn
Decimal:2774n
Hex:1B4An

[Description] Prints the data in the print buffer and feeds the paper by n/144 inch. If there is no content in buffer, the printer will feed paper directly without printing.

ESC K
Print and feed reversely

Format: ASCII:ESCKn
Decimal:2775n
Hex:1B4Bn

[Description] Prints the data in the print buffer and feeds the paper by n/144 inch in the reverse direction. n=0\~48.

ESC U
Turn unidirectional printing mode on/off

Format: ASCII:ESCUn
Decimal:2785n
Hex:1B55n

[Description]

Turns unidirectional print mode on or off. n=0\~255, only the lowest bit is valid.

When n=<*****1>B, unidirectional printing mode is set.

When n=<*******0>B, bidirectional printing mode is set.

[Default] n = 0.

ESC c 4 n
Select paper sensor to stop printing

Format: ASCII:ESCc4n
Decimal:279952n
Hex:1B6334n

[Description]

Selects the paper sensor to stop printing when a paper end is detected.

n=0\~255.

n=05H, selects the paper sensor to stop printing when a paper end is detected.

n=0, when a paper end is detected, printing is not stopped, so that user can print the last bill to the page end.

[Default] n = 05H.

ESC c 5 n
Enable/disable panel buttons

Format: ASCII:E S C c 5 n
Decimal:279953n
Hex:1 B6 33 5n

[Description] Enables or disables the panel buttons.

  • When n = < * * * * * 0 > B , all buttons are enabled (Default).
  • When n = < * * * * * 1 > B , all buttons are disabled.

ESC d
Print and feed n lines

Format: ASCII:ESCdn
Decimal:27100n
Hex:1B64n

[Description]Prints the data in the print buffer and feeds n lines. n=0\~255.

ESC e
Print and feed reversely n lines

Format: ASCII:ESCen
Decimal:27101n
Hex:1B65n

[Description]Prints the data in the print buffer and feeds n lines in the reverse direction. n=0\~2. The maximum reverse paper feed spacing is 48 dots (48*0.176mm).

ESC i
Full cut

Format: ASCII:ESCi
Decimal:27105
Hex:1B69

[Description] Execute a full cut of the paper roll by auto cutter.

ESC j
Print and feed reversely

Format: ASCII:ESCjn
Decimal:27106n
Hex:1B6An

[Description] Prints the data in the print buffer and feeds the paper in the reverse direction by 1/144 inch. If there is no data in the print buffer, the printer will feed paper directly. n=0\~48.

ESC m
Partial cut

Format: ASCII:ESCm
Decimal:27109
Hex:1B6D

[Description] Executes a partial cut of the roll paper.

ESC p
Generate cash drawer drive pulse

Format: ASCII:ESCpmn1n2
Decimal:27112mn1n2
Hex:1B70mn1n2

[Description] Generate cash drawer drive pulse.

M=0,1,48,49; 0 ≤slant n1 ≤slant n2 ≤slant 255

The format of pulse is shown as follows:

n1×2ms n2×2ms

ESC v
transmit printer status

Format: ASCII:ESCv
Decimal:27118
Hex:1B76

[Description]

This command is effective by using serial interface, and its function is to transmit the status of paper sensor as 1 byte of data. The signification of this byte is following:

When paper is out, bit2=1; When paper is in, bit2=0;

When black mark is effective, bit7=1 denotes that the current position is the black mark position; bit7=0 denotes that the current position is not the black mark position. If black mark is ineffective, this bit is undefined.

FS !
Select Chinese character mode

Format: ASCII:FS!n
Decimal:2833n
Hex:1C21n

[Description]

The bit function of "n" is shown as follows:

bit2=0, double-height mode is disabled; bit2=1, double-height mode is enabled

bit3=0, double-width mode is disabled; bit3=1, double-width mode is enabled

bit7=0, underline is disabled; bit7=1, underline is enabled

[Default] n = 0

FS &
Enter Chinese characters printing mode

Format:ASCII:FS&
Decimal:2838
Hex:1C26

[Description]

When received this command, after finishing current line printing, the printer will change to Chinese characters printing mode from next line.

Default mode is Chinese characters printing mode.

FS -
Set Chinese underline mode

Format: ASCII: FS-n
Decimal: 2845n
Hex: 1C2Dn

[Description]

Turns on or off underline mode for Chinese characters, using n as follows:

When n=0, underline has no effect on Chinese characters;

When n=1, Chinese characters are set by single underline mode;

When n=2, Chinese characters are set by double underline mode, but the shift generated by "HT" command is invalid.

FS 2
Self-define Chinese characters

Format: ASCII:FS2a1a2d1d2d3...d32
Decimal:2850248a2d1d2d3...d32
Hex:1C32F8a2d1d2d3d32

[Description] Defines the user-defined Chinese characters.

a1=F8 (Hex); A1 ≤ a2 ≤ FE (Hex).

Chinese code has two bytes: a1 is the first byte and a2 is the second byte.

FS S
Set full-size Chinese characters spacing

Format: ASCII:FSSn1n2
Decimal:2883n1n2
Hex:1C53n1n2

[Description]

Set the left-side character spacing to n1 dots; Set the right-side character spacing to n2 dots. Half-size characters will be put in good order automatically to ensure that the width of full-size character is twice that of half-size character.

Default: n1=0, n2=2.

FS
Turn quadruple-size mode on/off for Chinese character

Format: ASCII:FSWn
Decimal:2887n
Hex:1C57n

[Description] Turns quadruple-size mode on or off for multi-byte code character.

When n=<*******1>B, quadruple-size mode is turned on.

When n=<*******0>B, quadruple-size mode is turned off.

GS FF
Executes black mark detecting

Format: ASCII:GSFF
Decimal:2912
Hex:1D0C

[Description]

Executes black mark detecting command. If black mark is detected, the printer stops feeding paper and returns a value (AAH) by serial interface; If black mark is not detected, the printer feeds paper until to the end of this page and returns a value (55H) by serial interface.

GS ( A
test command

Format:ASCII:GS(ApLpHnm
Decimal:294065pLpH nm
Hex:1D2841pLpHnm

[Description] pL=2, pH=0, n=0, m=1, 49

Enter HEX print mode (HEX DUMP)

To cancel this command, you must restart the printer.

GS ( F set offset of black mark for printing and cutting position

Format: ASCII:GS(FpLpHamnLnH
Decimal:294070pLpHamnLnH
Hex:1D2846pLpHamnLnH

[Description]

The parameters set by this command will be valid even after the printer is restarted.

This command is used for selecting permission of orientation control by black mark and used for setting the beginning print-position offset or tearing/cutting position offset from black mark. This value is calculated by dots number.

The parameters of this command are shown as follows:

$$ \mathrm{pL} + (\mathrm{pH} \times 2 5 6) = 4, \text { that is: } \mathrm{pL} = 4, \mathrm{pH} = 0 $$

$$ 1 \leqslant a \leqslant 3, $$

$$ m = 0, 4 8 $$

$$ 0 \leqslant (n L + n H \times 2 5 6) < 1 7 0 0 $$

Line position for cutting/tearing paper Beginning printing position Middle position of black mark detector Feeding direction A=67mm C=29mm

Figure 7-1

● a: set the different offset

afunction
1et the beginning print-position offset from the black mark
2et the beginning tearing/cutting position offset from the black mark
3$et the beginning print-position offset from the cutter

● m=0 or m=48, calculate the offset in the feed direction;

- nL、nH: The distance of offset is (nL+nH×256)×0.176mm; when a=3, 0≤nL≤246 ;nH=0.

- nL=nH=0,when the black mark was detected, the current print head's position on the bill is the beginning print-position that is set, and the tearing/cutting position of the current bill is the tearing/cutting position that is set.

- Calculation explanation for the tearing/cutting position offset and the beginning print-position offset is shown as follows:

  1. When the distance L of the tearing/cutting position offset from the black mark is same with the inherent mechanical value L_0 of the printer, and the distance Q of the tearing/cutting

position offset from the beginning print-position is same with the inherent mechanical value Q_0 of the printer (shown as figure 7-2), all the offset value set by “GS (F)” command is 0.

Tearing/cutting position Beginning print-position L = L₀ 0 = 0₀ ABCDEFG BCDEFGH Black Mark Black mark detector

Figure 7-2

Tearing/cutting position Black mark L < L₀ 0 ABCDEFG BCDEFGH Black mark detector

Figure 7-3

  1. (1) When the distance L of the tearing/cutting position offset from the black mark is less than the inherent mechanical value L_0 of the printer (shown as figure 7-3), the calculation of tearing/cutting position offset is shown as follows:

tearing/cutting position offset = (d=L) /0.176 (dots number)

(2) When the distance L of the tearing/cutting position offset from the black mark is greater than the inherent mechanical value L_0 of the printer (shown as figure 4), the calculation of tearing/cutting position offset is shown as follows:

tearing/cutting position offset = (L+ distance of adjacent two black mark -L) /0.176 (dots number)

Note: When the tearing/cutting position offset is being set, the parameter "a" of "GS (F" command should be "2".

Cutting/tearing position Beginning print-position ABCDEFG BCDEFGH Black mark detector Black mark Cutting/tearing position

Figure 7-4

Black mark Cutting/tearing position Beginning print-position ABCDEFG BCDEFGH Black mark detector

Figure 7-5

  1. When the tearing/cutting position offset is not zero, or the distance Q of the tearing/cutting position offset from the beginning print-position is greater than the inherent mechanical value Q_0 of the printer(shown as figure 7-5), the calculation of the beginning print-position offset by “GS (F)” command is shown as follows:

the beginning print-position offset = (Q-0Q /0.176+ tearing/cutting position offset

Note: When setting the beginning print-position offset, the parameter "a" of "GS (F" command should be "1".

  1. The inherent mechanical value of the printer: L_0=A (mm) Q_0=C (mm) (shown as figure 7-1).

GS r
Transmit printer status

Format: ASCII: GS r n
Decimal: 29 114 n
Hex: 1D 72 n

[Description]This command is effective at serial interface.

If n=1 or n=49, paper status is returned. If paper is present, the bit2, 3 of the returned byte is 0; if paper is not present, the bit 2, 3 of the returned byte is 1.

GS V
select cut mode and cut paper

Format 1:ASCII:GSVmn
Decimal:2986mn
Hex:1D56mn

[Description]m=66,0≤n≤255

When m=66, paper is fed to the position (cutting position + n*1/144 inch) and paper is cut partially (only valid with auto-cutter type). But if the black mark is effective, the value of n is ineffective. The distance of paper feed is decided by the command of "GS (F)".

Format 2:ASCII:GSVm
Decimal:2986m
Hex:1D56m

[Description]

When m=1 or m=49, paper is fed to the cutting position and cut partially (only valid with auto-cutter type).

Appendix. Commands List

Control CodeHexadecimal Code Function
HT09Horizontal tab
LF 0A Print and line feed
CR 0D Print and carriage return
FF 0C Page mode print and return
ESC SP 1B20 n Set right-side character spacing
ESC !1B 21 n Select print mode(s)
ESC % 1b25 n Select/cancel user-defined character set
ESC & 1B26 s n m a d1..dn Define user-defined characters
ESC *1B 2A m n1 n2 Select bit-image mode
ESC -1B 2D nTurn underline mode on/off
ESC 21B 32Set 1/6 inch line spacing
ESC 31B 33 n Set n/144 inch line spacing
ESC <1B 3CReturn home
ESC ? n1B 3F nCancel user-defined characters
ESC @1B 40Initialize printer
ESC C1B 43 n set the page length according line spacing
ESC D1B 45 n1 ... nk NULLSet horizontal tab positions
ESC E 1B45 n Turn emphasized mode on/off
ESC G1B 47 nTurn double-strike mode on/off
ESC J1B 4A nPrint and feed paper
ESC K1B 4B nPrint and reverse feed
ESC U1B 55 n Turn unidirectional printing mode on/off
ESC c 4 n1B 63 34Select paper sensor(s) to stop printing
ESC c 5 n1B 63 35Enable/disable panel buttons
ESC d n1B 64 nPrint and feed n lines
ESC e n1B 65 nPrint and reversely feed n lines
ESC i1B 69Full cut
ESC j n1B 6A nPrint and reversely feed n/144 inch
ESC m1B 6DPartial cut
ESC p m t1 t21B 6FGenerate cash drawer pulse
ESC v1B 76Transmit printer status
FS !1C 21 nSelect Chinese character mode
FS &1C 26Set Chinese language mode
FS -1C 2D nTurn Chinese character underline on /off
FS .1C 2ECancel Chinese language mode
FS 21C 32Define user-defined Chinese characters
FS S1C 53 n1 n2Set Chinese character spacing
FS W1C 57 nTurn quadruple-size mode on/off for Chinese character
GS FF1D 0CPrint and eject label
GS ( A pL pH n m1D 28 41 pL pH n mTest command
GS ( F p pH a m nL nHL1D 28 46 pL pH a m nL nHset offset of black mark for printing and cutting position
GS r 1D 72n Transmit status
GS V m n1D 56 m n select cutmode and cut paper
Table of contents Click a title to access it
Manual assistant
Powered by Anthropic
Waiting for your message
Product information

Brand : EC Line

Model : EC-PM-520

Category : Printer