Oct 12, 2015
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
1/65
SM2000 THERMAL PRINTEROperation manual - Version 1.1
June-2005
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
2/65
FENIX IMVICO SM2000 OPERATION MANUAL
2/65
SM2000 thermal printer operation manual revision:
V1.1 Date: 16-6-2005Page Revision type Before change After change
All Add USB interface port
6 Add Dont printing...7 Add RECOMMENDATIONSThe plug have to be...
10 Add 3) Internal fuse: 4A, 250v slow ...21 Change 3.2- CLEARING A PAPER JAM
(point 2)3.2- CLEARING A PAPER JAM (change in point 2)
35 Add ESC t n command36 Correct Hexadecimal values of nin
ESC !commandn= 01|| 02 || 04 || 08||10|| 20 || 40 || 80
36 Eliminated Underline mode in ESC !command
Bit 7 !undefined
39 Correct The [NOTES]paragraphs ofESC aand ESC Mcommandsare exchanged.
Paragraphs exchanged
43 Add GS Hn command(n=0 and n=2)
GS Hn command(n=0, n=1, n=2 and n=3)
47 Correct Code128 example:GS k 73 10123 66 114101 ...
Code128 example:GS k 73 11123 66 82101 ...
53 Add APPENDIX C- HOW TO ORDER59 Change PC437 character table D5h (213)
position = !!!!PC437 character table D5h (213)
position =(Euro)60 Add APPENDIX D (Cyrillic table)
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
3/65
FENIX IMVICO SM2000 OPERATION MANUAL
3/65
INDEX
IMPORTANT NOTES IN SM2000 THERMAL PRINTER MANAGEMENT...........6
0 INTRODUCTION............................................................................................ 8
1 GENERAL SPECIFICATIONS....................................................................... 91.1- Printing specifications................................................................................................. 91.2- Character specifications.............................................................................................. 91.3- Paper loading.............................................................................................................. 101.4- Autocutter.................................................................................................................... 101.5- Paper specifications.................................................................................................... 101.6- Internal buffer.............................................................................................................. 101.7- Electrical specifications.............................................................................................. 101.8- Environmental conditions........................................................................................... 10
2 INSTALLATION.............................................................................................. 112.1- INTRODUCTION......................................................................................................... 112.2- POWER SUPPLY........................................................................................................ 12
2.3- RS-232 SERIAL INTERFACE..................................................................................... 132.3.1- RS-232 Serial interface specifications......................................................... 132.3.2- Change between online and offline mode................................................... 132.3.3- Assignments of RS-232 connector terminals.............................................. 132.3.4- XON/XOFF transmission timing.................................................................. 152.3.5- Serial interface connection example............................................................ 15
2.4- CENTRONICS PARALLEL INTERFACE.................................................................... 162.4.1- Compatibility mode...................................................................................... 162.4.2- Reverse mode............................................................................................. 172.4.3- Pin assignments for each mode.................................................................. 17
2.5- USB INTERFACE.........................................................................................................182.5.1- Assignments of USB connector terminals USB.......................................... 18
2.6- DRAWER INTERFACE............................................................................................... 18
3 BASIC OPERATIONS.................................................................................... 203.1- PAPER LOADING....................................................................................................... 203.2- CLEARING A PAPER JAM......................................................................................... 213.3- BUTTONS AND SWITCHES...................................................................................... 21
3.3.1- Power supply switch.................................................................................... 213.3.2- Paper advance button (FEED).................................................................... 213.3.3- Cover open button...................................................................................... 223.3.4- DIP-Switch.................................................................................................. 223.3.4.1- DIP-switch configuration for the serial interface...................................... 233.3.4.2- DIP-switch configuration for the parallel interface................................... 24
3.4- PANEL LED................................................................................................................ 25
3.5- SPECIAL PRINTING MODES.................................................................................... 253.5.1- Self-test mode............................................................................................. 253.5.2- Hexadecimal dump mode........................................................................... 26
3.6- ERROR PROCESSING.............................................................................................. 263.6.1- Error types................................................................................................... 263.6.2- Printer operation when an error happens.................................................... 283.6.3- Data reception error (serial interface only).................................................. 293.6.4- Flow diagram of the error detection for the serial port................................ 293.6.5- Flow diagram of the error detection for the parallel port............................. 30
3.7- PAPER SENSORS..................................................................................................... 313.8- OPEN COVER SENSOR............................................................................................ 31
4 CONTROL COMMANDS................................................................................ 324.1- COMMAND NOTATION.............................................................................................. 324.2- TERM DEFINITIONS.................................................................................................. 324.3- DESCRIPTION OF THE CONTROL COMMANDS.................................................... 33
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
4/65
FENIX IMVICO SM2000 OPERATION MANUAL
4/65
APPENDIX A SPECIFICATIONS...................................................................... 52APPENDIX B EXTERNAL APPEARANCE........................................................ 53APPENDIX C HOW TO ORDER ...................................................................... 53APPENDIX D CODE128 BAR CODE................................................................ 54
APPENDIX E INTERNAL CHARACTER TABLE.............................................. 58APPENDIX F INTERNAL CONNECTION..........................................................61APPENDIX G TESTING SOFTWARE............................................................... 62
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
5/65
FENIX IMVICO SM2000 OPERATION MANUAL
5/65
FIGURES AND TABLES
Fig a. Thermal print head cleaning................................................................................................. 7Fig. 2.1- Maintenance and use elements of the SM2000 printer.................................................... 11Fig. 2.2- Connectors location...........................................................................................................11Fig. 2.3-Connectors cover.............................................................................................................. 12Fig. 2.4- SM2000 printer power supply connector.................... 12Fig. 2.5- SM2000 RS-232 connectors............... 14Fig. 2.6- SM2000 IEEE 1284-B connector.............. 18Fig. 2.7- SM2000 USB connector............................18Fig. 2.8- SM2000 coins drawer connector.................. 19Fig. 2.9- Output signal waveform for the drawer opening action........................ 19Fig. 3.1- Paper roll loading........................... 20Fig. 3.2- Manual cutter positioning................................. 21Fig. 3.3 - DIP-switch location................ 22Fig. 3.4- LED and FEED button................ 25
Fig. 3.5- SELF-TEST mode example.............................................................................................. 25Fig. 3.6- Hexadecimal dump mode example................. 26Fig. 3.7-Blinking sequence of the ERROR LED........ 27Fig.3.8-Flow diagram of the error detection for the serial port........ 29Fig.3.9-Phase transitions of the nibble mode......... 30Fig.3.10-Localization of the out of paper and near-end paper sensors...... 31
Table 2.1-Assignments of RS-232 connector terminals.............. 14Table 2.2-XON/XOFF transmission timing................ 15Table 2.3-Connector IEEE 1284-B pin assignment ............. 18Table 2.4-Drawer connector pins. .............. 19Table 3.1-DIP switch 1(SERIAL)................................................................................................... 23Table 3.2-Transmission speed (SERIAL)...................................................................................... 23Table 3.3-DIP switch 2 (SERIAL)................................................................................................... 23Table 3.4-Printing density (SERIAL).............................................................................................. 23Table 3.5-DIP switch 1(PARALLEL).............................................................................................. 24Table 3.6-DIP switch 2 (PARALLEL)............................................................................................. 24Table 3.7-DIP Switch 2-3 and 2-4 (PARALLEL)............................................................................ 24Table 4.1-List of commands.......................................................................................................... 33
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
6/65
FENIX IMVICO SM2000 OPERATION MANUAL
6/65
IMPORTANT NOTES IN SM2000 THERMAL PRINTER MANAGEMENT
In order to preserve the life of the printer, it is necessary to keep in mind some precautions in thehandling of the SM2000 printer. Please read carefully the following points in order to make a good use ofthe printer.
SECURITY PRECAUTONS
Before using the printer, read carefully section 2-INSTALLATION. NEVERconnect the external power supply with the wrong polarity. This could permanently damage
the printer. Turn off the printer immediately if it produces smoke, a strange smell or an unusual noise. Keeping
on using the printer could cause fire. Unplug the equipment immediately and contact your officialdistributor.
NEVER connect cables with different connectors from the ones mentioned in this manual. Makingdifferent connections (for example, connecting a telephone line in the coins drawer connector) couldpermanently damage the printer.
Use a power supply voltage whose output voltage is within the specifications range stated in thismanual. Over voltage can permanently damage the printer. Under voltage can cause malfunctions.
NEVERwet SM2000 thermal printer with water or any other liquid. If any liquid is spilled inside of theequipment, unplug the power cable immediately and then contact your technical service.
Make sure the printer is on a steady, horizontal, securely fixed surface. If the printer fell down, it couldbreak or damage.
NEVER use the printer in high humidity or dirty places. NEVERplace heavy objects on top of the printer and never lean on it. NEVERput any object inside of the printer, as it could cause hardware damage on it, such as short-
circuit, print head breaking or general failure of the printer. NEVERshock the SM2000 printer. NEVERdisassemble or modify the SM2000 printer. NEVERtry to repair the SM2000 printer. Please contact your official distributor in case of failure. As the printer contains electromagnets (inside of the motor), it should not be used in excessively dirty
environments or places with dust or metal particles. NEVERprint without paper loaded or without the cover closed, as the thermal print head life can behighly shortened.
NEVERpull the paper out when the cover is closed. Use the paper advance button instead. Avoid touching with metal objects, such as screwdrivers or tweezers, the print head thermal elements
as well as the electronic printed circuit. They are delicate parts. Never touch with your hands the areas around the print head and the motor surface as they become
very hot during and just after printing; wait 15 seconds to let them cool down. NEVERtouch the surfaces of the print head thermal elements or the electronic printed circuit, as dust
and dirt can stick to their surface and cause damage by electrostatic discharge. The thermal paper contains Na+, K+ and Cl- ions that can cause harm to the print head elements.
Therefore, use only the specified paper. If the printer has not been used for long period of time and the paper was loaded, the paper could
become deformed by the drive roller pressure. It is recommended to make it advance at least 30 mmbefore printing again.
For security reasons, unplug the printer if it is not going to be used over a long period of time. Don t print continuously (without stopping) for more than 6 minutes.
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
7/65
FENIX IMVICO SM2000 OPERATION MANUAL
7/65
CLEANING PROCEDURE AND PRECAUTIONS
In order to clean the thermal print head, proceed as indicated by the following steps:
1. Open the printer cover. Wet a cotton sponge in alcohol (ethanol, methanol or IPA), and use it inorder to clean the thermal elements of the print head and to remove the possible accumulationof paper particles found on the cover, roller and nearby surfaces.
2. Wait for alcohol to evaporate before inserting the paper roll and closing the cover.
FENIX recommends cleaning the thermal print head periodically (each 2 or 3 months) in order tokeep the print quality.
NOTES:" The print head could be hot after printing. Make sure it has thoroughly cooled down
before proceeding to clean it." Unplug the power supply cable before the cleaning." Never touch the thermal elements of the print head with your hands." Never use metallic or piercing elements for the cleaning of the print head, as they
could scratch it.
Fig a. Thermal print head cleaning
RECOMMENDATIONS
The plug have to be located near the printer and have to be easily obtainable. Before connecting any communication data cable, check the printer is working properly by executing
the self-test. Set the SM2000 in a place where the connection cables do not suffer stretching or cross with each
other.
Thermal printingline
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
8/65
FENIX IMVICO SM2000 OPERATION MANUAL
8/65
0 INTRODUCTION
The SM2000 is a high performance thermal printer. Its compact and functional design covers manyprofessional uses (as in supermarkets, hotels, hospitals, restaurants, and so on.)
It is capable of printing text, graphics, logos and barcodes.It can be used in laboratories, industrial and professional environments.The main features of the SM2000 are: Simple installation and easy maintenance. Paper width of 80 mm. High printing speed, up to 220 mm/s. Low noise thermal printing. In-line printing method: printing is done every time a text line is completed. High reliability: The SM2000 is capable of printing up to 100 millions of pulses. 24 V DC power supply. Easy paper load and automatic receipt cut. The printer includes a near-end paper sensor as well as a out of paper sensor. High printing resolution (8 dots per mm). Four printing densities selectable by using DIP switches. The characters can be scaled up to 64 times their regular size. It provides several types of barcodes: Code39, EAN13, ITF and Code128. Two internal character fonts (A font= 12x24 dots. B font= 8x16 dots). The printer includes an interface for two different coins drawers. Control codes based on ESC / POS commands (*). Load up to 2 logos, through Windows driver. It includes drivers for Windows 95/98, 2000 and XP.
This manual is the printer operations guide and is intended for the application designer. The followingsections contain a detailed description of both the hardware and the configuration software that allowobtaining the maximum benefit of the printer possibilities.
(*) ESC/POS are registered trademarks of Seiko Epson Corporation.
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
9/65
FENIX IMVICO SM2000 OPERATION MANUAL
9/65
1 GENERAL SPECIFICATIONS
1.1- Printing specifications
1) Printing method: Thermal line printing
2) Dot density:203 dpi x 203 dpi(dpi: dots per inch. 1 inch=25.4mm)(203 dpi= 8 dots per mm)
3) Printing direction: Unidirectional with friction feed.
4) Printing width: 72 mm (576 dots).
5) Printing speed: High speed mode: up to 220mm/s(The printing speed could vary automatically depending on the printhead temperature as well as the command processing and the datatransmission speed).Low power consumption mode: 100 mm/s
NOTES:# Printing speed depends on the data transmission interface, the combination of
control commands and the print head temperature.# Low printing speed could cause intermittent printing. It is recommended to transmit
data to the printer as quickly as possible.# High speed mode or low power consumption mode is selected by means of a DIP
switch. The peak current consumption is proportional to printing speed.
6) Paper feed speed: 220 mm/s (continuous paper feed)
7) Characters per line (by default): A font: 42B font: 56
8) Space between characters (by default): 2 dots (0.25 mm)
9) Line spacing (by default): 4.25 mm
1.2- Character specifications
1) Number of characters: Alphanumeric characters: 95 Extended graphics: 128 per page
2) Character structure: A font: 12 x 24 dots (1.5 x 3 mm).B font: 8 x 16 dots (1 x 2 mm).A font is selected by default.
3) Character size:
Standard Double height Double width Double width/Double height
Width x height(mm)
cpl Width x height(mm)
cpl Width x height(mm)
cpl Width x height(mm)
cpl
A Font 1,5 x 3 42 1,5 x 6 42 3 x 3 21 3 x 6 21B Font 1 x 2 56 1 x 4 56 2 x 2 28 2 x 4 28
The space between the characters is not included.Characters can be scaled up to 64 times bigger than their normal size.cpl: characters per line.
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
10/65
FENIX IMVICO SM2000 OPERATION MANUAL
10/65
1.3- Paper loading
One of the main advantages of the SM2000 printer is its paper loading system. It is so simple to do itthat can be carried out by any final user, without having to disassemble the printer or loading the paperin a complex paper path.
1.4- Autocutter
The SM2000 performs a partial cut of the receipt automatically, leaving an uncut section ofapproximately 2 mm in the center.
1.5- Paper specifications
1) Paper type: thermal paper roll2) Paper width: 80 +0/-1mm3) Paper roll size: up to a maximum of 100 mm of diameter4) Specified thermal paper: TF50KS-E2C (Nippon Paper Industries)
PD160R-N (Oji Paper Co.)HP220AB1 (Mitsubishi Paper Mills Limited)
1.6- Internal buffer
The SM2000-Sand SM2000-Pprinters contains a 128 Kbytesinternal memory, whose functionality isdynamically shared by the receiving buffer and the loaded logos. In this way, the receiving buffer usesthe space not occupied by the logos. The maximum capacity allowed for the logos is 127 Kbytes,whereas the minimum capacity for the receiving buffer is 1 Kbyte.The SM2000-Uprinter contains a 512 Kbytesinternal memory. In this model, the maximum capacityallowed for logos is 511 Kbytes, and the minimum capacity for the receiving buffer is 1 kbyte.
By default, the SM2000 printer does not provide any loaded logo; therefore providing 128 Kbytes for thereceiving buffer (512 Kbytes for SM2000-U printer).
This big receiving buffer allows the printer working in the following way: Firstly, all data are buffered, and
afterwards the printing is done at the maximum possible speed, without it being affected by thecommunications time processing.
1.7- Electrical specifications
1) Power supply voltage: 24V DC 10%2) Current consumption (at 24V, ambient temperature):
High speed mode:Average: 1.8 A aprox.(Characters in capital letters, A font, 36 continuous lines of 42 columns)Peak: 7.7 A aprox.
Low power consumption mode: Average: 1.2 A aprox.(Characters in capital letters, A font, 36 continuous lines of 42 columns)Peak: 6.6 A aprox.
Non-printing mode: Average: 0.2 A aprox.
NOTE: 1 A maximum for the coins drawer open operation3) Internal fuse:4A, 250v slow (164050-4, from ELU or equivalent).
1.8- Environmental conditions
1) Temperature range: Working temperature range: 0C to 50CStorage temperature range: -20 a 60C (without paperloaded, in a dry place).
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
11/65
FENIX IMVICO SM2000 OPERATION MANUAL
11/65
2 INSTALLATION
2.1- INTRODUCTION
The SM2000 printer should be installed horizontally on a rigid surface, avoiding locations where hightemperatures or vibration risks exist. Its location must allow the final user an easy access to all thehandling elements of the printer for their use and maintenance.
Fig. 2.1- Maintenance and use elements of the SM2000 printer
The SM2000 connectors are located in the rear part of the printer. All models include a power supplyconnector and a coins drawer connector. Depending on the communications model, the printer isprovided with a serial interface SUB-D25 connector (SM2000-S), a parallel interface CENTRONICS
connector (SM2000-P) or an USB interface connector plus a serial SUB-D9 connector (SM2000-U).
Fig. 2.2- Connectors location
Power supplyswitch
Front panel
Coveropenbutton
Cover
Cutter unlockingscrew (on the side)
Powersupply
connector
Coins drawerconnector
CENTRONICScommunication
connector
SM2000-PSM2000-S
SM2000-U
USBcommunication
connector
Goodlink ledindicator
Serial RS232communication
connector
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
12/65
FENIX IMVICO SM2000 OPERATION MANUAL
12/65
The SM2000 printer includes a connector cover in order to protect the cable connections from shock anddirt. At the same time, it avoids user contact.Once all the cables are connected, follow these steps for its installation:
1. The connector cover has three openings: left, right and rear. If needing to use any of theside openings, remove the corresponding tab by breaking it with your fingers (once a tabhas been removed, it can no longer be reinstalled).
2. After removing the tab, be sure to remove any remaining piece of plastic in order tokeep the plastic border flat and avoid any possible cable harm.3. Place the cover to its default position and assemble the two fixing screws as shown in
the following figure:
Fig. 2.3-Connectors cover
2.2- POWER SUPPLY
The SM2000 is powered by an external power supply by means of a female polarized connector of 3pins that includes a security anchor. The power supply voltage must be verified before making theconnection between the supply and the printer.
Fig. 2.4-SM2000 printer power supply connector
The power supply male connector must be a KYCON806-KPP-3Por an equivalent model.
It is not advisable to use a different power supply from the one provided by FENIX along with the printer(FAPOS-1). Using a different power supply could harm the printer or prevent it from working properly.
NOTE:The current flow increases when the number of active dots in a horizontal graphic line increases. Print
quality can decrease if the printing ratio and the printing speed are high.If the average workload of the printer is high during a long period of time, it is recommended to use thelow consumption mode (see DIP-switches 2-3, 2-4).
+24v
GND
nc
FrameGND
Fixingscrews
Lateral tab
Connectorcover
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
13/65
FENIX IMVICO SM2000 OPERATION MANUAL
13/65
2.3- RS-232 SERIAL INTERFACE
2.3.1- RS-232 Serial interface specif ications
Data transmission type: Serial Synchronization: Asynchronous Flow control: DTR/DSR control or XON/XOFF Signal levels (RS232): MARK = -3 to -15 V Logic 1/OFF
SPACE = +3 to +15 V Logic 0/ON Speed: 4800, 9600, 19200, 38400 bps (bps: bits per second) Data length: 7-8 bits Parity: none, even, odd Stop bits: Fixed to 1 Connector (printer side): SUB-D25 female pin connector (SM2000-S)
SUB-D9 male pin connector (SM2000-U)NOTE:
(1) Data length, speed and parity depend on the DIP switches settings (refer to section 3.3.4).
2.3.2- Change between online and of fline mode
The printer is in offline mode:
1) When powering up or resetting the printer, until the printer is ready to receive data.
2) When performing the self-test.
3) When the cover is open.
4) After pressing the Paper feed button (FEED) while the paper advances.
5) When out of paper causes the printer to stop printing.
6) During macro execution in standby mode.
7) When the power supply has a temporal abnormal voltage change.
8) When an error has occurred.
2.3.3- Assignments of RS-232 connector terminals
The assignments of the terminals of the RS-232 connector and the functions of its signals are describedin the following table:
Pin
SUB-D9
Pin
SUB-D25
Signal
name
Signaldirection (from
the printer
point of view)
Function
- 1 FG - Frame ground3 2 TXD Output Data transmission2 3 RXD Input Data reception7 4 RTS Output Same as DTR signal6 6 DSR Input This signal indicates whether the host system is ready to
receive data.When the XON/ XOFF control is selected, the printer doesnot check this signal.
5 7 SG - Signal ground.
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
14/65
FENIX IMVICO SM2000 OPERATION MANUAL
14/65
Pin
SUB-D9
Pin
SUB-D25
Signal
name
Signal
direction (from
the printer
point of view)
Function
1) When DTR/ DSR control is selected, this signalindicates whether the printer is busy. SPACE indicatesthat the printer is ready to receive data, and MARKindicates that the printer is busy. The busy conditioncan be changed using the DIP SW 2-1 as follows:
DIP SW 2-1 statusPrinting status
ON OFF1. When powering up or resettingthe printer until the printer is readyto receive data.
Busy Busy
2. When performing the self-test Busy Busy3 When the cover is open - Busy4. After pressing the Paper feedbutton while the paper advances. - Busy
5. When out of paper causes theprinter to stop printing. - Busy
6. During macro execution in
standby mode - Busy7When the power supply has atemporal abnormal voltage change - Busy
8. When an error has occurred - Busy
Offline
9. When the receiving buffer is full.(* 1) Busy Busy
4 20 DTR Output
2) When the XON/XOFF control is selected: The signal indicates when the printer is connectedcorrectly and is ready to receive data. SPACE indicates that the printer is ready to receivedata. The signal is always SPACE except in the followingcases:
# When powering up or resetting the printer until theprinter is ready to receive data.
# When performing the self-test.Other Other nc --- Not connected
Table 2.1-Assignments of RS-232 connector terminals.
(*1) Definition of data receiving buffer full: the state of the printer becomes buffer full when thereceiving buffer increases to 128/512 Kbytes maximum (1Kbyte minimum).
Note: The printer ignores the received data when the free space in the receiving buffer is 0 bytes.
Fig. 2.5-SM2000 RS-232 connectors.
Pin #13
Pin #25 Pin #14
Pin #1 Pin #1
Pin #9Pin #6
Pin #5
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
15/65
FENIX IMVICO SM2000 OPERATION MANUAL
15/65
2.3.4- XON/XOFF transmission timing
When the XON/XOFF control is selected, the printer transmits XON or XOFF signals like shown inthe following table:
Different transmission timing depends on the DIP SW2-1 settings.
DIP SW 2-1 statusPrinting statusON OFF
When the printer is online after powering up (or resettingthe printer by using the interface).
Transmit Transmit
When the receiving buffer leaves the full buffer status. Transmit Transmit
XONtransmission
When the printer goes from offline to online. _ Transmit
When the receiving buffer is full Transmit TransmitXOFFtransmission
When the printer goes from online to offline _ Transmit
Table 2.2-XON/XOFF transmission timingNOTES:
The XON code is H and the XOFF code is H.
Incase,XON is not transmitted when the receiving buffer is full.
Incase, XOFF is not transmitted when the receiving buffer is full.
2.3.5- Serial interface connection example
User side Printer side
TXD RXD
DSR DTR
CTS RTS
RXD TXD
DTR DSR
FG FG
SG SG
NOTES:
Same configuration in the printer and in the host system should be set.
The communication protocol should be set properly so that the transmitted data can bereceived without errors.
The printer should be reset after any modification in the DIP-switch, by using the powersupply button to switch it off and on.
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
16/65
FENIX IMVICO SM2000 OPERATION MANUAL
16/65
2.4- CENTRONICS PARALLEL INTERFACE
The SM2000 comply the IEE1284 protocol (NIBBLE MODE).Copyright 1994 by the Institute of Electrical and Electronic Engineers, Inc.
2.41- Compatibil ity mode (Data transmission from host system to the printer: Centronicscompatible)
*Any system sending data to the printer (PC, PLC, custom board, et cetera) is considered to be a hostsystem.
The compatibility mode supports compatibility with the Centronics parallel interface.
a) Specifications
Data transmission: 8-bit parallel
Synchronization: nSTB signal externally provided
Protocol: nACK (acknowledge) and BUSY signals
Signal levels: TTL compatible
Connector (printer side): ADE-B36BLFDR176 (Honda) or equivalent
(IEEE 1284 B Type)
b) Switching between online and offline mode
The printer does not provide any switch for online/offline mode. The printer is in offline mode in thefollowing cases:1) When powering on or until the printer becomes ready for data transmission after it is initialized
by the reset signal from the interface2) During the self-test.3) When the cover is open.4) During paper advance using the paper advance button (paper feed).5) When the printer stops printing due to out of paper.6) During macro execution in standby mode.
7) When a temporal voltage abnormality happens to the power supply.8) When an error occurs.
c) Timing diagram of data reception
Data n Data n+1Data
tHold
nStrobe
tSetup tSTB
Busy Peripheral Busy
TReady tBUSY
nAck
tnBUSY tReply tACK tNext
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
17/65
FENIX IMVICO SM2000 OPERATION MANUAL
17/65
SpecificationDescription Symbol
Min(ns) Max(ns)
Data hold time tHold 750 --
Data setup time tSetup 750 --
STROBE pulse width tSTB 750 --
READY cycle idle time tReady 0 --
BUSY output delay time tBUSY 0 500
Data processing time tReply 0
ACKNLG pulse width tACK 500 10s
BUSY release time tnBUSY 0
ACK cycle idle time tNext 0 --
2.4.2- Reverse mode (Data transmission from the prin ter to the host system)
The transmission of the printer status to the host system is implemented according to the IEEE1284standard (NIBBLE MODE).
2.4.3- Pin assignments for each mode
Pin Source Compatibility mode Nibble mode
1 Host Sys. nStrobe HostClk
2 Host Sys/printer Data0 (LSB) Data0 (LSB)3 Host Sys/printer Data1 Data1
4 Host Sys/printer Data2 Data2
5 Host Sys/printer Data3 Data3
6 Host Sys/printer Data4 Data4
7 Host Sys/printer Data5 Data5
8 Host Sys/printer Data6 Data6
9 Printer Data7 (MSB) Data7 (MSB)
10 Printer nAck PrtClk
11 Printer Busy PrtBusy/Data3,7
12 Printer PError AckDataReq/Data2,6
13 Printer Selected Xflag/Data1,5
14 Host Sys. nAutofeed HostBusy
15 NC ND
16 GND GND
17 FG FG
18 Printer Logic-H Logic-H
19-30 GND GND
31 Host Sys. nInit nInit
32 Printer nFault nDataAvail/Data0,4
33 GND ND
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
18/65
FENIX IMVICO SM2000 OPERATION MANUAL
18/65
34 Printer DK_status ND
35 Printer +5V ND
36 Host Sys. nSelectIn 1284-Active
*NC: Not connected ND: Not defined
Table 2.3-Connector IEEE 1284-B pin assignment
NOTES:
(1) The n prefix used before a signal name means that they are active in 0 logic level. If the hostsystem does not provide any of the signal lines mentioned above, both communication types couldfail.
(2) It is recommended to use twisted pair cables (signal/ground), with the return sides connected to thesystem signal ground level.
(3) Do not ignore the nACK and BUSY signals during data transmissions. An attempt to transmit datawithout nACK or BUSY control signals might cause lost data.
(4) The interface cables should have the minimum required possible length (maximum recommendedlength: 2 m).
Fig. 2.6-SM2000 IEEE 1284-B connector.
The male connector that must be used with the SM2000 is a standard CENTRONICS or compatible.
2.5- USB INTERFACE
The SM2000 USB interface has the following general features:
USB specification USB 1.1 (12MHz full speed) Transfer type Bulk Maximum receive/transmit endpoint size 64 bytes Current consumption from USB bus 2mA max.
2.5.1- Assignments o f USB connector t erminals USB
Pin Signal name
1 Vbus2 D 3 D+4 GND
Fig. 2.7-SM2000 USB connector.
User has to use a standard B series USB connector.
Pin #36
Pin #18Pin #1
Pin #19
Pin n4
Pin n1
Pin n3
Pin n2
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
19/65
FENIX IMVICO SM2000 OPERATION MANUAL
19/65
2.6- DRAWER INTERFACE
The SM2000 allows controlling one or two coins drawers. Drawing opening is performed by means ofESC pcommand, and drawer status (open/close) can be tested by means of DEL EOT command.
Fig. 2.8- SM2000 coins drawer connector.
Warning: DO NOT connect a telephone line to the coins drawer open connector, as it couldcause damage to the printer and to the telephone line.The male connector that must be used in order to connect to the coins drawer to the SM2000 isthe 6 contacts RJ12 standard connector or compatible.
1) Pin assignment:
Pin numberSignal name
Direction from theSM2000
1 Ground GND -2 Open drawer 1 signal Output3 Open/close drawer signal Input4 +24 Vdc -5 Open drawer 2 signal Output
6 GND signal -
Table 2.4-Drawer connector pins.
2) Connector model (user side): 6 positions, 6 contacts (RJ12 telephone jack)
3) Open drawer signal: Output signal: Output voltage: 24 V approx.
Output current: 1 A or less.
Warning:In order to avoid over current and the SM2000 driver damage, the solenoid resistancethat opens the drawer must be > 24 . The maximum current consumption of the SM2000 driver
for the drawer opening is 1 A (maximum 0.512 sec).
Output wave form: The t1 (ON) and t2 (OFF) times are specified by means of the ESC p command.
t1x 2 ms t2x 2 ms
Fig. 2.9- Output signal waveform for the drawer opening action.
Pin n1 Pin n6
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
20/65
FENIX IMVICO SM2000 OPERATION MANUAL
20/65
3 BASIC OPERATIONS
3.1- PAPER LOADING
One of the most useful features of the SM2000 printer is paper loading, which becomes very simple ifthe following steps are executed:
a) Open the printer cover by pressing thecover open button.
b) Insert the paper roll, as shownin the picture, leaving some paperoutside the printer.
YES
NO
c) Close the cover until feelingthe roller is latched again.
Fig. 3.1- Paper roll loading.
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
21/65
FENIX IMVICO SM2000 OPERATION MANUAL
21/65
NOTES: Use paper rolls that meet the specifications indicated in this manual. DO NOT open the printer cover during the printing operation. Close the cover correctly, checking that the PAPER OUT LED turns off.
3.2- CLEARING A PAPER JAM
If a paper jam occurs, please proceed as indicated in the following steps:
1) Switch the printer off and press the button in order to try and open the cover.2) If the paper is jammed with the cutter and the cover can not be opened, then the cutter
posit ion must be restored: remove the screw located on the right side of the prin ter, inset a
philips screwdriver ( 3mm) until search the cutter continuous screw, and turning it until the
cover can be lif ted easily.
Warning: Never force the opening of the cover, as the cutter blade could bend and becomepermanently damaged if the paper is jammed with it.
Fig. 3.2- Manual cutter positioning.
3) Remove the jammed paper and any other remaining piece of paper. Install the paper roll in thesame way as indicated in the previous section.
3.3- BUTTONS AND SWITCHES
3.3.1- Power supply switch
It is placed on the lower front of the printer and acts as the switch of the external power supply. The frontpanel provides a POWER LED that indicates whether the power is on.
3.3.2- Paper advance button (FEED)
The FEED button in the front panel activates the automatic paper advance.The paper is advanced while the button is kept pressed. The FEED button functionality is not enabled inthe following conditions:
(1) The paper sensor does not detect paper.(2) The cover is open.(3) The ESC c 5command has been sent.
Continuous screw tomanually unblock thecutter.
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
22/65
FENIX IMVICO SM2000 OPERATION MANUAL
22/65
3.3.3- Cover open button
When the cover open button, located on the left printer side (see Fig. 3.4), is pressed, the printer coveropens.
Warnings:
"DO NOT attempt to open the printer cover unless acting on the cover open button."DO NOT open the printer cover while printing."DO NOT open the printer cover while the cutter is working, as the mechanism could be
damaged.
3.3.4- DIP-Switch
The SM2000 printer provides different configurable parameters through 2 DIP-switches with 8 switcheseach. In order to access to the DIP-switch devices, proceed as indicated in the following steps:
Fig. 3.3. - DIP-switch location.
Every time the SM2000 is powered on, the printer reads the content of the DIP-switch devices, and thecorresponding configuration parameters are initialized. The functionality of the DIP-switch depends onthe communication interface used.
c) Change the switches positioning
(ON/OFF) as needed, according tothe tables described in thefollowing sections.
d) Close back the cover andsecure it with the screw.
a) Unplug the SM2000 power supply cable.
b) Remove the metal cover that hides the DIP-switch devices (which is located in the bottom sideof the SM2000) by removing the screw that holdsit.
Holding screw of the DIP-switch cover.
DIP-switch 2
DIP-switch 1
ON OFF
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
23/65
FENIX IMVICO SM2000 OPERATION MANUAL
23/65
3.3.4.1. - DIP-switch configuration for the serial in terface
DIP-switch 1
Switch Function ON OFF
1 Receiving data error Ignored Prints ?2 --- --- ---3 Protocol XON/XOFF DTR/DSR4 Word length 7 bits 8 bits5 Parity check Yes No6 Parity selection Even Odd78
Transmission speedselection
Refer to table 3.3.2
Table 3.1-DIP switch 1(SERIAL).
Transmission speed (bps) SW 1-7 SW 1-838400 ON ON4800 OFF ON9600 ON OFF
19200 OFF OFF
Table 3.2-Transmission speed (SERIAL).
DIP-switch 2
switch Function ON OFF1 Protocol (BUSY condition) Receiving buffer full OfflineReceiving buffer full
2 --- --- ---34
It selects the printing density /low power consumption mode
Refer to table 3.3.4
5 --- --- ---6 --- --- ---7 --- --- ---8 --- --- ---
Table 3.3-DIP switch 2 (SERIAL).
Level Function SW 2-3 SW 2-4- Low power consumption mode ON ON1 Printing density normal OFF OFF2 Printing density half ON OFF3 Printing density high OFF ON
Table 3.4-Printing density (SERIAL).
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
24/65
FENIX IMVICO SM2000 OPERATION MANUAL
24/65
3.3.4.2- DIP-switch configuration for the parallel interface.
DIP-switch 1
switch Function ON OFF1 Auto line advance Always enabled Always disabled2 --- --- ---
3-8 --- --- ---
Table 3.5-DIP switch 1(PARALLEL).
DIP-switch 2
switch Function ON OFF1 Protocol (BUSY condition) Receiving buffer full Off line
Receiving buffer full2 --- --- ---34
It selects the printing density /low power consumption mode
Refer to table 3.3.7
5 --- --- ---6 --- --- ---7 --- --- ---8 --- --- ---
Table 3.6-DIP switch 2 (PARALLEL)
Level Function SW 2-3 SW 2-4- Low power consumption mode ON ON1 Printing density normal OFF OFF2 Printing density half ON OFF3 Printing density high OFF ON
Table 3.7-DIP Switch 2-3 and 2-4 (PARALLEL).
NOTES: The changes in the DIP-switch settings are read initially, when the SM2000 is powered on. If
the DIP-switch configuration is changed after powering the unit on, the change does nothave any effect.
In low power consumption mode, the printing speed is fixed to a maximum of 100 mm/s.
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
25/65
FENIX IMVICO SM2000 OPERATION MANUAL
25/65
3.4- PANEL LED
The SM2000 includes three LEDs in its front panel showing printer information.
Fig. 3.4- LEDs and FEED button.
The POWERLED (green) shows whether the SM2000 is powered on (the led is on) or it is not (the led isoff).The PAPER OUTLED (red) shows whether the SM2000 does not have any paper and/or the cover isopen (the led is on).The ERROR LED (red) shows if there has been any error in the SM2000 (the led is blinking) (Seesection: 3.6- ERRORS PROCESSING).
3.5- SPECIAL PRINTING MODES
Besides the normal printing mode, in which all the received data are printed according to the settings orconditions fixed by the commands, the SM2000 printer allows two special working modes: the self-testmode and the hexadecimal mode.
3.5.1- Self-test mode
The SMS2000 provides the self-test mode withtwo different functionality: showing information on thefeatures of that particular printer model and verifyingthe printing.
To enter the self-test mode, the printer must bepowered on while keeping pressed the paperadvance button (FEED) and with the cover closed.The SM2000 will start printing a report, whichallows checking the features of this particularmodel, like the firmware current version, controlfunctions of the communications protocol,DIP-switch settings, and so on.
If, once this printing has been finished, thepaper advance button FEED is still keptpressed, the SM2000 will start printing
continuously and repetitively a character mapuntil it finally concludes the self-test by printing* * completed * *.This second option of the self-test mode has the goal tovalidate the printing speed and quality.
Fig. 3.5- SELF-TEST mode example.
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
26/65
FENIX IMVICO SM2000 OPERATION MANUAL
26/65
3.5.2- Hexadecimal dump mode
Fig. 3.6- Hexadecimal dump mode example.
NOTES:(1) For any received characters that are under 20h, the ASCII . will be printed.(2) During the hexadecimal dump mode, the DEL EOT command does not work.(3) It must be taken into account that if the number of bytes is not bigger than the minimum
amount required to print one line (11 bytes), the SM2000 will not print. It is recommended tocomplete the hexadecimal dump by sending at least 11 bytes (for example 00h).
(4) It is also possible to enter the hexadecimal mode through the GS ( A command.
3.6- ERROR PROCESSING
3.6.1- Error types
When an error happens, the SM2000 visually notifies the error type through the ERROR LED and thePAPER OUT LED, located in the front part of the printer. This fact allows, the final user to have a directreference on the current printer status.On the other hand, the printer status and all its possible errors can also be obtained via software throughthe DEL EOT command. In this way, the application developer can have more complete information onthe printer status, therefore being able to act accordingly.
1) The errors detected by the ERROR LED are the following: near-end paper, coins drawer open,hardware error, cutter error, power supply voltage error and printing head temperature error.
In this mode, all the data received from the hostsystem is printed, without processing any command,in hexadecimal and its corresponding ASCII.This mode can be very helpful for the applicationdeveloper during the setup test time, as it allows to
detect and eliminate possible errors (as out of rangeparameters, non valid command sequences, errors inthe communication channel, etc.), comparing what ithas theoretically been sent to the printer to what it isreally being received.
To enter hexadecimal mode, proceed with thefollowing steps:
a) Open the cover and power the printer on keepingthe FEED button pressed.
b) Close the cover. The SM2000 will print the text~~~~HEXADECIMAL MODE~~~~, and it will remainwaiting for receiving data. As soon as the receivedbytes received complete one line (11 bytes), they willbe printed automatically.
Turn off the printer to quit the hexadecimal mode.
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
27/65
FENIX IMVICO SM2000 OPERATION MANUAL
27/65
(2) When any of these errors happen, the ERROR LED blinks with a different blinking timing sequence for each of them. This fact allows the final user to understand, by visual inspection, the error that had happened.
ERRORSequence
(a = 0.5 s., b = 2 s.)
NEAR-ENDPAPER
COINSDRAWER
OPEN
HARDWARE
CUTTER
Vp VOLTAGE
TEMPERATURE
Fig. 3.7-Blinking sequence of the ERROR LED
More information on these errors can be found below:
near-end paper erro r
[Description] This error happens when the near-end paper sensor detects that the paper roll isclose to be finished. This means that using a paper roll with an external diameter of100 mm and inner diameter of 25 mm, the sensor will trigger the error when there arestill 1.5 meters of paper approx.This indication should be really taken as a warning, not as an error as such. The action
depends on the application and the developers criteria.[Recover action] Replace paper roll.[Notes] When this error happens the printing is not interrupted, although using the ESC c 4
command could stop it. This error is different from the out of paper error.
Coins drawer open error
[Description] This error happens when the coins drawer is open.This indication should be really taken as a warning, not as an error as such. The actiondepends on the application and the developers criteria.
[Recover action] Closing the coins drawer.
t
LED ON
LED
a
b
t
LED ON
LED
LED ON
LEDt
LED ON
LEDt
LED ON
LEDt
LED ON
LEDt
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
28/65
FENIX IMVICO SM2000 OPERATION MANUAL
28/65
Hardware error
[Description] Some of the printer hardware devices are not working properly.[Recover action] This error cannot be recovered. One of the components of the control interface might
be broken and should be replaced or repaired.
Cutter error
[Description] The cutter does not work correctly. For some reason, the cutter cannot start and comeback to its original position.
[Recover action] The printer tries automatically to recover from this error once it is initialized (ON/OFF).If there was paper jammed or any other obstacle preventing it from recoveringautomatically, the cover might not be able to open. In that case, proceed as specified insection 3.2. Clearing a paper jam.
Power supply voltage (Vp) error
[Description] The power supply voltage (Vp) is out of range (24V + 10%).[Recover action] This is a non-recoverable error.
Unplug the power supply from the printer and check if the output voltage of the power
supply is within the specified range. Replace it in case it is not working properly.
Temperature error
[Description] The print head temperature is above 80C.[Recover action] The printing recovers automatically from this error when the thermal print head
temperature is below 60C again.[Note] This error can happen if the ambient temperature is very high and the printer is working
continuously with high-density printing.
(2) The errors indicated by the PAPER OUT LED are the out of paper and/or open cover ones.
Out of paper error
[Description] The out of paper sensor detects there is not paper on the printing line.[Recover action] This error disappears loading a new paper roll in the printer (see section 3.1. Paper
loading).[Note] This error stops the printing and it cannot be restarted until it is not recovered.
Open cover error
[Description] The printer cover is open.[Recover action] This error disappears when closing the cover.[Note] This error stops the printing and it cannot be restarted until it is not recovered.
3.6.2- Printer operation when an error happens
When the SM2000 detects an error (except the near-end paper and coins drawer open errors), itexecutes the following operations:
It stops all printing operations. It changes its status to BUSY (refer to section 3.3- DIP Switches when the DIP switch 2-1 is off). The ERROR LED blinks or the PAPER OUT LED permanently lights.
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
29/65
FENIX IMVICO SM2000 OPERATION MANUAL
29/65
3.6.3- Data reception error (serial interface only)
If one of the following errors happens during the serial interface data communication, the printerprints ? or ignores the data, depending on the DIP-switch 1-1 setting.
Parity error. Synchronization error.
Overlap error.
3.6.4- Flow d iagram of the error detection fo r the serial port
Fig.3.8-Flow diagram of the error detection for the serial port
END
SENDS1 BYTE
SEND COMMANDDEL EOT
READS THE PRINTERSTATUS AND IDENTIFIES
THE ERROR
BEGINNING
NO
nDTR = 0
YES
nRTS = 0
NO
YES
END OFTRANSMISSION
NO
YES
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
30/65
FENIX IMVICO SM2000 OPERATION MANUAL
30/65
3.6.5- Flow diagram of the error detection fo r the parallel port
The SM2000 meets the IEEE-1284 standard, in the nibble mode variant.
Fig.3.9-Phase transitions of the nibble mode.
NOTES:
(1) The circles represent the IEEE1284 phases.(2) This diagram can not be considered as the true state diagram.(3) The host system can request the negotiation phase at any time, but the SM2000 will on ly
return a status byte if the host system has send the DEL EOT command previously. (4) If the printer control of the host system does not have enabled or implemented the nibble mode
according to the IEEE-1284 interface, only the compatibility mode will make communication possible.
In this case, the error signaling is reduced to the information provided by the PError and nFault pins.
END
HOST SYSTEMEND request
Compatibility mode
HOST
SYSTEM.
Forward idle
PERIPHERALData transfer
Host systemData transfer
HOST SYSTEM requiresreverse transfer
Host systembusy.Data
available
Host systembusy
Data notavailable
NegotiationPERIPHERAL has
data to send
PERIPHERALdoes not havedata to send
Host system doesnot receive data
byte.Peripheral doesnot have moredata to send
Host systemrequiresdata byte
PERIPHERALBusy,ACK,PE,/ERR
Interfacereturns to
compatibilitymode
DEL EOT command notpreviously sent
DEL EOT command send previously
Negotiationerror
Reverse datatransfer
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
31/65
FENIX IMVICO SM2000 OPERATION MANUAL
31/65
3.7- PAPER SENSORS
The SM2000 has two specific photo sensors for paper: out of paper and near-end paper.The out of sensor paper has the basic function of informing the printer controller about the existence ofpaper (on the printing line), as there are some actions (as an example, printing without paper) that couldseriously damage the mechanism. This error block all the printer activities related to cutting and printing.The near-end paper sensor detects when the paper roll is near its end of file. This error, by default,
does not stop printing, but through the ESC c 4 command, it can be achieved that the near-end paperdetection stops the printing. If a 25 mm inner diameter paper roll is used, the sensor will trigger when Xmeters of paper remain (approximately).The final user can detect these errors with the PAPER OUT LED and ERROR LED, and the applicationdeveloper can test them through the DEL EOT command, being able to act accordingly.
Fig.3.10-Localization of the out of paper and near-end paper sensors.
3.8- OPEN COVER SENSOR
When this sensor detects the opening of the cover, it lights the PAPER OUT LED, blocking all theactivity related to printing and cutting. The printing resumes when the cover is closed.The sensor is a micro switch sensor. The roller (once the roller is fixed in its anchor) applies pressureon the micro switch, and closes. For that reason, the cover must be closed so that it does not surpassthe chassis in any of its ends.
OUT of papersensor
Near-endpaper
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
32/65
FENIX IMVICO SM2000 OPERATION MANUAL
32/65
4 CONTROL COMANDS
4.1- COMMAND NOTATION
[Name] The command name.[Format] The coding sequence.[Range] It provides the allowed range for the arguments.[Description] It describes the command functionality.[Notes] It provides important information in command usage and warnings, if needed.[Defect] It provides the default values, if any, for the command parameters.[Reference] It lists related commands.[Examples] It shows examples on how to use the command.
4.2- TERM DEFINITIONS
1) Receiving buffer.
It is the buffer that stores the received data (commands and data). They are stored temporallyin the buffer and are sequentially processed later.
2) Printing buffer.The printing buffer is a buffer that holds the data of the image to be printed.
3) Printable area.It is the maximum range in which the printing is possible under the printer specifications.The printable area for this printer is the following:# The horizontal direction length in standard mode is approximately 72.2 mm.
4) Inch Length unit. One inch is 25.4 millimeters.
5) MSBMost significant bit.
6) LSBLeast significant bit.
7) Base line.Standard position where the characters are printed. The following drawing shows the position ofnormal characters in standard mode:
1. When the font selected is A type (12x24 dots), this height is 18 dots. When the font selected is B type (8x16 dots), this height is 14 dots.
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
33/65
FENIX IMVICO SM2000 OPERATION MANUAL
33/65
4.3- DESCRIPTION OF THE CONTROL COMMANDS
List of commands
Command
classificationCommand Name
Executing SettingPage
LF Print and line feed X 34CR Print and carriage return X 34DLE EOT Real-time status transmission X 34ESC t Select character code table X 35ESC SP Set right-side character spacing X 36ESC ! Select print mode(s) X 36
ESC - Turn underline mode on/off X 37ESC 2 Select default line spacing X 37ESC 3 Set line spacing X 37ESC @ Initialize printer X X 37
ESC E Turn emphasized mode on/off X 38ESC G Turn double-strike mode on/off X 38ESC J Print and feed paper X 38ESC M Select character font X 39ESC a Select justification X 39ESC c 3 Select paper sensor(s) to output paper-end signals X 40ESC c 4 Select paper sensor(s) to stop printing X 40ESC c 5 Enable/disable panel buttons X 41ESC d Print and feed nlines X 41ESC p General pulse X 41GS ! Select character size X 42GS ( A Execute test print X 42GS B Turn white/black reverse printing mode on/off X 43
GS H Select printing position of HRI characters X 43GS L Set left margin X 44GS V Select cut mode and cut paper X 44GS f Select font for HRI characters X 45GS h Set bar code height X 45GS k Print bar code X 46GS v 0 Print raster bit image X 47GS w Set bar code width X 48FS p Print NV bit image X 49FS q Define NV bit image X 50
Table 4.1-List of commands
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
34/65
FENIX IMVICO SM2000 OPERATION MANUAL
34/65
LF[Name] Print and line feed[Format] ASCII LF
Hex 0ADecimal 10
[Description] Prints the data in the print buffer and feeds one line based on the current line spacing.
[Notes] This command sets the print position to the beginning of the line.[Reference] ESC 2, ESC 3.
CR[Name] Print and carriage return[Format] ASCII CR
Hex 0DDecimal 13
[Description] When automatic line feed is enabled, this command functions the same as LF; whenautomatic line feed is disabled, this command is ignored.
[Notes] Sets the print starting position to the beginning of the line.
The automatic line feed is ignored with a serial interface model. This command is set according to the DIP switch 1-1 setting with a parallel interface model.
[Reference] LF
DLE EOT n[Name] Real-time status transmission[Format] ASCII DLE EOT n
Hex 10 04 nDecimal 16 4 n
[Range] H n H[Description] Transmits the selected printer status specified by n in real-time, according to the following parameters:
n = H: Transmit printer statusn = H: Transmit offline statusn = H: Transmit error statusn = H: Transmit paper roll sensor status
[Notes] The status is transmitted whenever the data sequence of HH(1< n < 4) is
received. The printer transmits the current status. Each status is represented by one-byte data. The printer transmits the status without confirming whether the host computer can receive
data (serial interface).
This command is executed even when the printer is offline or there is an error status with aserial interface model.
n= H: Printer statusBit OFF/ON Function
0 OFF Not used. Fixed to Off.1 ON Not used. Fixed to On.
OFF Drawer open/close signal is LOW (connector pin 3).2
ON Drawer open/close signal is HIGH (connector pin 3).OFF Online.
3ON Offline.
4 ON Not used. Fixed to On.5,6 - Undefined.
7 OFF Not used. Fixed to Off.
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
35/65
FENIX IMVICO SM2000 OPERATION MANUAL
35/65
n= H: Offline statusBit OFF/ON Function
0 OFF Not used. Fixed to Off.1 ON Not used. Fixed to On.
OFF Cover is closed.2
ON Cover is open.3 --- Indefinite
4 ON Not used. Fixed to On.OFF No paper-end stop.
5ON Printing is being stopped.OFF No error
6ON Error occurs.
7 OFF Not used. Fixed to Off.
Bit 5: Becomes on when the paper end sensor detects paper end and printing stops.
n= H: Error statusBit OFF/ON Function
0 OFF Not used. Fixed to Off.1 ON Not used. Fixed to On.2 - Undefined
OFF No autocutter error.3
ON Autocutter error occurs.4 ON Not used. Fixed to On.
OFF No unrecoverable error.5
ON Unrecoverable error occurs.OFF No auto-recoverable error.
6ON Auto recoverable error occurs.
7 OFF Not used. Fixed to Off.
Bit 6: When printing is stopped due to high print head temperature (80C) until the print head
temperature drops sufficiently (60C) or when the paper roll cover is open during printing, bit 6 is On.
n = H: Paper sensor statusBit OFF/ON Function
0 OFF Not used. Fixed to Off.1 ON Not used. Fixed to On.
OFF Paper roll near-end sensor: paper adequate.2,3
ON The paper roll near-end sensor detects paper near-end.4 ON Not used. Fixed to On.
OFF Paper roll sensor: Paper present.5,6
ON Paper roll end detected by paper roll sensor.7 OFF Not used. Fixed to Off.
ESC t n[Name] Select character code table[Formato] ASCII ESC t n
Hex 1B 74 nDecimal 27 116 n
[Range] n=H , n =H[Description] Selects page n from the character code table.
n Page0 PC437 (U.S.A., standard Europe)
17 PC866 (Cyrillic)
[Default] n = 0[Reference] APPENDIX E
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
36/65
FENIX IMVICO SM2000 OPERATION MANUAL
36/65
ESC SP n[Name] Set right-side character spacing[Format] ASCII ESC SP n
Hex 1B 20 nDecimal 27 32 n
[Range] 0 n255[Description] Sets the character spacing for the right side of the character to [nx horizontal or vertical
motion units].[Notes] The right-side character spacing for double-width mode is twice the normal value. When
characters are enlarged, the right-side character spacing is ntimes normal value. This command is enabled only when no data exists in the print buffer.
[Default] n = 2
ESC ! n[Name] Select print mode(s)[Format] ASCII ESC ! n
Hex 1B 21 n
Decimal 27 33 n[Range] 0 n 255[Description] Selects print mode(s) using n as follows:
Bit OFF/ON Hex Function
OFF 00 Character font A (12 x24).0ON 01 Character font B (8 x 16).
1 -- -- Undefined.2 -- -- Undefined.
OFF 00 Emphasized mode not selected.3ON 08 Emphasized mode selected.OFF 00 Double-height mode not selected.4
ON 10 Double-height mode selected.OFF 00 Double-width mode not selected.5ON 20 Double-width mode selected.
6 -- -- Undefined.7 -- -- Undefined.
[Notes] When both double-height and double-width modes are selected, quadruple size characters
are printed. When some characters in a line are double or more height, all the characters on the line are
aligned at the baseline. GS ! can also select character size. However, the setting of the last received command is
effective.
All print modes except emphasized mode is effective only for alphanumeric.
[Default] n = 0[Reference] GS !
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
37/65
FENIX IMVICO SM2000 OPERATION MANUAL
37/65
ESC -n[Name] Turn underline mode on/off [Format] ASCII ESC - n
Hex 1B 2D nDecimal 27 45 n
[Range] 0 n 2, 48 n 50[Description] Turns underline mode on or off, based on the following values of n:
n Function
0, 48 Turns off underline mode1, 49 Turns on underline mode (1-dot thick)2,50 Turns on underline mode (2-dots thick)
[Notes] The printer can underline all characters (including right-side character spacing), but cannot
underline the space set by Horizontal tab. When underline mode id turned off by setting the value of n to 0 or 48, the following data is
not underlined, and the underline thickness set before the mode is turned off does not change. The default underline thickness is 1 dot.
Changing the character size does not affect the current underline thickness. Underline mode can also be turned on or off by using ESC !. Note, however, that the last
received command is effective.[Default] n = 0[Reference] ESC !
ESC 2[Name] Select default line spacing[Format] ASCII ESC 2
Hex 1B 32Decimal 27 50
[Description] Selects approximately 4,25 mm spacing.[Reference] ESC 3
ESC 3 n[Name] Set line spacing[Format] ASCII ESC 3 n
Hex 1B 33 nDecimal 27 51 n
[Range] 0 n 255[Description] Sets the line spacing to [n x horizontal or vertical motion units].[Notes]
The maximum paper feed amount is 1016 mm. Even if a paper feed amount of more than 1016 mm is set, the printer feeds the paper only 1016 mm.
[Reference] ESC 2
ESC @[Name] Initialize printer [Format] ASCII ESC @
Hex 1B 40Decimal 27 64
[Description] Clears the data in the print buffer and resets the printer mode to the mode that was in effect when the power was turned on.[Notes]
The DIP switch settings are not checked again. The NV bit image data is not cleared.
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
38/65
FENIX IMVICO SM2000 OPERATION MANUAL
38/65
ESC E n[Name] Turn emphasized mode on/off[Format] ASCII ESC E n
Hex 1B 45 nDecimal 27 69 n
[Range] 0 n 255[Description] Turns emphasized mode on or off
When the LSB of n is 0, emphasized mode is turned off.When the LSB of n is 1, emphasized mode is turned on.[Notes]
Only the least significant bit of n is enabled. This command and ESC ! turn on and off emphasized mode in the same way. Be careful
when this command is used with ESC !.[Default] n = 0[Reference] ESC !, ESC G
ESC G n[Name] Turn on/off double-strike mode[Format] ASCII ESC G n
Hex 1B 47 n
Decimal 27 71 n[Range] 0 n 255[Description] Turns double-strike mode on or off.
When the LSB of n is 0, double-strike mode is turned off.When the LSB of n is 1, double-strike mode is turned on.
[Notes] Only the lowest bit of n is enabled. Printer output is the same in double-strike mode and in emphasized mode.
[Default] n = 0[Reference] ESC E
ESC J n[Name] Print and feed paper[Format] ASCII ESC J n
Hex 1B 4A nDecimal 27 74 n
[Range] 0 n 255[Description] Prints the data in the print buffer and feeds the paper[n x horizontal or vertical motion units].[Notes]
After printing is completed, this command sets the print starting position to the beginning ofthe line.
The paper feed amount set by this command does not affect the values set by ESC 2 orESC3.
In standard mode, the printer uses the vertical motion unit (y).
The maximum line spacing is 1016mm. When the setting value exceeds the maximum, it is converted to the maximum automatically.
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
39/65
FENIX IMVICO SM2000 OPERATION MANUAL
39/65
ESC M n[Name] Select character font[Format] ASCII ESC M n
Hex 1B 4D nDecimal 27 77 n
[Range] n =0, 1, 48, 49
[Description] Selects character fonts.
n Function
0, 48 Character font A (12 x 24) selected.1, 49 Character font B (8 x 16) selected.
[Notes] The ESC ! command can also select the character fonts. However, the setting of the last
received command is effective. This command is enabled only when no data exists in the print buffer.
[Default] n = 0[Reference] ESC !
ESC a n[Name] Select justification[Format] ASCII ESC a n
Hex 1B 61 nDecimal 27 97 n
[Range] 0 n 2, 48 n 50[Description] Aligns all the data in one line to the specified position n selects the justification as follows:
n Justification
0, 48 Left justification
1, 49 Centering2, 50 Right justification
[Notes] The command is enabled only when processed at the beginning of the line. This command executes justification in the printing area.
[Reference] ESC ![Example]
Left justification Centering Right justification
ABCABCDABCDE
ABCABCD
ABCDE
ABCABCD
ABCDE
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
40/65
FENIX IMVICO SM2000 OPERATION MANUAL
40/65
ESC c 3 n[Name] Select paper sensor(s) to output paper end signals[Format] ASCII ESC c 3 n
Hex 1B 63 33 nDecimal 27 99 51 n
[Range] 0 n 255[Description] Selects the paper sensor(s) to output paper end signals
Each bit of n is used as follows:
Bit OFF / ON Hex Function
OFF 00 Paper roll near-end sensor disabled0ON 01 Paper roll near-end sensor enabledOFF 00 Paper roll near-end sensor disabled1ON 02 Paper roll near-end sensor enabledOFF 00 Paper roll end sensor disabled2ON 04 Paper roll end sensor enabledOFF 00 Paper roll end sensor disabled3ON 08 Paper roll end sensor enabled
4-7 - - Undefined
[Notes] The command is available only with a parallel interface and is ignored with a serial interface. It is possible to select multiple sensors to output signals. Then, if any of the sensors detects
a paper end, the paper end signal is output. Sensor is switched when executing this command. The paper end signal switching be delayed depending on the receive buffer state. If either bit 0 or bit 1 is on, the paper roll near-end sensor is selected as the paper sensor outputting paper-end signals If either bit 2 or bit 3 is on, the paper roll end sensor is selected as the paper sensor outputting paper-end signals. When all the sensors are disabled, the paper end signal always outputs a paper present
status.
[Default] n = 12
ESC c 4 n[Name] Select paper sensor(s) to stop printing[Format] ASCII ESC c 4 n
Hex 1B 63 34 nDecimal 27 99 52 n
[Range] 0 n 255[Description] Selects the paper sensor(s) used to stop printing when a paper-end is detected, using n
as follows:
Bit OFF / ON Hex Decimal Function
OFF 00 0 Paper roll near end sensor disabled.0ON 01 1 Paper roll near end sensor enabled.OFF 00 0 Paper roll near end sensor disabled.1ON 02 2 Paper roll near end sensor enabled.
2-7 - - - Undefined.
[Notes] When a paper sensor is enabled with this command, printing is stopped only when the
corresponding paper is selected for printing. When the paper roll sensor detects a paper-end, the printer goes offline after printing stops. When either bit 0 or 1 is on, the printer selects the paper roll near-end sensor for the paper
sensor to stop printing.[Default] n = 0
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
41/65
FENIX IMVICO SM2000 OPERATION MANUAL
41/65
ESC c 5 n[Name] Enable/disable panel button[Format] ASCII ESC c 5 n
Hex 1B 63 35 nDecimal 27 99 53 n
[Range] 0 n 255
[Description] Enables or disables the panel buttons.When the LSB of n is 0, the panel button is enabled.When the LSB of n is 1, the panel button is disabled.
[Notes] Only the lowest bit of n is valid. When the panel button is disabled, not is usable when the printer cover is closed. In this printer, the panel button is the FEED button.
[Default] n = 0
ESC d n[Name] Print and feed n lines[Format] ASCII ESC d n
Hex 1B 64 nDecimal 27 100 n
[Range] 0 n 255[Description] Prints the data in the print buffer and feeds n lines.[Notes]
This command sets the print starting position to the beginning of the line. This command does not affect the line spacing set by ESC 2 or ESC 3. The maximum paper feed amount is 1016 mm. If the paper feed amount (nx line
spacing) of more than 1016 mm is specified, the printer feeds the paper only 1016 mm.[Reference] ESC 2, ESC 3
ESC p m t1 t2
[Name] Generate pulse[Format] ASCII ESC p m t1 t2
Hex 1B 70 m t1 t2Decimal 27 112 m t1 t2
[Range] m = 0, 1, 48, 49 0 t1 255, 0 t2255[Description] Outputs the pulse specified by t1 and t2 to connector pin m as follows:
m Connector pin
0, 48 Drawer kick-out connector pin 2.1, 49 Drawer kick-out connector pin 5.
[Notes] The pulse ON time is [t1x 2 ms] and the OFF time is [t2x 2 ms].
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
42/65
FENIX IMVICO SM2000 OPERATION MANUAL
42/65
GS ! n[Name] Select character size[Format] ASCII GS ! n
Hex 1D 21 nDecimal 29 33 n
[Range] 0n 255
(1 vertical number of times 8, 1 horizontal number of times 8)
[Description] Selects the character height using bits 0 to 2 and selects the character width using bits 4to 7, as follows:
Bit OFF / ON Hex Decimal Function0123
Character height selection. See Table 1.
456
7
Character width selection. See Table 2.
Table 1 Table 2 Character Height Selection Character Width Selection
Hex Decimal Height Hex Decimal Width00 0 1 (normal) 00 0 1 (normal)01 1 2 (double-height) 10 16 2 (double-width)02 2 3 20 32 303 3 4 30 48 404 4 5 40 64 505 5 6 50 80 6
06 6 7 60 96 707 7 8 70 112 8
[Notes] This command is all characters effective except for HRI characters. If n is outside of the defined range, this command is ignored. The vertical direction is the paper feed direction, and the horizontal direction is perpendicular
to the paper feed direction. However, when character orientation changes in 90 clockwise-rotation mode, the relationship between vertical and horizontal directions is reversed.
When characters are enlarged with different sizes on one line, all the characters on the lineare aligned at the baseline.
The ESC ! command can also turn double-width and double-height modes on or off.However, the setting of the last received command is effective.
[Default] n = 0[Reference] ESC !
GS ( A pL pH n m [Name] Execute test print[Format] ASCII GS ( A pL pH n m
Hex 1D 28 41 pL pH n mDecimal 29 40 65 pL pH n m
[Range] (pL+ (pHx 256)) = 2 (pL= 2, pH= 0)0 n 2, 48 n501 m 3, 49m51
[Description] Executes a test print with a specified test pattern on a specified paper. pL and pH specifies the number of the parameter such as n, m to (pL + (pHx 256)) bytes.
n specifies the paper to be tested.
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
43/65
FENIX IMVICO SM2000 OPERATION MANUAL
43/65
n Paper
0, 48 Basic test
1,492, 50
Complete test
m specifies a test pattern.
m Test pattern
1, 49 Hexadecimal dump2, 50 Printer status print3,51 Rolling pattern print
[Notes] This command is enabled only when processed at the beginning of a line. The printer cuts the paper at the end of the test print.
GS B n
[Name] Turn white/black reverse printing mode[Format] ASCII GS B n
Hex 1D 42 nDecimal 29 66 n
[Range] 0 n 255[Description] Turns on or off white/black reverse printing mode. When the LSB of n is 0, white/black reverse mode is turned off.
When the LSB of n is 1, white/black reverse mode is turned on.[Notes]
Only the lowest bit of n is valid. When white/black reverse printing mode is on, it also applied to character spacing set by
ESC SP.
This command does not affect bit image, user-defined bit image, bar code and HRIcharacters. This command does not affect the space between lines. White/black reverse mode has a higher priority than underline mode. Even if underline
mode is on, it is disabled (but not cancelled) when white/black reverse mode is selected.[Default] n = 0
GS H n[Name] Select printing position for HRI characters[Format] ASCII GS H n
Hex 1D 48 nDecimal 29 72 n
[Range] n = 0/3[Description] Selects the printing position of HRI characters when printing a bar code.
n selects the printing position as follows:
n Printing position
0 Not printed
1 Above the bar code
2 Below the bar code
3 Both above and below the code bar
[Notes] HRI indicates Human Readable Interpretation. HRI characters are printed using the font specified by GS f.
[Default] n = 0[Reference] GS f, GS k
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
44/65
FENIX IMVICO SM2000 OPERATION MANUAL
44/65
GS L nL nH[Name] Set left margin[Format] ASCII GS L nL nH
Hex 1D 4C nL nHDecimal 29 76 nL nH
[Range] 0 nL2550 nH255
[Description] Sets the left margin using nL and nH. The left margin is set to [(nL + nHx 256) x 0.125 mm)].
[Notes] This command is effective only processed at the beginning of the line. If the setting exceeds the printable area, the maximum value of the printable area is used. The horizontal motion unit (x) is used for calculating the left margin. The calculated result is truncated to the minimum value of the mechanical pitch.[Default] nL = 0, nH = 0
GS V m GS V m n[Name] Select cut mode and cut paper
[Format] ASCII GS V mHex 1D 56 m
Decimal 29 86m
ASCII GS V m nHex 1D 56 m n
Decimal 29 86 m n
[Range] m= 1, 49
m= 66, 0 n 255[Description] Selects a mode for cutting paper and executes paper cutting. The value of m selects the mode as follows:
m Print mode
1, 49 Partial cut (one point left uncut)66 Feeds paper (cutting position + [x 0,125mm]), and cuts the paper
partially (one point left uncut).
[Notes for and] The cut position is the distance between the position of the line of impression and the line of cutter (13mm). This command is effective only processed at the beginning of a line.
[Notes for ] When n = 0, the printer feeds the paper to the cutting position and cuts it. When n 0, the printer feeds the paper to (cutting position + [n vertical motion unit]) and cuts it. The paper feed amount is calculated using the vertical motion unit (y). However, the value
cannot be less than the minimum horizontal movement amount, and it must be in even units ofthe minimum horizontal movement amount.
[Default] n= 0
Printable area
Left margin Printing area width
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
45/65
FENIX IMVICO SM2000 OPERATION MANUAL
45/65
LINE OF IMPRESSION and LINE OF CUTDue to the constructive physical elements of the mechanism of impression and cut of the paper, thepositioning of the line of drivers that they print and the one of the blade that cuts do not agree:
This distance must consider at the time of constructing ticket if m=49 is used.
GS f n[Name] Select font for Human Readable Interpretation (HRI) characters[Format] ASCII GS f n
Hex 1D 66 nDecimal 29 102 n
[Range] n = 0, 1, 48, 49[Description] Selects a font for the HRI characters used when printing a bar code. nselects the font as follows:
n Font
0, 48 Font A (12 x 24)
1, 49 Font B (8 x 16)
[Default] n = 0[Reference] GS H, GS k
GS h n[Name] Select bar code height[Format] ASCII GS h n
Hex 1D 68 n
Decimal 29 104 n[Range] 1 n255[Description] Selects the height of the bar code.
n specifies the number of dots in the vertical direction.[Default] n = 185 dots[Reference] GS k
Sense of advanceof the paper
Position of the lineof im ression
Position of the line ofautomatic cut
Position of the lineof manual cut
13 mm
11 mm
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
46/65
FENIX IMVICO SM2000 OPERATION MANUAL
46/65
GS k m n d1...dn[Name] Print bar code[Format] ASCII GS k m n d1...dn
Hex 1D 6B m n d1...dnDecimal 29 107 m n d1...dn
[Range] 65 m 73 (n and d depends on the bar code system used)[Description] Selects a bar code system and prints the bar code.
m selects a bar code system as follows:
m Bar Code System Number of Characters Remarks
67 JAN13(EAN13) n= 12 48 d5769 CODE39 1 n255 48 d57, 69 d90, 32, 36,
37, 43, 45, 46, 4770 ITF 1 n255(even number) 48 d5773 CODE128 2 n255 0 d127
[Notes] n indicates the number of bar code data, and the printer processes n bytes from the next
character data as bar code data. If n is outside of the specified range, the printer stops command processing and processes
the following data as normal data. If d is outside of the specified range, the printer only feeds paper and process the following
data as normal data. If the horizontal size exceeds printing area, the printer only feeds the paper. This command feeds as much paper as is required to print the bar code, regardless of the
line spacing specified by ESC 2 or ESC 3. This command is enabled only when no data exists in the print buffer. When data exists in
the print buffer, the printer processes the data following m as normal data. After printing bar code, this command sets the print position to the beginning of the line. This command is not affected by print modes (emphasized, double-strike, underline,
character size, white/black reverse printing, or 90 rotated character, etc.), except forupside-down printing mode.
When the system of bar code is used JAN13(EAN13), the printer prints the bar code afterreceiving 12 bytes of data of the bar code and processes the following data like normal data.
The number of data for code ITF must be even numbers. When an uneven number of byteof data is introduced, the printer ignores the command.
When using the CODE 128 in this printer, take the following points into account for datatransmission:
# The top of the bar code data string must be code set selection character (any ofCODE A, CODE B or CODE C) which selects the first code set.
# Special characters are defined by combining two characters "{" and one character.The ASCII character "{" is defined by transmitting "{" twice consecutively.
Transmit dataSpecific character
ASCII Hex Decimal
SHIFT {S 7B, 53 123, 83CODE A {A 7B, 41 123, 65CODE B {B 7B, 42 123, 66CODE C {C 7B, 43 123,67
FNC1 {1 7B, 31 123, 49FNC2 {2 7B,32 123, 50FNC3 {3 7B, 33 123,51FNC4 {4 7B,34 123, 52
{ {{ 7B, 7B 123, 123
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
47/65
FENIX IMVICO SM2000 OPERATION MANUAL
47/65
[Example] Example data for printing "Ref. 258710" In this example, the printer first prints "Ref." using CODE B, then prints the following numbers using CODE C.
GS k 73 11 123 66 82 101 102 46 123 67 25 87 10
1) If the top of the bar code data is not the code set selection character, the printer
stops command processing and processes the following data as normal data.2) If combination of "{" and the following character does not apply any specialcharacter, the printer stops command processing and processes the following dataas normal data.
3) If the printer receives characters that cannot be used in the special code set, theprinter stops command processing and processes the following data as normaldata.
4) The printer does not print HRI characters that correspond to the shift characters orcode set selection characters.
5) HRI character for the function character is space.6) HRI characters for the control character (H to H and H) are space.
Be sure to keep spaces on both right and left sides of a bar code. (Spaces are different
depending on the types of the bar code.)[Reference] GS h, GS w
GS v 0 m xL xH yL yH d1 ... dk[Name] Print raster bit image[Format] ASCII GS v 0 m xL xH yL yH d1...dk
Hex 1D 76 30 m xL xH yL yH d1...dkDecimal 29 118 48 m xL xH yL yH d1...dk
[Range] 0 m3, 48 m510 xL2550 xH2550 yL2550 yH8
0 d255k = (xL + xHx 256) x (yL + yHx 256) (k 0)
[Description] Selects Raster bit-image mode. The value of m selects the mode, as follows:
m ModeVertical Dot
Density
Horizontal Dot
Density
0, 48 Normal 203.2 dpi 203.2 dpi1, 49 Double-width 203.2 dpi 101.1 dpi2, 50 Double-height 101.6 dpi 203.2 dpi3, 51 Quadruple 101.6 dpi 101.6 dpi
[dpi : dots per 25.4 mm]
5/22/2018 Fenix Imvico SM2000 v1.1 Thermal Printer Operation Manual
48/65
FENIX IMVICO SM2000 OPERATION MANUAL
48/65
xL, xH, select the number of data bytes (xL+xH x 256) in the horizontal direction for the bitimage.
yL, yH, select the number of data bytes (yL+yH x 256) in the vertical direction for the bitimage.
[Notes] This command is effective only when there is no data in the print buffer. This command has no effect in all print modes (character size, emphasized, double-strike,
upside-down, underline, white/black reverse printing, etc.) for raster bit image. Data outside the printing area is read in and discarded on a dot-by-dot basis. The position in which the later characters must be printed for the plot of the bit image this
specified by GS L(Fixed the left margin). If the