TPSK User Manual
TPSK User Manual
USER MANUAL
Reference 31 08 972
Issue Z
July 2007
!"
##$ % % % &'!"
##$ % %
EVOLUTIONS
Date Issue Modifications
08/2006 Preliminary
07/2007 Z
The TPSK series is part of the "Compact Kiosk" printer family. The wide range of temperature and humidity
operating conditions allows integration to a system used indoors or outdoors.
The TPSK printers are turnkey units that contain the printing head, the interface controller board, the paper roll
bucket and a cutter / paper chute assembly to protect and display the printed ticket.
Note: This manual is not applicable to the version TPSK2401 (User Manual ref 3109472/Z)
that is driven with a different command set.
*1 In standard conditions: Nominal Volts, 25°C, for a print head with a resistance of 1000 Ω (24V) or 480 Ω
(12V), at 800 PPS. When used with 12V the maximum is not reached at room temperature and nominal
voltage.
*2 Contact Axiohm for recommendations if extended conditions are required
*3 Per AXIOHM conditions
Paper
Feed
button
The paper is fed into a chute. The user has access to the ticket end at the chute exit. The user then cuts the
receipt when he pulls the ticket.
With this system (on existing units), the distance between the printing line and the cutting line is between 20
and 21 mm. It is possible to print a header (or footer) of the next ticket in this area.
The chute hides the ticket from the user until it is fully printed; the length of ticket with the existing TPSWS002
PRINTER is 4 inches. With tickets shorter than 3.75 inches, the user would not access the ticket end. It is
possible to print a ticket longer than 4 inches; sensors and software provide security to avoid jam when the
ticket is pulled during printing.
3.1 Overview:
Serial HE10
communication
24 V Power
Connection
- -- - --- --+ NC ++
+ NC
- - - + NC +
Warning: Please use the missing pin as a locating: a reversed connection can destroy the PCB.
MECHANISM
- Type - CHTP/HTP
- Voltage : - 24V
- Print Density : - Percentage of the nominal heating time value for specified paper.
- Partial Cut : - Indicate the number of motor steps to perform a partial cut.
- Pre Heating : - This mode is used to maintain print head temperature above
minimum value.
- Max Speed : - Printer top speed limit.
COMMUNICATION
- RX Buffer Size : - This indicates the size of the data Input buffer (Bytes).
Reception Errors Indicates which action is to be done when a wrong data is received.
:
PRINT OPTIONS
- User Logo defined : - Current status = Yes if at least one logo is defined.
- User Char defined : - Current status = Yes if at least one font is defined.
- Code Page (437,858) : Indicates default internal code page selected upon reset.
(For further information, please contact your distributor or Axiohm Technical Support Team at
www.axiohm.com)
Command Name
A designation (not the ASCII code) used to identify the command.
Description
A brief summary of the command, followed by detailed information, if necessary.
Exceptions
Describes any exceptions to the command, for example, other commands with which that one cannot be used.
Related Information
This section describes any related information for this command and provides references to other sections for
additional information.
INITIALIZE PRINTER
Clears the print line buffer and resets the printer to the default settings for the startup configuration (refer to
Default settings below).
Single Wide, Single-High and Left-Aligned characters and reset active logo.
ASCII ESC @
Hexadecimal 1B 40
Decimal 27 64
RESET FIRMWARE
ASCII GS (SPACE)
Hexadecimal 1D FF
Decimal 29 255
ASCII LF
Hexadecimal 0A
Decimal 10
ASCII CR
Hexadecimal 0D
Decimal 13
Note: this command is almost similar to the previously described <0A>, it was originally made to be compatible
with impact printers on which an actual carriage return was necessary.
Some applications expect the command to be ignored, while others use it as print command.
ASCII DC4 n
Hexadecimal 14 n
Decimal 20 n
Range of n 255
Exception(s)
The command is ignored when it is not sent at the beginning of a line.
Feeds n dot lines: (the dot height is 0.125mm, the paper feeding with this command is: n/203 inch, n/8 mm).
ASCII NAK n
Hexadecimal 15 n
Decimal 21 n
Range of n 0-255
Example: <15> <CB> will feed 203 lines thus one inch of paper.
ASCII ESC 2
Hexadecimal 1B 32
Decimal 27 50
ASCII ESC 3 n
Hexadecimal 1B 33 n
Decimal 27 51 n
Exception(s)
The command is valid only at the beginning of a line.
Prints buffer contents and feeds n/203 inch (n/8 mm) of paper.
Sets the print starting position to the beginning of the line (when printing and feeding are completed).
ASCII ESC J n
Hexadecimal 1B 4A n
Decimal 27 74 n
Exception(s)
If n is too small, the line height equals the character height.
Prints the buffer contents and feeds paper n lines at the current line height.
ASCII ESC d n
Hexadecimal 1B 64 n
Decimal 27 100 n
HORIZONTAL TAB
Moves the print position to the next tab position set by the Set Horizontal Tab Positions (1B 44 n1 n2 ... 00)
command. The print position is reset to column one after each line.
When no tabs are defined to the right of the current position, or if the next tab is past the right margin, Line
Feed is executed.
Print initialization sets 32 tabs at column 9, 17, 25,
ASCII HT
Hexadecimal 09
Decimal 9
ASCII ESC SP n
Hexadecimal 1B 20 n
Decimal 27 32 n
Range for n 0 – 32
Default 0
Sets the print starting position to the specified number of dots (up to the right margin) from the beginning of the
line. The print starting position is reset to the first column after each line.
ASCII ESC $ nL nH
Hexadecimal 1B 24 nL nH
Decimal 27 36 nL nH
The values for nL and nH are two bytes in low byte, high byte word orientation.
Sets up to 32 horizontal tab-position n columns from column one, but does not move the print position. See the
Horizontal Tab command (09).
The tab positions remain unchanged if the character widths are changed after the tabs are set. The command
ends with hexadecimal 00; hexadecimal 1B 44 00 clears all tabs.
Formulas
Set the tab positions in ascending order and put Hex 00 at the end.
Hex 1B 44 00 (number of tabs not specified) clears all tab positions.
Exceptions
The tabs cannot be set higher than the column width of the current pitch: 1-24= Standard pitch
1-37= Compressed pitch
Example:
1B 44 03 04 07 0A 0D 18 00
09 41 09 42 09 43 09 44 09 45 09 46 0A
Moves the print-starting position the specified number of dots either right (up to the right margin) or left (up to
the left margin) of the current position.
The print starting position is reset to the first column after each line.
Any setting that exceeds the printable area is ignored.
ASCII ESC \ nL nH
Hexadecimal 1B 5C nL nH
Decimal 27 92 nL nH
Value of n
Formulas
To move to the left:
The example shows how to set the relative position 20 dots to the left of the current position.
65536-20 = 65516
65516/256 = 255, remainder of 236
nL = 236, nH = 255
Specifies the alignment of characters, logos, and bar codes (see the value of n table).
ASCII ESC a n
Hexadecimal 1B 61 n
Decimal 27 97 n
Exceptions
The command is valid only at the beginning of a line.
Sets the left margin of the printing area. The left margin is set to ((nH X 256) + nL) dots.
The Set Printing Area Width command (1D 57), sets the width of the printing area. See the Set Printing Area
Width command (1D 57) in this document for a description of that command.
If the setting exceeds the printable area, the maximum value of the printable area is used. The maximum
printable area is 384. See the illustration.
ASCII GS L nL nH
Hexadecimal 1D 4C nL nH
Decimal 29 76 nL nH
Range of nL 0-255
Range of nH 0-255
Default 384 dots (the maximum printable area)
Formulas
To set the left margin to one inch, send the four-byte string: GS L 203 0
Or, to set the left margin to two inches, send the four-byte string: GS L 150 1
Sets the width of the printing area. If the setting exceeds the printable area, the maximum value of the printable
area is used. The width of the printing area is set to ((nH X 256) + nL) dots.
The width of the printing area follows the Set Left Margin command (1D 4C). See the Set Left Margin
command (GS L) earlier in this document for a description.
The command is ignored if it is not at the beginning of the line.
ASCII GS W nL nH
Hexadecimal 1D 57 nL nH
Decimal 29 87 nL nH
Range of nL 0-255
Range of nH 0-255
Default 384 dots (the maximum printable area)
Formulas
To set the width of the printing area to one inch, send the four-byte string: GS W 203 0
Or, to set the width of the printing area to two inches, send the four-byte string: GS W 150 1
Exceptions
This command is effective only at the beginning of a line.
If the setting exceeds the printable area, the maximum value of the printable area is used. The maximum
printable area is 384 dots.
Selects the print mode: standard, compressed, underlined, double high or doublewide.
ASCII ESC ! n
Hexadecimal 1B 21 n
Decimal 27 33 n
Value of n
1
Bit Function 0 1
Bit 0 Pitch Standard Pitch Compressed Pitch
(See chart below)
Bit 4 Double High Canceled Set
Bit 5 Double Wide Canceled Set
Bit 7 Underlined Mode Canceled Set (bar thickness = 2)
1
Bits 1, 2,3 and 6 are not used
Pitch CPI
Standard 12.7
Compressed 16.9
Exceptions
Refer to the above table for exceptions.
Related Information
See the Print Specifications Guide for a description of standard and compressed character pitches.
Underline mode may also be turned ON and OFF with the Select Print Mode(s) command (1B 21).
ASCII ESC - n
Hexadecimal 1B 2D n
Decimal 27 45 n
ASCII GS B n
Hexadecimal 1D 42 n
Decimal 29 66 n
n is the least significant Bit, LSB
Value of n 0 = Off
1 = On
Default 0 (Off)
Exceptions
Only the lowest bit of n is valid.
ASCII ESC R n
Hexadecimal 1B 52 n
Decimal 27 82 n
n Country
0 USA
1 France
2 Germany
3 UK
4 Denmark I
5 Sweden
6 Italy
7 Spain
8 Japan
9 Norway
10 Denmark II
Default = 0
Additional codes
n 35D 36D 64D 91D 92D 93D 94D 96D 123D 124D 125D 126D
23H 24H 40H 5BH 5CH 5DH 5EH 60H 7BH 7CH 7DH 7EH
U.S.A. 0 # $ @ [ \ ] ^ ` { } ~
France 1 # $ à ° ç § ^ ` é ù è "
Germany 2 # $ § Ä Ö Ü ^ ` ä ö ü ß
U.K. 3 £ $ @ [ \ ] ^ ` { } ~
Denmark I 4 # $ @ Æ Ø Å ^ ` æ ø å ~
Sweden 5 # ¤ É Ä Ö Å Ü é ä ö å ü
Italy 6 # $ @ ° \ é ^ ù à ò è i
Spain 7 Pt $ @ i Ñ ¿ ^ ` " ñ } ~
Japan 8 # $ @ [ ¥ ] ^ ` { } ~
Norway 9 # ¤ É Æ Ø Å Ü é æ ø å ü
Denmark II 10 # $ É Æ Ø Å Ü é æ ø å ü
Prints one row of data. n1 . .. nl: bytes describing the line to print.
<11> has to be sent at the beginning of each dot line, the following 48 bytes give the status of the 384 dots.
Note: to convert a bmp file so that it can be sent to the printer using this graphic command. The bmp must be
defined ‘black and white’, 384 pixels wide (or less but multiple of 8). The <11> must be added to the file every
48 bytes (or less depending on the number of pixels on the image width).
Selects a logo to be defined or printed. The active logo n remains in use until this command is sent again with
a different logo n, or command 1B40 is sent, or printer is rebooted.
When this command precedes a logo definition, that definition is stored in flash memory as logo n. if there is
already a different definition in flash memory for logo n, the first is inactivated and the new definition is used.
The inactive definition is not erased from flash and continues to use memory space in the flash.
When this command precedes a logo print command and n is different from the previously active logo
selected, the printer retrieves the logo definition for n from memory and prints it. If there is no definition for logo
n, then no logo is printed.
An application using multiple logos, into flash memory, is responsible for erasing the flash memory page when
the logo area is full.
ASCII GS # n
Hexadecimal 1D 23 n
Decimal 29 35 n
Range of n 0 – 64
Enters a downloaded bit image (such as a logo) into Flash with the number of dots specified by n1 and n2. The
downloaded bit image is available until another bit image is defined, or either Initialize Printer (1B 40 or 1D 40
31), command is received.
See the illustration below for a graphic representation of the downloaded bit image.
Row
One d1 d
65
d2
MS B
dn
Row 64 d dn
Max. 64
LSB
ASCII GS * n1 n2 d1 ... dn
Hexadecimal 1D 2A n1 n2 d1 ... dn
Decimal 29 42 n1 n2 d1 ... dn
Value of n
Exceptions:
See the illustration for the Print Downloaded Bit Image command (1D 2F) for a representation of the bit image.
Prints the downloaded bit image at a density specified by m. It is ignored if any data is in the print buffer, if the
downloaded bit image is undefined.
See the illustration on the previous page for a representation of the bit image.
ASCII GS / m
Hexadecimal 1D 2F m
Decimal 29 47 m
Returns the checksum of a logo downloaded using “Define Downloaded Bit Image”.
ASCII US e n
Hexadecimal 1F 65 n
Decimal 31 101 n
Returns 4 Bytes:
Command ID + Flag + checksum of the logo specified by n.
Byte 1 = 65h
Byte 2 = 01 - if logo n exists
- if logo n doesn’t exist.
Byte 3 = Checksum (LSB) or 00h if logo n doesn’t exist.
Byte 4 = Checksum (MSB) or 00h if logo n doesn’t exist.
Checksum is two’s complement of sum of all bytes in the download sequence.
When a fault occurs, the printer will go busy at the communication interface and not respond to either of the
Printer Status commands. If the fault causing the busy condition can be cleared, such as by loading paper, or
letting the thermal print head cool down, the printer will resume processing the data in its reception buffer.
Real Time commands allow the printer to respond immediately, even though it is busy at the communication
interface. See the following section, Real Time Commands, for details about these commands.
Sends status data to the host computer. The printer sends one byte to the host computer when it is not busy or
in a fault condition. See the following table.
ASCII ESC v
Hexadecimal 1B 76
Decimal 27 118
Values
Status
Byte
Bit Function 0 Signifies 1 Signifies
Related Information
See Busy Line and Fault Conditions in the Real Time Commands section of this document for details about
fault condition reporting.
Note: in the case of : an opened lid, a paper out, a Jam, and a flapper down; the printer will stop feeding paper
before reporting the status.
Transmits the printer model, type of version as defined below. This command is processed as normal printer
data.
ASCII GS I n
Hexadecimal 1D 49 n
Decimal 29 73 n
Note: for n = 66, 67, 68 the printer response is sent back in the following format.
Header: 5F (hex)
Data: ASCII string
NULL: 00 (hex)
ASCII GS I @ n
Hexadecimal 1D 49 40 n
Decimal 29 73 64 n
97 151 Boot firmware version Return Boot firmware version, returns 6 bytes
A3 163 Flash firmware version Return Flash firmware version, returns 6 bytes
* 0 x 20 ≤ digit ≤ 0 x 7A
If any digit is out of the defined range, Write to NVRAM is ignored.
ASCII GS r n
Hexadecimal 1D 72 n
Decimal 29 114 n
The status bytes to be transmitted are described in the following two tables.
Synopsis: This command configures the sensors (except Flapper sensor, see page detection threshold.
ASCII GS s m n
Hexadecimal 1D 73 m n
Decimal 29 115 m n
Operand: m = sensor select
n = threshold value
Limit: Decimal m=6; m=8; m=9
0 n 255
Hex: m=06; m=08; m=09
00 ≤ n ≤ FF
Default: Decimal: n = 102
Hex: n = 66
Description: This command will store the sensor detection threshold in non-volatile memory.
Note: This command must be followed by a reset.
ASCII US V
Hexadecimal 1F 56
Decimal 31 86
ASCII GS BS
Hexadecimal 1D 08
Decimal 29 08
SRAM sizes
4 kb (internal RAM only) 0
128 kb (w/extension) 2
Returns the size of SRAM on board, on one byte as number of 64 Kbytes sectors.
ASCII GS l m
Hexadecimal 1D 6C m
Decimal 29 108 m
Example:
AD measure = 213 =>Voltage = 24.01V
AD measure = 186 => Voltage = 21.00V
* m = 0 x 09
Sends an octet of between 0 and 255
= value measured on the temperature converter
= AD measure
RTH = 100 / ((255 / AD measure) - 1)
Temp (°C) = (3950 / (ln (RTH / 30) + 13.255)) - 273
Example:
AD measure = 60 => Temp = 24.43°C
AD measure = 27 => Temp = 47.47°C
Note: tolerance not taken into consideration and calculation not precise
The original Printer Status commands, Transmit Printer Status (Hex 1B 76, ASCII ESC v) are placed in the
printer’s data buffer as they are received and handled by the firmware in the order in which they were received.
If the paper exhausts while printing data that was in the buffer ahead of the status command, the printer goes
busy at the communication interface and suspends processing the data in the buffer until paper is reloaded.
This is true for all error conditions: thermal print head overheating, etc. In addition, there is no way to restart the
printer after a paper jam or other error.
1) The printer executes the Real Time command upon receiving it and will transmit status regardless of the
condition of the host being ready to receive or not.
2) The printer transmits status whenever it recognizes a Real Time Status Transmission command sequence,
even if that sequence happens to occur naturally within the data of another command, such as graphics data.
In this case the sequence will be processed both ways: as a real time command and as the graphics data it is
intended to be when the graphics command is executed from the buffer. The result is that the host might
receive status messages it has not requested.
3) If the printer is in error condition, meaning that the communication interface is likely to be busy, the host
must be able to send the real time commands regardless of this busy state at the interface. Otherwise those
commands wouldn’t be received and processed.
Applications should not let the buffer filled up with Real Time commands when the printer is detected busy at
the communication interface. A busy condition can be determined by bit 3 of the response to DLE EOT 1.
Other responses to DLE EOT n can determine the reason for a particular busy condition.
Although the printer responds to Real Time commands when it is busy, it will place them into the buffer
following the other data already there.
When the printer is only busy because the buffer is full (meaning it cannot print data as fast as it can
receive them), then data continue to be processed out of the buffer (approximately at the print speed), the
Real Time commands will eventually get flushed out.
When the printer is busy due to an error condition, then data stops being processed off the buffer (until the
error condition is cleared)
In both cases the buffer can be filled with Real Time commands; it will be quicker in the case of an error
condition.
To avoid this situation, the application must determine the cause of a busy condition and take appropriate
action with sending the Real Time commands to avoid filling the buffer. There is a minimum of 256 bytes
available in the printer buffer when it turns busy.
If the printer is in error condition (cover is open, out of paper…), the printer will turn busy immediately. It will
then stay busy and stop processing data out of the reception buffer until the error condition is cleared. It will
respond to the Real Time commands as described below.
This command will select the recovery mode when the printer detects a fault condition. Any fault condition that
prevents the printer from printing requires one of these commands to allow printing to resume.
DLE Sequence
ASCII DLE ENQ n
Hexadecimal 10 05 n
Decimal 16 5 n
Notes:
• This command will attempt recovery from any fault that prevents printing, including jams and paper out.
• Recovering from a print head over temperature condition is only accomplished by waiting until the print
head has returned to its operating temperature range.
• This command will be ignored until manual intervention has occurred to clear the fault condition. The
indication of manual intervention for clearing paper out, paper jams, cutter fault, consists of opening and
closing the clamshell door.
Transmits in real time the selected one byte printer status. It is specified by n according to the following
parameters.
DLE Sequence
ASCII DLE EOT n
Hexadecimal 10 04 n
Decimal 16 4 n
DLE Sequence
Value of n 1 = Transmit printer status
2 = Transmit communication interface busy status
3 = Transmit error status
4 = Transmit receipt paper status
Exceptions
The command is ignored if n is out of range.
Related Information
Prints HRI (Human Readable Interface) characters above or below the bar code.
ASCII GS H n
Hexadecimal 1D 48 n
Decimal 29 72 n
ASCII GS f n
Hexadecimal 1D 66 n
Decimal 29 102 n
Sets the bar code height to n dots or n/203 inch (n/8 mm).
ASCII GS h n
Hexadecimal 1D 68 n
Decimal 29 104 n
ASCII GS w n
Hexadecimal 1D 77 n
Decimal 29 119 n
Value of n 1 2, 3, 4, 5,6
Default n=3
Formulas n/203 inch (n/8 mm).
Bar codes can be aligned left, centered, or aligned right using the Align Positions command (1B 61).
The check digit is calculated for UPC and JAN (EAN) codes if it is not sent from the host computer. Six-
character zero-suppressed UPC-E tags are generated from full 11 or 12 characters sent from the host
computer according to standard UPC-E rules. Start/Stop characters are added for Code 39 if they are not
included.
Exceptions
The command is only valid at the beginning of a line - Illegal data will cancel the command.
Values
First Variation: Data string terminated with NULL Character
M Bar Code D n, Length
The value of m selects the bar code system as described in the table.
The variable d indicates the character code to be encoded into the specified bar code system. See the table. If
character code d cannot be encoded, the printer prints the bar code data processed so far, and the following
data is treated as normal data.
The printer never goes directly from the download mode to normal operating mode. To return to normal printer
operation, the operator must turn the unit off and on to reboot, or the application must send a command to
cancel download mode and reboot (1D FF).
When each flash download command is received, the printer returns either ACK or NAK to the host computer:
The main steps of a typical Firmware download sequence are shown here after:
Error checking and error recovery are not described
6) Reboot Printer
This command does not affect the current communication parameters. Once the printer is in flash download
mode, this command is no longer available.
ASCII ESC [ }
Hexadecimal 1B 5B 7D
Decimal 27 91 125
Related Information
See Entering Flash Download Mode elsewhere in this book to put the printer in flash download mode using the
Configuration Menu.
Returns the size of the flash used. There may be 2 sectors (64K each) in flash memory. This command
assures that the firmware to be downloaded has the appropriate size for flash memory.
ASCII GS SOH
Hexadecimal 1D 01
Decimal 29 1
The returned value corresponds to the highest sector number that can be accepted by the Select Sector to
Download (1D 02 nn) command :
1 = 128 Kbytes Flash
Exceptions
Available only in download mode.
Selects the flash sector (nn) for which the next download operation applies. The values of the possible sector
are restricted, depending upon the flash part type. The printer transmits an ACK if the sector number is
acceptable or an NAK if the sector number is not acceptable. Sector numbers start at 0
ASCII GS STX nn
Hexadecimal 1D 02 nn
Decimal 29 2 nn
Exceptions
Available only in download mode.
This is performed normally after downloading completely a new firmware to verify that the downloaded
firmware is valid
The printer transmits ACK if the calculated CRC is correct; NAK if the CRC is incorrect
ASCII GS ACK
Hexadecimal 1D 06
Decimal 29 6
Returns the CRC calculated over the boot sector code area.
ASCII GS BEL
Hexadecimal 1D 07
Decimal 29 7
Formulas
ACK <low byte> <high byte>
ASCII GS SO
Hexadecimal 1D 0E
Decimal 29 14
Exceptions
Available only in download mode.
Returns the CRC calculated over the flash firmware code area. The format of the response is ACK <low byte>
<high byte>.
ASCII GS SI
Hexadecimal 1D 0F
Decimal 29 15
Erases the previously selected sector. The printer transmits ACK when the sector has been erased. If the
previous sector is not successfully erased, or if no sector was selected, the printer transmits NAK.
ASCII GS DLE n
Hexadecimal 1D 10 n
Decimal 29 16 n
Exceptions
Available only in download mode.
Contains a start address (ah x 256 + al) and count (ch x 256 + cl) of binary bytes to load into the selected
sector, followed by that many bytes. The start address is relative to the start of the sector. Addresses run from
0 to 64K.
The printer may return one of several responses. ACK means that the data was written correctly and the host
should transmit the next block. NAK means that, for some reason, the data was not written correctly. This
could mean that communications failed or that the write to flash failed. The alternatives seem to be to retry the
block or halt loading and assume a hardware failure.
Value of al = low byte of the address (it is sent before the high byte)
Value of ah = high byte of the address (it is sent after the low byte)
Value of cl = low byte of the count (it is sent before the high byte)
Value of ch = high byte of the count (it is sent after the low byte)
Value of d = data bytes, from 1 to n
Related Information
Available only in download mode.
Waits for new boot code to be downloaded, then if CRC on this new boot code is valid, the boot code sector is
erased and reprogrammed with new code.
Printer automatically reboots after program sequence is complete.
Exceptions
Available only in download mode.
Note:
During erase and download sequence, power supply must be maintained and no reset sequence should be
performed.
Erases a section of user flash memory and sends a carriage return when the operation is complete.
ASCII GS @ n
Hexadecimal 1D 40 n
Decimal 29 64 n
Value of n 49 n = 49 (ASCII n = 1)
This command erases all 64K Flash memory sectors allocated to logo storage.
Those sectors should be erased when the logo definition area is full and the driving application is attempting to
define new logos. All logo definitions are erased and must be redefined.
Important: While erasing flash memory, all communication is disabled. The printer responds to the application
only when the erase sequence is completed. After sending the Erase User Flash Sector (1D 40-n) command,
an application should wait for the printer response before sending new data. Otherwise, data will be lost. If an
application is unable to receive data, it should wait a minimum of five seconds after sending the Erase User
Flash Sector (1D 40 n) command before sending data.
ASCII US w n
Hexadecimal 1F 77 n
Decimal 31 119 n
Value of n 49
Returns the number of bytes available as a zero terminated ASCII string. Each digit is coded in decimal.
ASCII US STX n1 n2 n3 n4 n5 n6
Hexadecimal 1F 02 n1 n2 n3 n4 n5 n6
Decimal 31 2 n1 n2 n3 n4 n5 n6
Description:
n1 Interface
00h RS232
n3 RS232 Parity
0x00 Odd parity
0x01 Even parity
n5 RS232 Handshaking
0x00 Xon/Xoff
0x01 DTR/DSR
ASCII US ETX n
Hexadecimal 1F 03 AA n
Decimal 31 3 178 n
Value of n 0 = disable
1 = enable
Range of n 0-1
Default 1 (enable)
This command will store the Voltage Mechanism parameter setting in non-volatile memory.
ASCII US ETX í n
Hexadecimal 1F 03 A1 n
Decimal 31 3 161 n
This command will store the paper low sensor option in non-volatile memory (NVRAM).
ASCII US ETX n
Hexadecimal 1F 03 B2 n
Decimal 31 3 178 n
Value of n 0 = disable
1 = enable
Range of n 0-1
Default 1 (enable)
ASCII US ETX û n
Hexadecimal 1F 03 96 n
Decimal 31 3 150 n
Limit: Decimal: 10 ≤ n ≤ 60
& n = 255 will disable the sensor
Hex: 0A ≤ n ≤ 3C
ASCII US VT N R J n
Hexadecimal 1F 0B 4E 52 4A n
Decimal 31 11 83 80 69 n
WARNINGS !!
Choose a print density setting no higher than necessary to achieve acceptable
print density.
- Failure to observe this rule may result in a printer service call.
- Failure to observe this rule may void the printer warranty.
- Consult your Axiohm technical support specialist if you have questions.
RESET EEPROM
ASCII US CR C L E n
Hexadecimal 1F 0D 43 4C 45 n
Decimal 31 13 67 76 69 n
Description: This command will reset the non-volatile memory configuration items to their default values.
Note: This command must be sent while the printer is in its boot-operating mode.
Once the configuration parameters are downloaded to the printer using this command,
the printer must be reset before they take effect.
RESET EEPROM
OPERAND DEFINITION
n
Decimal Hex Reset
0 00 Reset EEPROM
ASCII US t
Hexadecimal 1F 74
Decimal 31 116
ASCII GS ; n1 n2 n3 n4
Hexadecimal 1D 3B n1 n2 n3 n4
Decimal 29 59 n1 n2 n3 n4
This command must be used for production or maintenance only. Contact a tech support if needed.
The font name is used to identify the font. It will be printed on the
diagnostics or configuration form. When a downloaded font is to be
deleted, the font name is used to identify the font. Two fonts cannot
have the same name.
The storage Id provides the operand for the ‘ESC t n’ (1Bh 74h n)
command that will be used to select this code page. Two fonts
cannot have the same storage Id.
6.1 Storage:
If the printer has been stored for a long time with paper set below the print head, it may be necessary to
re-load the paper before operating.
6.3 Grounding:
The printer must be grounded. This can be done either by setting it on a grounded metal support or by
connecting its external chassis.
Printer does not start printing, If your application can detect status return,
even though paper path is check the sensor status.
clear and there is no visible
jam. If your application does not detect the status
return, or you cannot easily check them:
Make sure that all sensors are plugged in
correctly
- Four connectors on the right side of the PCB,
from top to bottom:
4 contacts, 3 contacts, 2 contacts with red
wires, 2 contacts with black wires.