Fujitsu PRN607-S User Manual

User Manual
Thermal printer controller
PRN607-S
MAN607-S
FOR FUJITSU THERMAL PRINTERS
FTP607MCLXXX SERIES
28-03-2003 Page 1-1 of 53
VERSION HISTORY
Version Date Init Status Description
1.0 030328 BB Released First release Comments: List of known missing parts:
1. Details for some ESC sequences are not specified.
2. Connector specification is not updated
3. IRDA specifications are not implemented.
4. Description of installed Font set missing.
Copyright 1999-2003 by I/F-COM A/S.
All rights reserved.
I/F-COM A/S has prepared this manual for use by I/F-COM A/S’ customers. The information contained herein is the property of I/F-COM A/S and shall
not be reproduced in whole or in part without the prior written approval of I/F-COM A/S.
I/F-COM A/S reserves the right to make changes without notice to the specifications and materials contained herein and shall not be responsible for any damages (including consequential) caused by reliance on the materials presented, including but not limited to typographical, arithmetic, or listing errors.
Seiko is a trademark of Seiko Instruments Inc.
Fujitsu is a trademark of Fujitsu Corporation.
APS is a trademark of Advance Printing System.
Centronics is a trademark of Centronics Date Computer Corporation.
ESC/POS is a trademark of EPSON.
Windows is a trademark of Microsoft Inc.
Safety Precautions
Please read and understand these specifications thoroughly before using the printer. Please keep the specifications carefully in a place where they may be easily consulted when the printer is used.
Please do not modify or service this printer as this may cause unpredictable faults to occur.
MAN607-S
28-03-2003 Page 1-2 of 53
MAN607-S
The product is not intended to be installed in devices such as those used in life-support medical equipment, undersea relays, and aerospace applications or for nuclear power control, in which extremely high reliability is required. If you are considering such applications, please consult our customer service department.
There is a general possibility of component failure. Every effort has been made to improve product quality but such failures cannot be completely excluded. Please assume that such failure may occur before using this printer.
We would urge that these specifications should be thoroughly understood and the printer used safely in your company or associated organisation. Please indicate or describe in your products and in the user manuals those items, which are related to the prevention or avoidance of danger and draw these to the attention of the eventual client (the user).
28-03-2003 Page 1-3 of 53
MAN607-S
1 SYSTEM DESCRIPTION.....................................................................................................1-7
2 INSTALLATION ...................................................................................................................2-7
2.1 UNPACKING.......................................................................................................................2-7
2.2 LABELS .............................................................................................................................2-7
2.3 INSTALLATION ..................................................................................................................2-7
2.4 POWER SUPPLY..................................................................................................................2-8
2.5 SETTINGS ..........................................................................................................................2-8
2.6 SERIAL INPUT/OUTPUT....................................................................................................2-11
2.6.1 Serial data transfer.................................................................................................2-11
2.6.1.1 Serial input/output port........................................................................................2-12
2.6.2 Setting functions .....................................................................................................2-12
2.6.3 Thermal Head Control............................................................................................2-13
2.6.4 Thermal Head Drive Operation..............................................................................2-13
2.6.5 Peak power limitation.............................................................................................2-13
2.6.6 Head Control Circuit..............................................................................................2-14
2.6.7 Head temperature measurement circuit .................................................................2-14
2.6.8 Vhead interrupt circuit ...........................................................................................2-14
3 SPECIFICATIONS..............................................................................................................3-15
4 FUNCTION...........................................................................................................................4-16
4.1 GENERAL ........................................................................................................................4-16
4.2 SERIAL COMMUNICATION................................................................................................4-16
4.3 USB COMMUNICATION. ..................................................................................................4-16
4.4 IRDA COMMUNICATION. ................................................................................................4-16
4.5 FIRMWARE UPGRADE.......................................................................................................4-17
4.6 AUTO FORM FEED............................................................................................................4-17
4.7 CHARACTER DESIGN........................................................................................................4-18
4.7.1 Normal Character. .................................................................................................4-18
4.7.2 Low Character........................................................................................................4-18
4.7.3 Underline................................................................................................................4-18
4.7.4 Bold ........................................................................................................................4-18
4.7.5 Reverse ...................................................................................................................4-19
4.7.6 Italic........................................................................................................................4-19
4.7.7 Font sizes................................................................................................................4-19
4.8 PRINTER COMMANDS.......................................................................................................4-20
4.9 I/F-COM SIMPLE COMMAND SET. ...................................................................................4-20
4.9.1 Small Font ..............................................................................................................4-20
4.9.2 Low Font.................................................................................................................4-20
4.9.3 Narrow Font...........................................................................................................4-20
4.9.4 Normal Font...........................................................................................................4-20
4.9.5 Wide Font...............................................................................................................4-21
4.9.6 High Font ...............................................................................................................4-21
4.9.7 Large Font..............................................................................................................4-21
4.9.8 Xlarge Font.............................................................................................................4-21
4.9.9 Line Feed................................................................................................................4-21
4.9.10 Barcode on .............................................................................................................4-21
4.9.11 Feed Forward.........................................................................................................4-22
4.9.12 Reverse off..............................................................................................................4-22
4.9.13 Reverse on ..............................................................................................................4-22
4.9.14 Underline off...........................................................................................................4-22
4.9.15 Underline on...........................................................................................................4-22
4.9.16 Bold off...................................................................................................................4-23
4.9.17 Bold on ...................................................................................................................4-23
4.9.18 Italic off..................................................................................................................4-23
28-03-2003 Page 1-4 of 53
MAN607-S
4.9.19 Italic on...................................................................................................................4-23
4.9.20 Initialise Printer .....................................................................................................4-23
4.9.21 Request Software version........................................................................................4-24
4.9.22 Request Status.........................................................................................................4-24
4.9.23 Request Analog voltage..........................................................................................4-24
4.9.24 Request Temperature..............................................................................................4-25
4.9.25 Sub command set....................................................................................................4-25
4.9.26 Upgrade command.................................................................................................4-25
4.9.27 Set auxiliary output.................................................................................................4-25
4.9.28 Automatic sending status........................................................................................4-26
4.9.29 Stop sending automatic status................................................................................4-26
4.9.30 Color/Grey scale graphic.......................................................................................4-26
4.9.31 Enable saving data.................................................................................................4-26
4.9.32 Save data to board..................................................................................................4-27
4.9.33 Change dot size.......................................................................................................4-27
4.9.34 Change form feed length.........................................................................................4-27
4.9.35 Change baud rate...................................................................................................4-27
4.9.36 Change form feed time............................................................................................4-27
4.9.37 Feed Paper.............................................................................................................4-28
4.9.38 Compensate Burn time............................................................................................4-28
4.9.39 Bar code width setting............................................................................................4-28
4.9.40 Bar code height setting...........................................................................................4-29
4.9.41 Bar code printing....................................................................................................4-29
4.9.42 Black Mark.............................................................................................................4-31
4.9.43 Graphic data – non compressed.............................................................................4-32
4.9.44 Graphic data – compressed....................................................................................4-32
4.9.45 Escape sequences, overview...................................................................................4-33
5 MAINTENANCE .................................................................................................................5-34
5.1 DAILY USE.......................................................................................................................5-34
5.2 STORE/TRANSPORT .........................................................................................................5-34
6 SPECIFICATIONS..............................................................................................................6-35
6.1 ELECTRICAL DATA..........................................................................................................6-35
6.2 MECHANICAL DATA........................................................................................................6-35
6.3 ENVIRONMENTAL DATA..................................................................................................6-35
6.4 EMC & ESC...................................................................................................................6-35
6.5 TEMPERATURE TEST .......................................................................................................6-36
6.6 CONNECTOR PIN ASSIGNMENT........................................................................................6-37
6.6.1 Thermal Head connector........................................................................................6-37
6.6.2 Thermal Head connector........................................................................................6-37
6.6.3 IRDA connector......................................................................................................6-38
6.6.4 AUX input connector..............................................................................................6-38
6.6.5 Power connector.....................................................................................................6-39
6.6.6 USB connector........................................................................................................6-39
6.6.7 AUX connector.......................................................................................................6-39
6.6.8 Cutter connector.....................................................................................................6-40
6.6.9 Serial connector......................................................................................................6-40
6.7 MECHANICAL DRAWINGS................................................................................................6-41
7 APPENDIX...........................................................................................................................7-42
7.1 SEIKO COMPATIBLE COMMAND SET.................................................................................7-42
7.1.1 Escape sequences, overview...................................................................................7-42
7.2 FUJITSU COMPATIBLE COMMAND SET..............................................................................7-43
7.2.1 Escape sequences, overview...................................................................................7-43
7.3 COMMAND LIST DESCRIPTION .........................................................................................7-44
7.3.1 Horizontal tab.........................................................................................................7-44
7.3.2 Line feed.................................................................................................................7-45
28-03-2003 Page 1-5 of 53
MAN607-S
7.3.3 Forms feed..............................................................................................................7-46
7.4 APS COMPATIBLE COMMAND SET...................................................................................7-47
7.4.1 Escape sequences, overview...................................................................................7-47
7.5 ESC/POS COMPATIBLE COMMAND SET...........................................................................7-49
7.6 ESCAPE SEQUENCES, OVERVIEW. ....................................................................................7-49
7.7 OPTIONAL SENSOR DESCRIPTION.....................................................................................7-52
28-03-2003 Page 1-6 of 53
1 SYSTEM DESCRIPTION
This reference manual describes the specifications, functions, and operating procedures for the PRN607-S Interface Board. The PRN607-S is an interface board for the FTP607MCLxxx series printer mechanisms. This reference manual also describes the print operation of the FTP607MCLxxx. Read this reference manual thoroughly before using the PRN607-S. PRN607-S is designed for the following Fujitsu printers:
FTP627MCLxxx FTP637MCLxxx
PRN607-S consists of an interface board. The communication is RS232, USB or IRDA. PRN607-S can print graphic data either compressed or non-compressed. Burn time can be set to control the printing intensity Windows 95/98, 2000, NT and CE drivers are available at http://www.if-com.com, for easy operation by PC. Linux drivers are available upon request.
MAN607-S
2 INSTALLATION
2.1 Unpacking
Remove the cover observing precautions for Electro Static Discharge (ESD). Make sure that board is handled with care with respect to Electrostatic environment.
2.2 Labels
PRN607-S has 3 labels; Label 1 on backside ex. Ifxxxxxx is a unique ID number. For service and question based upon 1 particular board please refer to this number. Label 2 on topside ex. PRN607-S is part number. Please refer to this number upon reordering. Make sure that software revision is applied at same time. Label 3 is an internal code. Please ignore.
2.3 Installation
PRN607-S is fastened in the product by 4 M3.3 screws. The cables (for the thermal head, the stepper-motor and detector) are placed in the thermal printer connector on the PCB. 1 Mounting hole is grounded. See drawing for more details.
28-03-2003 Page 2-7 of 53
MAN607-S
(a) To connect or remove the connector, always turn off the power in
advance. If the connector is connected or removed while the power to the printer is on, errors may occur.
(b) The connector of each cable must be correctly locked and connected.
The connector at the head side has no lock feature. Check that the connector at the head side is completely inserted.
(c) To install the interface, carefully check each cable so that excessive
force is not applied to each cable. Especially, carefully check the head connection cable because it affects the head pressure force. If the print head connector is not completely connected, overheating or burning may occur in the print head.
(d) Be sure to add grounding cable from printer body to interface ground.
Make sure that ground is present at any mechanical settings, like head up and paper out.
2.4 Power supply
Single power supplies for the PRN607-S controller board. Voltage range is 18-26VDC. 5A minimum @ 24V. Make sure that voltages never exceed 26VDC.
(a) The power supply unit that satisfies the specified specifications must
be used. If a power supply unit that does not satisfy the specified specifications is used, normal operation is not assured and errors may occur.
(b) To turn on or off the power, a protective circuit must be mounted on
the control board in advance. For safety, the following voltage change conditions must be satisfied:
2.5 Settings
Following below description can change default settings. Baud rate is default 115.200, however standard PC´s today cannot handle this Baud rate. Windows OS does not support speed higher than 115.200 Baud, even when setup menus can be set to higher speed. In order to obtain higher
28-03-2003 Page 2-8 of 53
MAN607-S
speed you need to install 3rd part utility program on PC. Please visit www.if-
com.com for further information.
1. Turn off power
2. Press Key 1 low while power up. Board is now in setting mode. Text
will be printed on paper for further information
3. By activating key 1 and 2 you can change following parameters:
a. Test printout b. Select Command set
i. I/F-COM command set (Default)
ii. Seiko compatible command set (Optional)
iii. Fujitsu compatible command set (Optional)
iv. APS compatible command set (Optional)
v. ESC/POS compatible command set (Optional)
c. Baud rate
i. 9600
ii. 19.200
iii. 38.400
iv. 57.600
v. 115.200 (Default)
vi. 230.400
vii. 460.800
d. Parity
i. 0 (Default)
ii. 1
e. Data bit
i. 7
ii. 8 (Default)
f. Stop bit
i. 1
ii. 2
g. Flow control
i. None
ii. Hardware (Default)
iii. Xon/Xoff
h. Dot size of printer
i. 384 dots (Default)
ii. 432 dots
iii. 448 dots
iv. 512 dots
v. 576 dots
vi. 640 dots
vii. 832 dots
viii. 1152 dots
i. Key 1 function
1. Input key (Default)
2. LED output
3. Label detect
28-03-2003 Page 2-9 of 53
MAN607-S
4. Black mark detection
5. Paper near end function
j. Key 2 function
1. Input key
2. LED output
3. Label detect
4. Black mark detection
5. Paper near end function
k. IRDA
i. Enabled (Optional)
ii. Disabled
l. Auto form feed
i. 0 sec.
ii. 1 sec.
iii. 2 sec. (Default)
iv. 3 sec.
v. 4 sec.
vi. 5 sec.
m. Form feed length
i. 0 mm
ii. 1 mm
iii. 2 mm
iv. 5 mm
v. 10 mm
vi. 20 mm
vii. 30 mm
viii. 50 mm (Default)
n. Grey scale printing
i. On (optional)
ii. Off
o. Acceleration
i. Slow
ii. Medium
iii. Fast
iv. Disable (Default)
p. Printing speed
i. 25%
ii. 50%
iii. 75%
iv. 100% Default)
v. Disable
q. Burn strobe dark
i. 0 (Default)
ii. 1
iii. 2
iv. 3
v. 4
28-03-2003 Page 2-10 of 53
vi. 5
vii. 6
viii. 7
ix. 8
x. 9
r. Burn strobe light
i. -1
ii. -2
iii. -3
iv. -4
v. -5
vi. -6
vii. -7
viii. -8
ix. -9
Settings will be effective upon turn off and on.
MAN607-S
2.6 Serial Input/Output
If BUSY control is selected: When 236 bytes of data have been stored in the input buffer, the SBUSY signal becomes high to request that the computer temporarily stop sending data. When the amount of data stored in the input buffer becomes 235 bytes or less, the SBUSY signal changes to low to request that the host device continue data transfer. Up to 16 bytes of input data are guaranteed after the SBUSY signal has become high. When an error occurs, the SBUSY signal becomes high. Data input is prohibited until the error is cancelled. If Xon/Xoff control is selected: When 188 bytes of data has been stored in the input buffer, Xoff (1316) is output through the TxD terminal to request that the host device temporarily stops sending data. When the amount of data stored in the input buffer becomes 124 bytes or less, Xon (1116) is output to request that the computer continues data transfer. Up to 64 bytes of the input data are guaranteed after Xoff has been output. When an error occurs, the Xoff signal is output to prohibit the data input. When the error is cancelled, Xon is output.
2.6.1 Serial data transfer The PRN607-S transfers various data other than the Xon and Xoff codes
which are output when controlling Xon and Xoff. Regardless of whether the input mode is serial or parallel, the following data is transferred through the TxD terminal. (a) Error codes when a hardware error occurs at initialisation
28-03-2003 Page 2-11 of 53
MAN607-S
(b) The data when executing the Vhead voltage response (c) The data when the error status response is set and an error occurs (d) The data when executing the execution response request (e) The data when executing the remaining RAM capacity response (f) The data when executing the environmental temperature response At the selection of serial input, data (b) through (f) is transferred according to the transfer conditions, which are set using the function switches. However, the hardware error code (a) has the same conditions as those for parallel input. When transferring data, data control by SBUSY and Xon/Xoff is not executed and the data is transferred with no conditions. All of the transmission conditions of serial data transfer for sending hardware error codes are fixed at the selection of parallel input as follows:
Baud rate: 115.200bps Parity: none Bit length: 8 bit Stop bit: 1 bit
2.6.1.1 Serial input/output port
Serial data output (TxD)
When Xon/Xoff control is selected, the Xon/Xoff signal is output. Data is output according to the transmission conditions, which are set by the function switches. All response data is output.
Serial data input (RxD)
Data input port Data is input from the host device according to the transmission conditions, which are set using the function switches.
Serial busy (SBUSY)
Indicates whether or not the PRN607-S is ready to receive data. When the SBUSY signal is low, data can be input. When Xon/Xoff control is selected, SBUSY is always low.
2.6.2 Setting functions
Error processing when receiving serial data The PRN607-S receives and checks serial data according to the transmission conditions. When the PRN607-S has received one byte of data without errors, the data is stored in the input buffer. If there are any errors, the following data is stored in the input buffer according to the type of error. Error type Error code Parity error (!: 2116)
28-03-2003 Page 2-12 of 53
Framing error (?: 3F16) If the input data cannot be printed correctly and instead “!” or “?” is printed, the transmission conditions between the host device and the PRN607-S most likely does not match. If this happens, adjust the conditions so that they match.
2.6.3 Thermal Head Control
Data Transfer to the Thermal Head The PRN607-S transfers one dot line of data at 4 Mbps synchronized with the CLOCK signal. The data is transferred in order to the shift register inside the thermal head from the left (when facing the paper feed direction). The transferred data is then transferred by the head latch signal to the latch register inside the thermal head. Turning on the head strobe signal initiates printing of one dot line of data on the thermal paper.
MAN607-S
2.6.4 Thermal Head Drive Operation
Generally, when the line thermal head is operating, the line is divided into several blocks, which are activated one after another in succession. For the line thermal head of the FTP607MCLxxx printer mechanism, the line is divided into 3 blocks called physical blocks, 64 dots with each. A strobe signal (DST1 to DST3) is allocated to each physical block to activate it. To drive the head, physical blocks are activated in groups. The group of physical blocks is called a logical block. For the PRN607-S either dynamic division or fixed division can be selected as the method of division for logical blocks. This selection is made through a function. See settings for more information.
2.6.5 Peak power limitation The PRN607-S counts the number of dots activated in each physical block
and groups the physical blocks into logical blocks to print a single dot line so that the number does not exceed the specified maximum number of activated dots. The PRN607-S determines logical blocks each time it prints a single dot line. In dynamic division, in order to avoid unclear printing, at the first step of the motor the thermal head is driven and at the second step the paper is fed. Also, since the order of the printing blocks and printing speed are changed in each dot line according to the content of the print data, print quality may be lower than that in fixed division. If print quality is regarded as important, printing in fixed division is recommended. The maximum number of activated dots in the initialisation status is specified using the function switches.
28-03-2003 Page 2-13 of 53
64 through 256 dots can, however, are set using the command for setting the number of dynamic division dots. When the maximum number of activated dots is 128 dots, and all of the dots are driven, as shown in
2.6.6 Head Control Circuit
The PRN607-S has a function for measuring the resistance of the thermal head connected to the FTP607MCLxxx. The PRN607-S measures the resistance of the thermal head and detects the errors at initialisation. Based on the measurement, the PRN607-S determines how much energy to apply. No adjustment is needed for replacing the FTP607MCLxxx to get the best printing.
2.6.7 Head temperature measurement circuit
The thermistor is mounted on the FTP607MCLxxx to measure the temperature of the thermal head. The PRN607-S determines the energy to be applied to the head and also checks for head temperature errors. If the temperature of the thermal head is -10 °C or lower, or 80 °C or higher, the PRN607-S stops driving and puts the printer in head temperature error status. If the temperature of the thermal head is returned to from -5 °C to 75 °C, the printer goes to printable status.
MAN607-S
2.6.8 Vhead interrupt circuit
This circuit interrupts Vhead to prevent electrolytic corrosion of the thermal head and to enable the detection of the resistance mentioned above. Electrolytic corrosion may significantly shorten the life of the thermal head. Thermal paper ordinarily contains electrolytic material to prevent sheets from sticking to each other due to static electricity. If there is too much of this electrolytic material, high temperatures and humidity cause the material to ionise, resulting in electrolytic corrosion of the thermal head.
The PRN607-S turns the FET off and breaks the Vhead applied to the thermal head during waiting status to prevent electrolysis corrosion of the thermal head.
28-03-2003 Page 2-14 of 53
MAN607-S
3 Specifications
Default settings
Interface Serial RS232C, USB or IRDA
115.200 baud, 8 data bit, none parity, 1 stop bit, hardware
Data format serial Data format USB Data format IRDA
Command set I/F-COM Transmission to host Requested status etc. Printer supply 18V to 24V DC Power on self test Feed Voltage compensation Burn time Current consumption Operating 130mA, Printing up to XA @ 24V (TBD) Printing speed 100mm/sec FTP629MCLXXX, 100mm/sec FTP639MCLXXX and Fontset Western (Code 850, char 32-159) Character size 8x14, 8x28, 16x14, 16x28, 16x56, 32x28, 32x56, 64x112 Character type Normal, Bold, Underline, Italic, Reverse (white on black) Default font 16x28 Paper detect Digital Graphics Normal / Compressed Auto load 80mm Form feed 50mm Line feed LF Maximum dimensions Width 77mm, Depth 50mm, Connected height 15mm Mounting holes Width 71mm, Depth 44mm, Diameter 3.3mm Connectors TBD Weight 25g Temperature Shock 100G XYZ EMC Emission: E-Field EN50081-1-1, Conducted EN50081-1-2 Immunity: E-field EN50082-1-1, Conducted EN50082-1-2, Over voltage EN50082-1-3 ESD Contact discharge 4kV, air discharge 8kV Drivers Windows 9x, Windows CE, Windows NT, Linux, Windows2000 and Windows XP Approvals CE, UL Accessories Serial Interface cable: CBL-002, 9pol SubD, female Power cable: CBL-025
handshake. Baud rate can be changed by software. USB Printer class specification.
http://www.usb.org/developers/docs
IRDA (Ircomm specifications)
http://www.irda.org/standards/pubs/ircomm10.pdf
Storage -40ºC to +85ºC 0-90 Operating 0C to +85ºC 10-90%RH
28-03-2003 Page 3-15 of 53
4 Function
4.1 General
Notice, when data is sent from the external equipment to the printer controller, all data has to be sent as binary file. If data is being sent as a character file, and some data in the file is equal to EOF, the rest will not be received.
4.2 Serial communication.
Standard communication is; Baud rate; 115.200 Baud Data bits = 8 Stop bits = 1. Parity = None Flow control = Hardware handshake
Baud rate can be changed. See setting for more information.
MAN607-S
4.3 USB communication.
Build in USB interface is 100% compliant to USB 1.1 and fully approved by the USB organisation. For more details please contact I/F-COM. By plug USB cable - Host system will recognise I/F-COM interface board. Before connecting USB cable please set USB port as offline. Interface board will automatically online USB port. Data cannot be send from interface board to host. USB is not a bi-directional communication.
4.4 IRDA communication.
PRN607-S is prepared for IRDA via connector for IRDA transmission. Please contact I/F-COM for more information.
28-03-2003 Page 4-16 of 53
4.5 Firmware upgrade.
If firmware needs to be changed, alternative firmware can be downloaded. Please contact I/F-COM for firmware upgrade or changes. The steps to download an alternative firmware in DOS are the following. These steps only work for a serial connection, look further down how to do it with USB.
1. Power the system off.
2. Disconnect printer.
3. Short circuit the pins “upgrade firmware”
4. Turn on printer
5. Write the following command “mode com1:9600,n,8,1”, this command ensure that the serial port is at a known state.
6. Write the following command “xmode 1 +”, this command sets the baud rate to 115.200, the xmode program can be downloaded from the I/F-COM web site
http://www.if-com.com/data/drivers/xmode.zip
7. Run the following command, “copy “filename” /b com1”. The filename represents the path and the filename of the new firmware file. This file can be downloaded from website, or can be emailed by I/F-COM.
I/F-COM also offers a Windows utility program in order to download firmware through serial port. Visit www.if-com.com for more information.
For further information about downloading with the driver, can be found in the driver installation guide.
MAN607-S
4.6 Auto form feed
When paper no paper is present, it is possible to form feed new paper automatic. While thermal head is down, place the paper at the roller. After 2 seconds (default) the paper will be pulled in automatically. Form feed wait time is 2 sec (default), but can be changed by a command.
28-03-2003 Page 4-17 of 53
4.7 Character design
The following figures describes the design of different types of characters (small):
4.7.1 Normal Character.
MAN607-S
4.7.2 Low Character
4.7.3 Underline When underline characters are printed the last line in the character matrix
will be marked.
4.7.4 Bold When bold characters are printed the character is or with itself shifted right.
28-03-2003 Page 4-18 of 53
4.7.5 Reverse When reverse characters are printed the character matrix will be negated.
4.7.6 Italic. When Italic characters are printed every line will be shifted the following
number of dots to the right: (Line number from bottom)/4
4.7.7 Font sizes.
Font Width Height Small Normal Normal Low Double Normal Narrow Normal Double Normal Double Double Wide Double Quadruple High Quadruple Double Large Quadruple Quadruple Xlarge Octuple Octuple
When the size is normal or greater a build in smooth function will smooth the characters.
MAN607-S
28-03-2003 Page 4-19 of 53
4.8 Printer commands
I/F-COM simple command set is default command set however optional command set can be downloaded. See appendix for additional information.
4.9 I/F-COM simple command set.
The following commands are use when communicating with the printer controller. All other commands is ignored
4.9.1 Small Font [Name] Small Font (8x12)
[Format] ASCII NUL Hex 00 Decimal 0 [Description] Chooses small font from the current print position.
MAN607-S
4.9.2 Low Font [Name] Low Font (16x12)
[Format] ASCII SOH Hex 01 Decimal 1 [Description] Chooses low font from the current print position.
4.9.3 Narrow Font [Name] Narrow Font (8x28)
[Format] ASCII STX Hex 02 Decimal 2 [Description] Chooses narrow font from the current print position.
4.9.4 Normal Font [Name] Normal Font (16x28)
[Format] ASCII ETX Hex 03 Decimal 3 [Description] Chooses normal font from the current print position. This is
the default font after power up or reset.
28-03-2003 Page 4-20 of 53
4.9.5 Wide Font [Name] Wide Font (32x28)
[Format] ASCII EOT Hex 04 Decimal 4 [Description] Chooses wide font from the current print position.
4.9.6 High Font [Name] High Font (16x56)
[Format] ASCII ENQ Hex 05 Decimal 5 [Description] Chooses high font from the current print position.
4.9.7 Large Font [Name] Large Font (32x56)
[Format] ASCII ACK Hex 06 Decimal 6 [Description] Chooses large font from the current print position.
MAN607-S
4.9.8 Xlarge Font [Name] Xlarge Font (64x112)
[Format] ASCII BEL Hex 07 Decimal 7 [Description] Chooses Xlarge font from the current print position.
4.9.9 Line Feed [Name] Line Feed
[Format] ASCII LF Hex 0A Decimal 10 [Description] When the printer controller receives this byte the text data
4.9.10 Barcode on [Name] Barcode on
[Format] ASCII VT Hex 0B
[Type] Barcode 39 [Description] Turns the barcode on until non-barcode character received. [Barcode char.] Space , $ , % , * , + , - , . , / , 0-9 , A-Z
in the buffer will be printed
Decimal 11
28-03-2003 Page 4-21 of 53
[Notes] The barcode 39 must start and end with the character ‘*’.
4.9.11 Feed Forward [Name] Feed Forward
[Format] ASCII FF Hex 0C Decimal 12 [Description] When this command is received the printer will print
MAN607-S
This character is the start and stop character in barcode 39, and the ‘*’ can only be used as start and end character.
If the barcode length exceeds the paper size the last barcode character will not be written as barcode. In that case the barcode cannot be read because the last character will not be ‘*’
whatever data it has in the buffer and feed forward 50mm
4.9.12 Reverse off [Name] Reverse off
[Format] ASCII SO Hex 0E Decimal 14 [Description] This command will switch off reverse printing
4.9.13 Reverse on [Name] Reverse on
[Format] ASCII SI Hex 0F Decimal 15 [Description] This command will switch on reverse printing
4.9.14 Underline off [Name] Underline off
[Format] ASCII DLE Hex 10 Decimal 16 [Description] This command will switch off underline printing
4.9.15 Underline on [Name] Underline on
[Format] ASCII DC1 Hex 11 Decimal 17
28-03-2003 Page 4-22 of 53
[Description] This command will switch on underline printing
4.9.16 Bold off [Name] Bold off
[Format] ASCII DC2 Hex 12 Decimal 18 [Description] This command will switch off bold printing
4.9.17 Bold on [Name] Bold on
[Format] ASCII DC3 Hex 13 Decimal 19 [Description] This command will switch on bold printing
MAN607-S
4.9.18 Italic off [Name] Italic off
[Format] ASCII DC4 Hex 14 Decimal 20 [Description] This command will switch off italic printing
4.9.19 Italic on [Name] Italic on
[Format] ASCII NAK Hex 15 Decimal 21 [Description] This command will switch on italic printing
4.9.20 Initialise Printer [Name] Initialise
[Format] ASCII SYN Hex 16 Decimal 22 [Description] When the printer controller receives this byte a reset of the
printer will be initialised. This command can be treated even if buffer is full.
28-03-2003 Page 4-23 of 53
4.9.21 Request Software version [Name] Request software version
[Format] ASCII ETB Hex 17 Decimal 23 [Description] When the printer controller receives this byte the software
version will be transmitted. This command can be treated even if buffer is full.
4.9.22 Request Status [Name] Request status
[Format] ASCII CAN Hex 18 Decimal 24 [Description] When the printer controller receives this byte a status byte
will be transmitted. This command can be treated even if buffer is full.
The bit definitions is as follows Bit Status 0 1 0 Near end Logic level is low Logic level is high 1 Paper Present Absent 2 Temperature Not too hot Head too hot to print 3 Head Closed Open 4 Paper Jam No error Error 5 Rxerror No error Rx error 6 Buffer Not full. Full (less than 16 bytes left) 7 Always 1.
MAN607-S
4.9.23 Request Analog voltage. [Name] Analog voltage
[Format] ASCII EM Hex 19 Decimal 25 [Description] When the printer controller receives this byte the digital
value of the head voltage will be transmitted. This command can be treated even if buffer is full
28-03-2003 Page 4-24 of 53
4.9.24 Request Temperature [Name] Request Temperature
[Format] ASCII SUB Hex 1A Decimal 26 [Description] When the printer controller receives this byte the digital
value of the head temperature will be transmitted. This command can be treated even if buffer is full
4.9.25 Sub command set [Name] Sub command set
[Format] ASCII ESC n Hex 1B n Decimal 27 n [Range] n: [-128;127] [Description] The n is the commands in the sub-set.
MAN607-S
4.9.26 Upgrade command [Name] Upgrade command
[Format] ASCII ESC Z Hex 1B 5A Decimal 27 90 [Description] Only used by the I/F-COM A/S upgrade programs.
4.9.27 Set auxiliary output
[Name] Set auxiliary output [Format] ASCII ESC p n
[Description] When this command is received then the If n = 0, then the output will be set to off
Hex 1B 70 n Decimal 27 112 n
auxiliary output can be set. If n > 1 and < 254 then the output will be
turned on in n/4.096msec, and then turned off again. If n = 255, then the output will be turned on.
28-03-2003 Page 4-25 of 53
4.9.28 Automatic sending status
[Name] Automatic sending status [Format] ASCII ESC a Hex 1B 61 Decimal 27 97 [Description] When this command is sent once, then the board
4.9.29 Stop sending automatic status
[Name] Stop sending automatic status [Format] ASCII ESC b Hex 1B 62 Decimal 27 98 [Description] When this command is sent then it will turn off
MAN607-S
will transmit the status every time that it change state.
transmitting status.
4.9.30 Color/Grey scale graphic
[Name] Colour / Grey scale graphic [Format] ASCII ESC c n Hex 1B 63 n Decimal 27 99 n [Description] When this command is sent then will the board
4.9.31 Enable saving data
[Name] Enable saving data [Format] ASCII ESC d Hex 1B 64 Decimal 27 100 [Description] This command will enable that the boards save
not feed. After the next graphic data (both compression and not). The n is a percent of the burn ratio, n can be from 0 to 15, and the burn ratio is 100/15*n. This command is used by the driver to make colour and grey scales printout.
values to the flash, this is made to ensure that a wrong transmission not will change settings in the board, remember to send the command “Saving data to board”, to actual save the data.
28-03-2003 Page 4-26 of 53
4.9.32 Save data to board
[Name] Save data to board [Format] ASCII ESC e Hex 1B 65 Decimal 27 101 [Description] This command saves all settings to flash.
4.9.33 Change dot size
[Name] Change dot size [Format] ASCII ESC f n Hex 1B 66 n Decimal 27 102 n [Description] If n = 0x01, then the board is set to
MAN607-S
FTP607MCLXXX. If n = 0x02 then is it set to LTP. The value is saved to flash,
4.9.34 Change form feed length
[Name] Change form feed length [Format] ASCII ESC g n Hex 1B 67 n Decimal 27 103 n [Description] N represents the value in mm that is form feeded
4.9.35 Change baud rate
[Name] Change baud rate [Format] ASCII ESC h n Hex 1B 68 n Decimal 27 104 n [Description] N represents the new baud rate, legal values for
after the feed command is sent. The value is saved to flash.
n = 1 to 255. The baud rate is calculated as 921600/n = new baud rate. For instance 921600/8 = 115200baud. The value is saved to the flash
4.9.36 Change form feed time
[Name] Change form feed time [Format] ASCII ESC i n Hex 1B 69 n Decimal 27 105 n
28-03-2003 Page 4-27 of 53
[Description] N represents the time between that the board
4.9.37 Feed Paper [Name] Feed Paper
[Format] ASCII GS n Hex 1D n Decimal 29 n [Range] n: [-128;127] [Description] When the printer controller receives this command the
MAN607-S
registry incoming paper, and to it starts feed the auto form feed length. The time is calculated as n * 50msec. The default setting is 2 seconds. The value is saved to flash. Legal values for n are between 1 and 255.
paper will be fed n-dot lines. If the value is negative a reverse form feed will be made.
4.9.38 Compensate Burn time [Name] Compensate burn time
[Format] ASCII RS n Hex 1E n Decimal 30 n [Range] n: [-15;15] [Description] When the printer controller receives this command the burn
time will be compensated. If a negative value is send the printout intensity will be lighter and if a positive value is send the printout intensity will be darker.
4.9.39 Bar code width setting [Name] Bar code width setting
[Format] ASCII ESC e m
Hex 1B 65 m
Decimal 27 101 m [Range] 2<=m [Default] m=6 [Description] Parameter n is ignored
Parameter m is used to determine the dot width of the
narrow and wide bar lines. The wide bar lines is equal to m
dots and the narrow is equal to m/2 dots (rounded down).
28-03-2003 Page 4-28 of 53
4.9.40 Bar code height setting. [Name] Bar code height setting
[Format] ASCII ESC h n
Hex 1B 68 n
Decimal 27 104 n [Range] 1<=n<=255 [Default] n=60 [Description] Parameter n specifies the height of a bar code in dots.
4.9.41 Bar code printing [Name] Bar code printing
[Format] ASCII ESC k m n d1 to dn
Hex 1B 6B m n d1 to dn Decimal 27 107 m n d1 to dn
[Description] Parameter m specifies the type of bar codes to be printed. Parameter n specifies no of barcode characters. m(dec) Type of
Barcode
65 UPCA 11<=n<=12 48<=d<=57 67 EAN13 12<=n<=13 48<=d<=57 68 EAN8 7<=n<=8 48<=d<=57 69 Code39 Variable Space , $ , % , * , + , - , . , / , 0-9 , A-
72 Code128 Variable 0 to 105 UPCA: if n is 11 then the board calculate the checksum EAN8: if n is 7 then the board calculate the checksum. EAN13: if n is 12 then the board calculate the checksum
Code 39: The first and last character must be ‘*’. This is the syntax for Code 39.
Code128. There is three subset of Code128 (Code128A, Code128B and Code128C). The start character specifies which character set to be used. The start character must be either 103 (subset A), 104 (subset B), 105 (subset C).
The following table shows the value between data (d) and barcode.
Number of barcode characters
MAN607-S
Value of d
Z
28-03-2003 Page 4-29 of 53
Code128 barcode table
‘d’ A B C ‘d’ A B C
0 Space Space 0 52 T T 52 1 ! ! 1 53 U U 53 2 2 54 V V 54 3 # # 3 55 W W 55 4 $ $ 4 56 X X 56 5 % % 5 57 Y Y 57 6 & & 6 58 Z Z 58 7 7 59 [ [ 59 8 ( ( 8 60 \ \ 60
9 ) ) 9 61 ] ] 61 10 * * 10 62 ^ ^ 62 11 + + 11 63 _ _ 63 12 , , 12 64 NUL ` 64 13 - - 13 65 SOH a 65 14 . . 14 66 STX b 66 15 / / 15 67 ETX c 67 16 0 0 16 68 EOT d 68 17 1 1 17 69 ENQ e 69 18 2 2 18 70 ACK f 70 19 3 3 19 71 BEL g 71 20 4 4 20 72 BS h 72 21 5 5 21 73 HT i 73 22 6 6 22 74 LF j 74 23 7 7 23 75 VT k 75 24 8 8 24 76 FF l 76 25 9 9 25 77 CR m 77 26 : : 26 78 SO n 78 27 ; ; 27 79 SI o 79 28 < < 28 80 DLE p 80 29 = = 29 81 DC1 q 81 30 > > 30 82 DC2 r 82 31 ? ? 31 83 DC3 s 83 32 @ @ 32 84 DC4 t 84 33 A A 33 85 NAK u 85 34 B B 34 86 SYN v 86 35 C C 35 87 ETB w 87 36 D D 36 88 CAN x 88 37 E E 37 89 EM y 89 38 F F 38 90 SUB z 90 39 G G 39 91 ESC { 91 40 H H 40 92 FS | 92 41 I I 41 93 GS } 93 42 J J 42 94 RS ~ 94 43 K K 43 95 US DEL 95 44 L L 44 96 FNC3 FNC3 96 45 M M 45 97 FNC2 FNC2 97 46 N N 46 98 SHIFT SHIFT 98
MAN607-S
28-03-2003 Page 4-30 of 53
47 O O 47 99 Code C Code C 99 48 P P 48 100 Code B FNC 4 Code B 49 Q Q 49 101 FNC 4 Code A Code A 50 R R 50 102 FNC 1 FNC 1 FNC1
51 S S 51
4.9.42 Black Mark [Name] Set black mark parameters:
[Format] ASCII RS n Hex 1E n Decimal 30 n [Range] n: [-15;15] [Description] When Black mark is enabled: [Format] ASCII ESC+205+3+97+m+n+o Hex 1B CD 03 61 m n o Decimal 27 205 3 97 m n o [Range] m = Page length 1…255
[Description] At printer stop on black mark the paper will be forwarded
MAN607-S
n = Paper offset 1…255 o = Black mark length 1…255
the full length of the black mark. Paper out is detected if full length of the Black Mark is feeded and sensor does not detect paper.
At no paper in printer and printing is requested, form feed of black Mark Length will be executed. At no paper detected the printer will stop.
FF=0xC Feed paper forward until next Black Mark or rest of page whatever comes first.
The following values can be set:
PAGE LENGTH (default 150mm) This value is the paper
length
PAPER OFFSET (default 2mm) This value is the length
between Black Mark and start of printing. Value must be
between 2 mm. and Page length – 2mm.
BLACKMARK LENGTH (default 15mm). This is the length
of the Black Marks.
The board can be set to transmit a ’B’ whenever the paper
is not detected at paper detect. This is typical when the
sensor encounters a Black Mark.
The following commands is used for enabling Black Mark
28-03-2003 Page 4-31 of 53
Default:
PAGELENGHT=150mm PAPEROFFSET=2mm BLACKMARK=120 (120/8=15mm)
ESC+205+1+98+n n: Bit 0: if set the board will transmit ’B’ everytime paper is not detected at the paper detector.
Bit 1: if set the Black Mark function is enable.
Default n = 0.
4.9.43 Graphic data – non compressed [Name] Graphic data – non-compressed
[Format] ASCII US d1,d2,..,dX Hex 1F d1,d2,..,dX Decimal 31 d1,d2,..,dX [Range] n: [0;255]
X=54 for FTP627MCLxxx, X=72 for FTP637MCLxxx,
[Description] When the printer controller receives this command the X
graphic bytes (d1-dX) will be printed in one dot line. The MSB in d1 is the left most dot and the LSB in dX is the right most dot.
MAN607-S
4.9.44 Graphic data – compressed [Name] Graphic data – compressed
[Format] ASCII Y d1,d2,..,d(-Y) Hex Y d1,d2,..,d(-Y) Decimal Y d1,d2,..,d(-Y) [Range] Y: [-X;-2] n: [0;255]
X=54 for FTP627MCLxxx, X=72 for FTP637MCLxxx,
[Description] When the printer controller receives a byte that is –Y to –2
(Decimal 256-Y to 254) the following data is compressed data. The number of compressed graphic bytes is the negative value.
This means: If Y = -10 (Decimal 246) the next 10 bytes is compressed data.
The compressed data is as follows. When a data byte is 0 (no dots activated) the next byte received is the number of bytes that are 0. All other data is send as non compressed.
28-03-2003 Page 4-32 of 53
A very few lines cannot be compressed. These will if you try to compress them be longer than the non-compressed line. These must therefore be send as non-compressed data.
4.9.45 Escape sequences, overview.
ESCAPE SEQUENCES,
ASCII FUNCTION
NUL Small Font SOH Low Font STX Narrow Font ETX Normal Font EOT Wide Font ENQ High Font ACK Large Font BEL Xlarge Font LF Line Feed VT Print barcode FF Forward feed SO Reverse off SI Reverse on DLE Underline off DC1 Underline on DC2 Bold off DC3 Bold on DC4 Italic off NAK Italic on SYN Initialize printer ETB Request software version CAN Request status EM Request analogue voltage SUB Request temperature GS+n Feed paper RS+n Burn compensate US+d1..dX Print graphic line ESC+205+3+97+m+n+o Set black mark parameters ESC e+m Bar code width setting ESC k+m n+d1 to dn Bar code printing ESC h+n Bar code height setting
MAN607-S
28-03-2003 Page 4-33 of 53
5 Maintenance
5.1 Daily use
Printer and interface board must be switch off while in idle mode.
5.2 Store/Transport
The product has to be stored under ESD safe conditions, and to be packed safely during transportation.
MAN607-S
28-03-2003 Page 5-34 of 53
6 Specifications
6.1 Electrical Data
Voltage: 18-26VDC Current: Maximum head current:Numbers of active dots * Vhead
1.500+/-15% Maximum motor current: 1.000mA Power up sequence: max. 10 msec. 10 – 90% Voltage applied
Power down sequence: max. 10 msec. 90 – 10% Voltage applied
6.2 Mechanical Data
Dimensions: Length, width, height: 77 mm* 50 mm * max. 15 mm Including connectors. Vibration: 100G XYZ Shock: 100G XYZ
MAN607-S
6.3 Environmental Data
Operation: Temperature: -20°C- +85°C Humidity : 10%-99% RH, without condensing Storage: Temperature: -40°C - +85°C Humidity: 0%-99% RH, without condensing Transport: Temperature: -40°C - +85°C Humidity: 0%-99% RH, without condensing
6.4 EMC & ESC
The printer controller is tested according to: Emission: E-Field: EN50081-1-1
Conducted: EN50081-1-2
Immunity: E-field: EN50082-1-1
Conducted transients: EN50082-1-2 Over voltage: EN50082-1-3
Medical equipment: IEC601-1-2 ESD: 4 kV contact discharge against parts exposed to contact at normal
use; 8 kV air discharge.
28-03-2003 Page 6-35 of 53
6.5 Temperature Test
Temperature shock: (no voltage applied) -28°C to +100°C at 1 sec. 100 times: no damage.
MAN607-S
28-03-2003 Page 6-36 of 53
6.6 Connector Pin Assignment
6.6.1 Thermal Head connector
Thermal Head connector CN1: CF04301V000 Connector for use with following mechanisms: FTP627MCLxxx
Pin Function Pin Function 1 PHK 16 GND 2 +5V 17 GND
MAN607-S
3 P1 18 GND 4 GND 19 /ST2 5 SW 20 /ST1 6 VH 21 LAT 7 VH 22 CLK 8 VH 23 NC 9 DI 24 VH 10 /ST3 25 VH 11 +5V 26 VH 12 TI1 27 /MB 13 GND 28 MB 14 GND 29 /MA 15 GND 30 MA
6.6.2 Thermal Head connector Thermal Head connector CN2: CF04301V000
Connector for use with following mechanisms: FTP637MCLxxx
28-03-2003 Page 6-37 of 53
Pin Function Pin Function 1 PHK 16 GND 2 +5V 17 GND 3 P1 18 GND 4 GND 19 TI 5 SW 20 /ST2 6 VH 21 /ST1 7 VH 22 LAT 8 VH 23 CLK 9 DI 24 VH 10 /ST3 25 VH
MAN607-S
11 /ST4 26 VH 12 +5V 27 /MB 13 GND 28 MB 14 GND 29 /MA 15 GND 30 MA
6.6.3 IRDA connector
IRDA connector CN3: B4B-ZR Mating connector part number: TBA
Pin 1 2 3 4 Function +5V TX RX GND
6.6.4 AUX input connector AUX input connector CN4: 53324-0710
Mating connector part number: TBA
Pin Function Pin Function
1 LED1+ 4 LED2+ 2 INPUT1 5 INPUT2 3 LED cathode 6 LED cathode 7 GND
28-03-2003 Page 6-38 of 53
The paper near end status, can be seen on the LED on the aux connector, it can be reading through the status command, and if a driver is used, then it can be reading in the port monitor: If paper jam is used, then will the printer stop printing if this signal is going low, the value of this bit can be seen on the LED on the aux output connector, it can be reading by a status request, or if a driver is used, then it can be reading by the port monitor.
6.6.5 Power connector Power connector CN6: 43045-0400
Pin 1 2 3 4 Function GND 24VDC GND 24VDC
6.6.6 USB connector USB connector CN8: UBBR-04SW11
Pin 1 2 3 4
MAN607-S
Function N.C. USB- USB+ GND
6.6.7 AUX connector Output connector CN8: 53324-0510
Mating connector: TBA
Pin 1 2 3 4 5
28-03-2003 Page 6-39 of 53
MAN607-S
Function GND Vcoil,
6.6.8 Cutter connector Cutter connector CN5: B4B-KH-A
Mating connector part number: TBA
Pin 1 2 3 4
Function Sense GND /CUT CUT
Max 24V
Coil,
max 1A
Anode Cathode
The LED will show these conditions
LED Means
Off No Error Flash 1Hz Paper near end Flash 2Hz Paper jam
On Both paper jam and near end
6.6.9 Serial connector Connector type CN10: IDH10S1GN (Taitek)
Mating connector part number: FC10AGN (Taitek) Pin Function Pin Function
1 NC 2 DSR 3 TX 4 CTS 5 RX 6 RTS 7 DTR 8 NC 9 GND 10 NC
28-03-2003 Page 6-40 of 53
6.7 Mechanical Drawings
MAN607-S
28-03-2003 Page 6-41 of 53
Defined Character Define
7 Appendix
7.1 Seiko compatible command set
7.1.1 Escape sequences, overview.
CR CR Carriage Return ESC+ ‘ J ’ +n Print and Feed Forward ESC+ ‘ j ’ +n Print and Feed Backward ESC+ ‘ 2 ’ 16-dot Line Spacing ESC+ ‘ 0 ’ 4-dot Line Spacing ESC+ ‘A’+n or ESC+ ‘3’+n n-dot Line Spacing ESC+ SP+n Character Spacing ESC+ ‘ s ’+nl+nr Left/Right Character Spacing ESC+ ‘ U ’+n Inverse Print DC2+ ‘ Y’ +n Character Rotation ESC+ ‘ - ’ +n Underline SO Double-Width (with automatic reset ) ON DC4 Double-Width (with automatic reset) OFF ESC+ ‘ W ’+n Double-Width ESC+ ‘ w ’+n Double-Height ESC+ ‘ I ’+n Reverse DC2+ ‘ F ’+n Font Size Selection ESC+ ‘ t ’+n Character Set Select ESC+ ‘ & ’ + s + e+ Font Data Downloaded Character Define ESC+ ‘ % ’ + n Downloaded Character Select DC2+ ‘ D ’+n Downloaded Character Area Operation ESC+ ‘+’ + k1 + k2+ ESC+ ‘+’ + k1 + k2+ Font Data FS+ ‘ 2 ’ + k1 + k2+ Font Data User­ESC+ ‘ K ’ or FS+ ‘ & ’ Kanji Mode Specify ESC+ ‘ H’ or FS+ ‘. ’ Kanji Mode Clear DC2+ ‘ G ’+n User Defined Character Area Operation DC2+ ‘ P ’ + s + e+ x + y + Font Data Option Font Define DC2+ ‘ O ’+n Option Font Select/Deselect DC2+ ‘ Q ’ Option Font Clear DC3+ ‘ A ’ Ruler Line Buffer A DC3+ ‘ B ’ Ruler Line Buffer B DC3+ ‘ V ’ + Image Data Ruler Line Image DC3+ ‘ D ’+nl+nh Define Ruler Line by Dot DC3+ ‘ L ’+ml+mh+nl+nh Define Ruler Line by Line
DC3+ ‘ F ’+n1+n2 Define Ruler Line with Repeating Pattern
MAN607-S
28-03-2003 Page 7-42 of 53
DC3+ ‘ + ’ Ruler Line ON DC3+ ‘ - ’ Ruler Line OFF
DC3+ ‘ P ’ DC3+ ‘ C ’ Ruler Line Buffer Clear DC3+ ‘ (’
7.2 Fujitsu compatible command set
7.2.1 Escape sequences, overview.
HT Horizontal tab LF Line feed with printing FF Forms feed ESC RS: Black-white reversed printing specification ESC US: Black-white reversed printing cancellation ESC !+n: Printing mode specification
ESC %+n:
ESC &+y+c1+c2+x+[d]k : ESC *+m+n1+n2+[d]k : Bit image mode specification ESC ?+n ESC 2 1/6-inch line pitch setting
ESC 3+n Minimum-pitch-unit line pitch setting ESC @ Printer initialisation ESC A+n Line spacing setting ESC C+n Page length (number of lines) setting ESC D+[n]k+NUL Horizontal tab position setting ESC J+n Printing and minimum-pitch-unit paper feed ESC K+n Backward paper feed ESC R+n International character specification ESC c+1+n Internal processing setting ESC d+n Printing and n-line feed ESC e+n Printing and backward n-line feed ESC s+n Printing speed setting ESC t+n Character code table selection ESC {+n Upside-down printing setting/cancellation FS !+n Kanji printing mode collective specification FS & Kanji printing mode specification FS . Kanji printing mode cancellation
MAN607-S
Print One Dot Line after Printing Line Buffer Data
Continuous Ruler Line Control Code Input
Download character set specification/cancellation (valid only when optional memory is installed) Download character definition (valid only when optional memory is installed)
External registration character deletion (valid only when optional memory is
28-03-2003 Page 7-43 of 53
MAN607-S
FS 9+n Detection function enable/disable setting FS C+n Kanji code system selection
FS W+n
Kanji double height and width mode specification/cancellation
GS < Mark detection execution GS A+m+n
After-mark-detection head detection
distance setting GS E+n Print quality setting GS V+n+m Paper cutting GS e+n+m Bar code width setting GS h+n Bar code height setting GS k+m+n+[d]k Bar code printing GS w+n Bar code width magnification setting
FS *+n1+n2+[n]k
High speed collective image printing
specified GS &+m+x+y1+y2+[n]k Registration of image data GS '+m+n Print registered image data FS E+n Correction of impressed energy ESC V+n Right rotation 90º
GS a+n
Setting and cancellation of status
transmission. FS r+n Parameter transmission
ESC EM+n ESC X+n+m
Setting the amount of the feeding at
automatic paper feed
Setting the turning time of the motor
excitation
7.3 Command list description
Each command is explained using the following conventions: [Name] Command name [Function] Function of command [Code] Control code represented in hexadecimal or decimal
notation.
[X]16 Hexadecimal notation [X]10 Decimal notation
[Explanation] Explanation of command function
7.3.1 Horizontal tab [Name] Horizontal tab
28-03-2003 Page 7-44 of 53
MAN607-S
[Function] The HT command moves the printing position to the
tab position. [Code] [09]16
[09]10
[Explanation]
1. If the next horizontal tab position is not set, the HT command is ignored.
2. If the next horizontal tab position is outside the printing area, the printing position is shifted to the proper position by adding 1 to the printing area width.
3. If an HT command is received when the print head is located at the position to which the printing has been newly shifted by adding 1 to the printing area width, buffer-full printing is executed. Then, the horizontal tab operation is executed from the head of the next line.
4. The horizontal tab position is set with ESC D.
5. If characters are received when the print head is located at the
position to which the printing has been shifted by adding 1 to the printing area width, buffer-full printing is executed. Then, the print head moves to the leftmost column on the next line, and the received characters are processed. When a line feed command such as LF is received, data is printed and a line is fed. The print head then moves to the leftmost column on the next line.
6. In backward printing, the tab indicates a position from the rightmost column.
7.
7.3.2 Line feed
[Name] Line feed [Function] The LF command prints the data already contained in the print buffer, then sets the next-data receive position at the leftmost column on the next line. [Code] [0A]16
[Explanation]
1. The LF command prints the data already contained in the print
2. In the initial state, the line spacing is set to approx. 1/8 inch.
3. When there is no data in the print buffer, only a line feed operation is
4. When different-height character typefaces are to be printed on the
[10]10
buffer, then sets the next-data receive position at the leftmost column on the next line.
executed. same line, these character typefaces are arranged so that their
bottom ends are aligned at the same level.
28-03-2003 Page 7-45 of 53
5. If line spacing during printing/line-feeding is shorter than the
7.3.3 Forms feed
[Name] Forms feed (new page) [Function]
The FF command prints the data already contained in the print buffer, then sets the next-data receive position at the leftmost column on the next page. [Code] [0C]
[Explanation] (1) The FF command feeds paper by the specified page length.
(2) In the initial state, the page length is set to approx. 143 mm. (44 lines). (3) When cut-sheet printing is selected, the FF command executes the following operations:
1. When the page length is set to 0 (page length cancellation) by using
2. ESC C, the paper is ejected.
3. Paper ejection is checked using the paper-out sensor. When the
4. The maximum paper ejection length is approx. 1m. If the paper-out
5. When paper with mark is selected, the FF command executes the
6. The data contained in the print buffer is printed, and a search is
7. The beginning of a line is set as the next printing position.
8. A paper with mark is selected with ESC c1.
MAN607-S
character height, a length equal to the character height feeds the paper.
16
[12]10
detection is invalid, the paper ejection is checked. state is not detected within the span of the 1-meter ejection, the
paper ejection terminates. following operations: made for the head of the next label.
28-03-2003 Page 7-46 of 53
7.4 APS compatible command set
7.4.1 Escape sequences, overview.
GS / n Set printing speed / Maximum peak current GS D n Set print Intensity ESC v Send printer status ESC I Send printer identity ESC @ Resets printer ESC S Puts the printer in sleep mode GS B n Serial Communication setting GS b n Set parallel port Busy line hold time ESC % n Select internal Character Set ESC R n Select international character Set ESC 3 n Set line spacing ESC SP n Set character spacing ESC ! n Set print mode ESC { n Set/reset Rotated character LF Line feed CR Carriage return ESC J n Feed paper (n dot lines) forward ESC j n Feed paper (n dot lines) backward CAN Cancel print data buffer (text mode) ESC * n1 n2 n3 n4 n5 n6, data Print graphics ESC $ n1,n2 Horizontal dot positioning ESC V n1,n2,n3 data Horizontal bit image ESC m Partial cut ESC i Full cut GS k n [Start] <data> NUL Print bar code GS h n Barcode Height GS w n Barcode magnification GS H n Text position in Barcode GS L n Set Mark length GS T n Se Set TOF position GS E TOF feed paper GS X n1 n2 Set Mark to Cut Position GS x n1 n2 Set Cut Line to Head Dot line Length
GS / n Description: Set printing speed / Maximum peak current/ Dynamic
division
Format: <1Dh> <2Fh> <n>
MAN607-S
28-03-2003 Page 7-47 of 53
MAN607-S
Comments: n=1 to 32: (Default n=5) Software programmable
consumption (Dynamic division). The maximum number of black dots which are simultaneously heated is (n+1) x 8. In Default Mode, n = 5.
Example: n=5 Maximum black dots heated: (5+1)*8=48.
Printer Peak consumption @5V: (0.3A (Stepper Motor) + 5*48/160) = 1.8A
160 Ohms is the dot resistance. GS D n Description: Set print Intensity Format: <1Dh> <44h> <n> Comments: n=8Fh (127d) : (Default). Nominal print intensity
n>8Fh (127d) : Printout becomes darker
n<8Fh (127d) : Printout becomes lighter
(n from 0 to 255 (FFh)). ESC v Description: Send printer status Format: <1Bh> <76h> Comments: The printer returns a single byte that reflects the
status of the printer in accordance with the following
table:
28-03-2003 Page 7-48 of 53
7.5 ESC/POS compatible command set
7.6 Escape sequences, overview.
ESC c 4 Select Paper Near End Sensors to stop printing HT Horizontal Tab LF Print and Line feed FF Print and return to standard Mode CR Print and carriage return DLE EOT n Real Time status transmission DLE ENQ n Real time request to printer CAN Cancel print data in page mode ESC FF Print data in page mode ESC SP n Set right side character spacing ESC ! n Select print mode(s) ESC$ nL nH Set absolute print position ESC % n Select /cancel user-defined character set ESC & y c1 c2 [x1 d1…dy * x1]…[xk
Define user defined characters d1…dy * xk] ESC * m nL n H [d]k Select bit image mode ESC - n Turn underline mode on/off ESC 2 Select 1/6-inch spacing ESC 3 n Set line spacing ESC = n Set peripheral device ESC ? n Cancel user defined characters ESC @ Initialize printer ESC [n] k NUL Set horizontal tab position ESC E n Turn emphasized mode on/off ESC G n Turn on/off double strike mode ESC J n Print and feed paper ESC L Select page mode ESC R n Select an international character set ESC S Select standard mode ESC T n Select print direction in page mode ESV V n Turn 90°clockwise rotation mode on/off ESC W xL xH yL yH dxH dyL dyH
Set printing in page mode ESC c 5 n Enable/Disable panel buttons
ESC c 3 n Select paper near end sensors to output end signals ESC a n Select justification ESC \ nL nH Set relative print position ESC d n Print and feed n lines
MAN607-S
28-03-2003 Page 7-49 of 53
MAN607-S
ESC i Partial cut ESC p m t1 t2 Cash drawer Output ESC t n Select character Code table ESC u n Transmit peripheral device status ESC v Transmit paper sensor status ESC { n Turns on/off upside-down printing mode GS ! n Select character size G S $ nL nH Set absolute vertical print position in page mode GS * x y [d] x*y *8 Define download bit image GS / m Print downloaded bit image GS : Start / end macro definition GS B n Turn white/black reverse printing mode GS H n Select printing position for HRI characters GS I n Transmit printer ID GS L nL nH Set left margin GS P x y Set horizontal and vertical motion units GS V m n Select cut mode and cut paper GS W nL nH Set printing area width GS \ nL nH Set relative vertical print position page mode GS ^ r t m Execute macro GS a n Enable /Disable Automatic Status back GS b n Turns smoothing mode on/off
GS f n
Select font for Human Readable Interpretation (HRI)
chararacters GS h n Select bar code height GS k m d1…dk NUL Print bar code GS k m n d1…dn Print bar code GS r n Transmit status GS w n Set bar code width
28-03-2003 Page 7-50 of 53
MAN607-S
28-03-2003 Page 7-51 of 53
7.7 Optional sensor description
MAN607-S
Top view
PIN1
PIN2
PIN3
Bottom view
Please note that distance from top of sensor to paper must be Min 0,5mm and Max 1,00mm
28-03-2003 Page 7-52 of 53
MAN607-S
Example showing how to connect PRS600 to AUX Input connector CN5 on PRN607-S standard board.
RED
RED WHITE BLACK
RED WHITE BLACK
28-03-2003 Page 7-53 of 53
Loading...