Gac1 4610 Prog MST
Gac1 4610 Prog MST
Programming Guide
for Models 1xR and 2xR
GA27-5005-01
SureMark 4610 Printers
Programming Guide
for Models 1xR and 2xR
GA27-5005-01
Note
Before using this information and the products it support, be sure to read the general information in “Notices” on page 111,
and the Safety Information – Read This First manual, GA27-4004, and Warranty Documents that ships with this product.
October 2011
This edition applies to IBM SureMark Printer Models 2xR and 1xR.
This edition replaces GA27-5005-01.
Current versions of the Retail Store Solutions documentation are available on the IBM Retail Store Solutions Website
at www.ibm.com/solutions/retail/store/support. Select the product category and click on Publications to find the
latest version of the document.
A form for reader's comments is also provided at the back of this publication. If the form has been removed,
address your comments to:
IBM Corporation
Retail Store Solutions Information Development
Department ZBDA
PO Box 12195
Research Triangle Park, North Carolina 27709 USA
When you send information to IBM, you grant IBM a nonexclusive right to use or distribute whatever information
you supply in any way it believes appropriate without incurring any obligation to you.
© Copyright IBM Corporation 2008, 2011.
US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract
with IBM Corp.
Contents
Figures . . . . . . . . . . . . . . vii Microcode tolerance (MCT) information - loading 31
Microcode tolerance (MCT) information - request 31
Tables . . . . . . . . . . . . . . . ix Setup commands . . . . . . . . . . . . 35
| Set print mode . . . . . . . . . . . . 35
Set or cancel double-wide mode . . . . . . 37
About this book . . . . . . . . . . . xi Set or cancel double-high mode . . . . . . 37
Who should read this guide . . . . . . . . . xi Set or cancel underline mode . . . . . . . 38
How this guide is organized . . . . . . . . . xi Set or cancel overline mode . . . . . . . . 38
Related publications . . . . . . . . . . . xi Set or cancel invert mode. . . . . . . . . 38
Publications accessibility . . . . . . . . . . xii Set or cancel emphasized printing . . . . . . 38
Notice statements . . . . . . . . . . . . xii Select maximum print speed. . . . . . . . 39
Providing feedback . . . . . . . . . . . . xii Set or cancel unidirectional printing . . . . . 39
Set document length for landscape print. . . . 39
Summary of changes . . . . . . . . xiii Request document length for landscape print . . 40
| October 2011. . . . . . . . . . . . . . xiii Set print station . . . . . . . . . . . . 40
June 2009 . . . . . . . . . . . . . . . xiii Select user-defined or resident character sets . . 41
April 2009 . . . . . . . . . . . . . . xiii Set code page. . . . . . . . . . . . . 41
Set intercharacter spacing for single byte
Chapter 1. Introducing the 4610 Models character sets . . . . . . . . . . . . . 42
1xR and 2xR . . . . . . . . . . . . . 1 Set intercharacter spacing for double byte
character sets . . . . . . . . . . . . . 42
Operating system requirements . . . . . . . . 1
Set or cancel rotated characters . . . . . . . 43
RS-232 interface . . . . . . . . . . . . 1
Set print station parameters . . . . . . . . 43
4690 OS . . . . . . . . . . . . . . . 2
Select 1/8-inch line spacing . . . . . . . . 43
Hardware requirements. . . . . . . . . . . 2
Select 1/6-inch line spacing . . . . . . . . 44
Updating the firmware . . . . . . . . . . . 3
Select color printing . . . . . . . . . . 44
Set line spacing using minimum units . . . . 45
Chapter 2. Communication parameters . 5 Set sheet eject length . . . . . . . . . . 45
RS-232 serial parameter . . . . . . . . . . . 6 Set horizontal tab positions . . . . . . . . 46
RS-232 commands summary by function . . . . . 6 Set left margin position . . . . . . . . . 46
Alphabetized commands summary . . . . . . 10 Set right margin position . . . . . . . . . 47
System commands . . . . . . . . . . . . 13 Set relative position. . . . . . . . . . . 47
Verify previous commands completed . . . . 13 Set low paper calibration . . . . . . . . . 48
Status request . . . . . . . . . . . . 13 Align positions . . . . . . . . . . . . 48
Reset printer . . . . . . . . . . . . . 13 Set error recovery function . . . . . . . . 49
EC/Request/Real-time status request. . . . . 14 Define document wait time . . . . . . . . 49
| Retrieve Native Mode Status (when printer is in Status sent to system . . . . . . . . . . 50
| compatibility mode) . . . . . . . . . . 14 Select character for reprinted lines . . . . . . 50
| Retrieve Native Mode Device ID (when printer is Re-initialize the printer . . . . . . . . . 51
| in compatibility mode) . . . . . . . . . 14 Enable or disable the beeper . . . . . . . . 51
Extended address command-request printer ID 15 Enable or disable the feed buttons . . . . . 52
Printer ID format . . . . . . . . . . . 15 Enable or disable upside-down printing . . . . 52
Emulation mode for Model 1xR / 2xR . . . . . 16 Select character size for scalable fonts . . . . 53
Emulation of Non-IBM printers. . . . . . . . 17 Fix font matrix . . . . . . . . . . . . 54
Preset or onetime-set commands . . . . . . . 18 Print logo inline . . . . . . . . . . . . 54
Memory allocation . . . . . . . . . . . 18 Set or cancel strike-through . . . . . . . . 55
Double-byte characters . . . . . . . . . 20 Select thermal paper . . . . . . . . . . 55
Download graphics (logo) commands . . . . 20 Bar code commands . . . . . . . . . . . 56
Predefine messages . . . . . . . . . . . 22 Print bar code . . . . . . . . . . . . 56
Download user-defined characters . . . . . . 23 Select horizontal size of bar code . . . . . . 61
User-defined code page mapping . . . . . . 28 Select bar code height . . . . . . . . . . 61
Request checksum of flash memory sector . . . 29 Select printing position of human readable
Retrieve checksum of each downloaded logo or information (HRI) . . . . . . . . . . . 61
each stored message . . . . . . . . . . 29 Select font for HRI . . . . . . . . . . . 62
Flash storage write . . . . . . . . . . . 30 Print PDF417 bar code. . . . . . . . . . 62
Erase flash sector . . . . . . . . . . . 30
iv SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Cable ferrite requirement . . . . . . . . . 116 Flat panel displays . . . . . . . . . . . 120
Electrostatic discharge . . . . . . . . . . 116 Monitors and workstations . . . . . . . . . 120
Product recycling and disposal . . . . . . . 117 Trademarks . . . . . . . . . . . . . . 120
Battery return program . . . . . . . . . . 118
For Taiwan: . . . . . . . . . . . . . 118 Index . . . . . . . . . . . . . . . 121
For the European Union: . . . . . . . . 119
For California: . . . . . . . . . . . . 119
Contents v
vi SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Figures
1. Proportional font example. . . . . . . . 27 5. Example of the offline selection main menu 103
2. Composite Characters . . . . . . . . . 72 6. Offline tests activation . . . . . . . . 107
3. Paper feed and document feed buttons 102 7. Example of the offline selection main menu 108
4. Pressing the power button . . . . . . . 103
Related publications
The following IBM publications are available from the IBM Retail Store Solutions
Web site at www.ibm.com/solutions/retail/store/support. Select Publications.
v Safety Information – Read This First, GA27-4004
v IBM SureMark Printers: User's Guide for Models 2CR and 2NR, GA27-5003
v IBM SureMark Printers: Hardware Service Guide for Models 2CR and 2NR,
GA27-5004
v IBM SurePOS 700 Series: System Reference, SA27-4224
v IBM SurePOS 500 Series: System Reference, SA27-4255.
v POSS Programming Reference and User's Guide, SC30-3560.
The following IBM printers and point-of-sales terminals require the following
diskettes, which can be downloded from the IBM Retail Store Solutions Website at
www.ibm.com/solutions/retail/store/support. Select Other Systems and Devices
under Peripherals.
v IBM SureMark 4610 Printers: Fonts and Logos Utility Diskette
v IBM SureMark 4610 Printers: Firmware Update Diskettes
v IBM 4693 Point-of-Sale Terminals Reference Diskette
Publications accessibility
The softcopy version of this guide and other related publications are accessibility
enabled.
Notice statements
Notices in this guide are defined as follows:
Notes These notices provide important tips, guidance, or advice.
Important These notices provide information or advice that might help you
avoid inconvenient or problem situations.
Attention These notices indicate potential damage to programs, devices, or
data. An attention notice is placed just before the instruction or
situation in which damage could occur.
CAUTION These statements indicate situations that can be potentially
hazardous to you. A caution statement is placed just before the
description of a potentially hazardous procedure step or situation.
DANGER These statements indicate situations that can be potentially lethal
or extremely hazardous to you. A danger statement is placed just
before the description of a potentially lethal or extremely
hazardous procedure step or situation.
Providing feedback
Your feedback is important in helping IBM provide accurate and high-quality
information.
Between major revisions of this document, there might be minor technical updates.
The latest version of this document is available on the IBM Retail Store Solutions
Website at www.ibm.com/solutions/retail/store/support/. Click Publications to
search for the most current version of this document.
xii SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Summary of changes
| October 2011
| This update provides additional changes throughout the entire book from the new
| spec and the subject matter expert.
| Changes or additions to the text are indicated by a change bar to the left of the
| text.
June 2009
This update provides additional changes throughout the entire book from the new
spec and the subject matter expert.
April 2009
This update provides changes throughout the book from the new spec.
RS-232 interface
| The RS-232 interface supports systems with the following operating systems:
| Table 1. RS-232 operating systems supported
| JavaPOS OPOS Windows
| Drivers Drivers POS Native
| Operating 1.9.6 or 1.9.6 or Subsystem Drivers Direct
| System later later 1.9.6 or later (NWD) IO Comments
| IBM 4690 Yes V5R2 and
| V6R2*
| Windows XP Yes Yes Yes Yes
| Microsoft Yes Yes Yes Yes
| Windows
| Embedded for
| Point of Service
| (WEPOS) 1.11
| Microsoft Yes Yes Yes Yes
| Windows
| Embedded
| POSReady 2009
| Microsoft Yes Yes Yes Yes
| Windows 7
| (Professional/
| Ultimate)
| IBM Retail Yes Yes
| Environment for
| SUSE Linux
| (IRES)
| Novell Linux Yes Yes
| Point of Service
| (NLPOS)
| SUSE Linux Yes Yes
| Enterprise
| Desktop (SLED)
| 11
| SUSE Linux Yes Yes
| Enterprise Server
| (SLES) 11
| 4690 OS
Customers must be at these application levels (or higher) when running the 4690
OS:
Hardware requirements
SureMark printers operate with the following systems:
v IBM 4694
v IBM 4695 (RS-232 connection only and with power supply)
v PC or other store controller with an RS-232 or USB port
v SurePOS 100 Series
v SurePOS 700 Series
v SurePOS 500 Series
v SurePOS 300 Series
v IBM Self Checkout
| v IBM Anyplace Kiosk
2 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Updating the firmware
A SureMark printer that is RS-232 attached has the capability to receive SureMark
firmware updates from its attached host system unit. To update the firmware, use
the latest drivers from the IBM Retail Store Solutions Web site:
www.ibm.com/solutions/retail/store.
If you use the RS-485 or USB communications interface, refer to either the
SureMark driver documentation in the appropriate IBM book for your operating
system (see Table 2) or, when using OPOS drivers, to the OLE for Retail POS
Application Programming Guide.
Table 2. Driver documentation by operating system
Operating System IBM Publication
4690 OS Version 1 and IBM 4690 OS API Specification for IBM 4610 Printers
Version 2
DOS IBM Point-of-Sale Subsystem for DOS Programming
Reference
OS/2, Windows NT, IBM Point-of-Sale Subsystem Programming Reference and
Windows 95, and Windows User's Guide
3.1x
The 4690 OS manual is available on the current maintenance diskette for the IBM
4690 operating system. Current versions of all publications are available on the RSS
web site.
6 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Table 3. RS-232 commands organized by function (continued)
Description Command Page
System Commands
Verify previous commands X'1B00;80;00' 13
completed
Preset or Onetime-Set Commands
Download graphics (logo) GS * logo# n1 n2 data or X'1D2A';logo#;n1;n2;data 20
commands
Download user-defined characters ESC & s n m data or X'1B26;s;n;m;data' 23
Erase flash EPROM sector ESC # n or X'1B23;n' 30
Flash storage write ESC ' n1 n2 data or X'1B27;n1;n2;data' 30
Microcode tolerance (MCT) ESC M n h l or X'1B4D;n;h;l'. 31
information - loading
Microcode tolerance (MCT) ESC S n or X'1B53;n' 31
information - request
Predefine messages GS : message# data GS : or X'1D3A; message#;data;'X'1D3A' 22
Send checksum of flash EPROM ESC " n or X'1B22;n' 29
sector
Setup Commands
Align positions ESC a n or X'1B61;n'. 48
Define document wait time ESC f x y or X'1B66;x;y' 49
Enable/disable upside-down ESC { n or X'1B7B;n' 52
printing
Fix font matrix ESC : n or X'1B3A n' 54
Print logo inline GS J d n1 n2 data or X'1D4A;d;n1;n2;data' 54
Request document length for GS N X'02' Null or X'1D4E0200' 40
landscape print
Request document length for GS c 1 n where n = 2 bytes indicating the length of the document “Request
landscape print in print motor steps. document
length for
landscape
print” on
page 40
Select 1/8-inch line spacing ESC 1 or X'1B31'. 43
Select 1/6-inch line spacing ESC 2 or X'1B32' 44
Select color printing ESC r n or X'1B72;n' 44
Select character for reprinted lines ESC + n or X'1B2B;n' 50
Select character size for scalable GS ! n or X'1D21;n' 53
fonts
Select maximum print speed ESC / n or X'1B2F;n' 39
Select thermal paper GS; n or X'1D 3B n' “Select
thermal
paper” on
page 55
Select user-defined or resident ESC % n or X'1B25;n' 41
character sets
Set code page ESC t n or X'1B74;n' 41
8 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Table 3. RS-232 commands organized by function (continued)
Description Command Page
System Commands
Select PDF417 ECC Level GS R n or X'1D52;n1;n2' 63
Print Character Commands
Print and line feed LF or X'0A' or CR or X'0D' 64
Print, form feed, and cut the FF or X'0C' 64
paper (FF)
Print and feed paper n lines ESC d n or X'1B64;n' 65
Print and feed paper using ESC J n X'1B4A;n' 65
minimum units
Print Graphic Messages
Select and print a graphics (logo) ESC * d w h data or X'1B2A;d;w;h;data' 65
command
Print predefined graphics (logo) GS / m logo# or X'1D2F;m;logo#' 67
command
Print predefined messages GS ^ message# or X'1D5E;message#' 68.
Miscellaneous Commands
Retrieve checksum of each ESC | n1 n2 or X'1B7C n1 n2' 29
downloaded logo or each stored
message
Tab to next tab stop HT or X'09' 71
Return home (select print head ESC < n or 1B3C;n 72
location)
Paper cut/DI eject ESC i or ESC m -- X'1B69' or X'1B6D' 73
Generate drive pulse for cash ESC p m n1 n2 or X'1B70;m;n1;n2' 73.
drawer
Retrieve the flash storage ESC 4 n1 n2 X'1B34;n1;n2' 73
Retrieve size of user flash storage ESC 4 x '03 FF FF FF' or X'1B3403FFFFFF' 74
Check Processing Commands
Flip check ESC 5 or X'1B35' 71
MICR read ESC I or X'1B49' 69
Asynchronous (Real-Time) Commands
Real-time requests DLE ENQ n or X'1005n' 74
Data Buffer Management and Batch Printing
Reset line count ESC 6 or X'1B36' 77
Disable line count ESC 8 n or X'1B38'n 77
Hold printing until buffer is ESC 7 or X'1B37' 77
released
Release print buffer DLE ENQ 1 X'10;05;31'' 78
Page Mode Printing Commands
Select page mode ESC L or X'1B4C' 79
Select standard mode ESC S or X'1B4f' 79
Select printable area ESC X or X'1B58;x;y;dx;dy' 79
Select printing direction/position ESC T n or X'1B54;n' 80
10 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Table 4. Commands in alphabetical order (continued)
Description Command Page
MICR read ESC I or X'1B49' 69
Microcode tolerance (MCT) ESC M n h l or X'1B4D;n;h;l' 31
information - loading
Microcode tolerance (MCT) ESC S n or X'1B53;n' 31
information - request
Paper cut/DI eject ESC i or ESC m or X'1B69' or X'1B6D' 73
Predefine messages GS : message# data GS : or X'1D3A;message#;data;1D3A' 22
Print and feed paper n lines ESC d n or X'1B64;n' 65
Print and feed paper using ESC J n or X'1B4A;n' 65
minimum units
Print and line feed LF or X'0A' 64
Print and line feed CR or X'0D' 64
Print bar code GS k n NUL or X'1D6B;n;data;00' 56
Print logo inline GS J d n1 n2 data or X'1D4A;d;n1;n2;data' 54
Print page in page mode ESC FF or X'1B0C' 83
Print PDF417 bar code GS P data NUL or X'1D;50;data;00' 62
Print predefined graphics (logo) GS / m logo# or X'1D2F;m;logo#' 67
command
Print predefined messages GS ^ message# or X'1D5E;message#' 68
Proportional font ESC & s n m data or X'1B26;s;n;m;data' 25
Real-time requests DLE ENQ m or X'1005n' 74
Re-initialize the printer ESC @ or X'1B40' 51
Request document length for GS N X'02' Null or X'1D4E;02;00' 40
landscape print
Reset line count ESC 6 or X'1B36' 77
Retrieve size of user flash storage ESC 4 x '03 FF FF FF' or X'1B34;03;FF;FF;FF' 74
Retrieve the flash storage ESC 4 n1 n2 X'1B34;n1;n2' 73
Retrieve checksum of each ESC | n1 n2 or X'1B7C;n1;n2' 29
downloaded logo or each stored
message
Return home (select print head ESC < n or X'1B3C;n' 72
location)
Select and print a graphics (logo) ESC * d w h data or X'1B2A;d;w;h;data' 65
command
Select aspect ratio PDF417 bar code GS S r;c or X'1D53;r;c' 63
Select bar code height GS h n or X'1D68;n' 61
Select character for reprinted lines ESC + n or X'1B2B;n' 50
Select character size for scalable GS ! n or X'1D21;n' 53
fonts
Select color printing ESC r n or X'1B72;n' 44
Select font for HRI GS f n or X'1D66;n' 62
Select horizontal size of bar code GS w n or X'1D77;n' 61
Select page mode ESC L or X'1B;4C' 79
12 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Table 4. Commands in alphabetical order (continued)
Description Command Page
Set relative vertical position GS \ y or X'1D5C;y' 80
Set sheet eject length ESC C n or X'1B43;n' 45
Set vertical position GS $ y or X'1D24;y' 80
Status request ESC v or X'1B76' 13
Status sent to system ESC ) n or X'1B29;n' 50
Tab to next tab stop HT or X'09' 71
Thermal code page MCT commands; see Table 8 on page 31. 24
Verify previous commands X'1B00;80;00' 13
completed
System commands
This section describes the system commands.
Status request
Syntax:
ESC v or X'1B76'
Purpose:
The printer status is sent to the system. This command will be processed in
the order it was received.
Remarks:
The printer status is returned in status bytes 1–16. See Chapter 5, “Status
information,” on page 89 for more information. For RS-232 printers, this
command is always buffered and processed in the order it is received.
Error Conditions:
None
Reset printer
Syntax:
DLE ENQ @ or X'100540'
14 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
| Error conditions:
| None
Printer ID format
Table 5. Device Type = 30
Byte 1: Device type = 30 Reserved
Byte 2: Device ID
08
Byte 3: EC – HW version level Reserved
Byte 4: EC – Software release level This level increments after a formal test cycle
on the code. (This is the same as Status byte
#4)
Byte 5: EC – Software interim version Level The level that would increment as fixes were
released for test. If a customer had a
“pre-released” level, this would be used to
track their level.
Byte 6: CR station width v 72 (0x48): 72 mm print width for 80 mm
paper width
v 50 (0x32): 50 mm print width for 58 mm
paper width
Byte 7: DI station width Portrait station width 80 or 0x50 for 80 mm
print width
2CR/2NR = 0x50 Note: The 4610 is 80.33 mm print width; 474
dots at 150 dpi, and 374 at 120 dpi
1NR = 0x00
Byte 8: Feature byte detection
Bit 0 Two-color printing
2CR / 2NR / 1NR = 0xFF Bit 1 Two-color enabled
Bit 2 CR Cutter
Bit 3 Out of Paper detection
Bit 4 Low Paper Detection
Bit 5 Cover Open Detection
Bit 6 Paper jam detection
Bit 7 Cutter failure
16 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
– Fixes the EC level in the DEVICE ID at 0x61.
– Sets status byte 1 bit 6 (CR cover open) if any of the following errors are
detected:
- CR feed error (status byte 11 bit 0)
- CR paper out (status byte 8, bit 5)
- Cutter jam (status byte 11 bit 5)
v Firmware download and erase commands: The firmware will look at the code
that is downloaded to verify that the code is 1xR/2xR code before it erases the
current code in the printer. If the code is not 1xR/2xR code, the old firmware
will not be erased. No error bit will be set.
Usage variables for system management cannot be read with the same commands
as legacy printers. Use the IBM drivers for access to system management.
Physical differences between Models 1xR and 2xR and previous printers:
v The position of the cutter is different.
v Not as much paper needs to be fed to advance the paper above the print head.
v The default for the “0C” command will be less.
The diagnostic package recognizes the printer as being in emulation mode and
sends the correct firmware file to the printer for updating.
The printer will be setup in Emulation mode when sent from the factory. Any driver and
application that support Models 2xR and 1xR should put the printer into native
mode when it is installed. This can also be done using an offline setup procedure.
To verify that data was previously stored in the printer, the system can request a
checksum on data stored in each sector.
Memory allocation
The amount of memory allocated to each function is specified by the value stored
to its respective MCT location. (See Microcode Tolerance Information - Loading
18 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
and Microcode Tolerance Information - Request commands regarding information
for adjusting these values.) The MCT value represents the number of 64KB sectors
assigned to the respective function.
After the MCT values are written, the new values will not take effect until after a
reset. The new memory allocations will start with the user defined character sets
(sectors 3 and 4), and then the DBCS (sectors 7 and 8), and then increment upward
starting with sector 1. Memory will be allocated until all requests are satisfied, or
until all available memory is used.
Note: The flash EPROM is guaranteed for a minimum life of 100,000 write/erase
commands by the flash manufacturer.
Double-byte characters
Important
Use the IBM-provided drivers, diagnostics, and utilities to download the
DBCS characters to the printer.
1 <=logo#<=255
n1 One-eighth the number of dots in the horizontal direction (width =
8 × n1).
range = 1 to 72 for a thermal logo
range = 1 to 59 for an impact logo
n2 One-eighth the number of dots in the vertical direction (height = 8
× n2).
range = 1 to 255 for a thermal logo
range = 1 to 5 for an impact logo
data The data to form the graphics image. The number of data bytes for
the image is n1 × n2 × 8
Purpose:
To store all-points-addressable print messages
Remarks:
A checksum is stored in the printer for each logo downloaded to the
printer. See “Retrieve checksum of each downloaded logo or each stored
message” on page 29. The checksum can be read by the application to
20 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
determine the logos that have been stored in the printer. These messages
can be positioned on the page using the commands for setting positions.
Decimal values are shown, but all parameter values (logo number, n1, n2)
must be hex values when sent to the printer.
The dot density of these messages is specified when the message is
printed. See “Print predefined graphics (logo) command” on page 67.
The total number of data bytes defined for all defined graphics messages
depends upon the amount of memory the user has allocated. See “Memory
allocation” on page 18.
If the parameters logo#, n1, or n2 are out of range, the command is
discarded and its remaining data is processed as print data.
This command should be sent only when the data buffer is empty. See the
description of bit 6 in “Erase flash sector” on page 30.
Images for the thermal logo commands will be defined by one-dot-high
rows (horizontal slices), and the impact will be defined by eight-dot-high
rows (vertical slices).
Note: For a thermal graphic message that is 24 dots high, across the page (n1 = 72,
n2 = 3) takes over 2000 bytes of data.
Example: n1 = 2 & n2 = 2
Predefine messages
Syntax:
GS : message# data GS : or X'1D3A;message#;data;1D3A'
Where:
message# The message number being stored
1 to 255
data All data and commands to be included in this message. No
immediate commands can be included in the data.
Purpose:
To store predefined messages. This cuts transmission time. This is where
you can store the header and the trailer of receipts, for example.
Remarks:
v After a "GS :" occurs, all incoming commands are stored in the message
until another "GS :" occurs.
v “Print predefined graphics (logo) command” on page 67 can be included
in this command.
v A Checksum for each downloaded message is stored along with the
message. This can be used to verify the correct messages are stored in
the printer at printer initialization. See “Retrieve checksum of each
downloaded logo or each stored message” on page 29.
Example:
Store a trailer message:
X'1D3A01'
'Thank You For Shopping' X'0D'
' At RSD STORE' X'0D'
'Store #1234567' X'0D'
X'1D3A'
This would store this message as predefined message 1. See “Print
predefined messages” on page 68 for printing this trailer message.
Commands for selecting the print station and print characteristics must be
included with the stored message.
Limitations:
v “Print predefined graphics (logo) command” on page 67 can be included
in this command. Select and print a graphics command cannot be used.
See “Print graphic messages” on page 65.
v “Print predefined messages” on page 68 can be included in this
command, but can only be nested one message deep.
Example: Store a predefined message ('Jane Doe') at location 3, then
issue the following commands:
1. X'1D3A06'
2. 'Welcome to Our Store' X'0D'
22 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
3. X'1D5E03' (This prints the message that has been stored at location 3.
The message cannot have a X'1D5Exx' in it, because that would be
more than one level of nesting.)
4. 'Is Your Cashier Today' X'0D'
5. X'1D3A'
Using the stored message and the above commands, the resulting text
will be:
Welcome to Our Store
Jane Doe Is Your Cashier Today
v These commands cannot be included in the predefined message:
– “Define document wait time” on page 49.
– “Select character for reprinted lines” on page 50.
– “Set sheet eject length” on page 45.
– “Select and print a graphics (logo) command” on page 65.
v This command should be sent only when the data buffer is empty. See
the description of bit 6 in “Erase flash sector” on page 30.
Error Conditions:
The error is Status byte 3, bit 3: Flash EPROM load error. The following
conditions caused this error to occur:
v The command is trying to redefine a logo that was already defined, or
v The allocated memory is full.
Verify that the sector was erased before downloading images.
Note: The height must be an even number. If an odd number is downloaded, the
command will be rejected.
The number of data bytes per character loaded is 2 × the character height. The total
number of data bytes for this command is 2 × the character height × (1+m−n).
Example: 10 wide × 20 high
Defined as:
| X'C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0FFC0FFC0
| |C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0'
| The above statement defines character X'48' as an 'H'.
24 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
| Note: The number of data bytes = 2 × dot height (20) = 40 bytes.
Proportional font
Note: The syntax for the proportional font command is the same command as the
“Download user-defined characters” on page 23 with limitations.
EIA-232 Syntax:
ESC & s n m data or X'1B26;s;n;m;data'
Where:
s The character set being defined
1 User-defined thermal code page 1
3 User-defined thermal code page 3
n The beginning ASCII address of the characters being defined
m The ending ASCII address of the characters being defined
data The height and width of the character, and the matrix pattern for
the data. The number of data bytes is (m−n+1) × (2+wb×32). wb is
defined in the MCT command.
Purpose:
To download and print proportional fonts (True Type fonts) in the thermal
station. Each character in the code page has its own unique width and
height. The matrix must be within the following ranges:
Width 8 ≤ width ≤ 32
Height
8 ≤ width ≤ 32
Remarks:
v Proportional and standard fonts may be used on the same line. If both
types of fonts are used on a line, you would probably use proportional
fonts for the description and resident fonts for the amounts.
v For alignment, a command that will allow right and left alignment on
the same line may be used. This will allow the user to align a column
(decimal point) on the right, and still be left-aligned. (See “Align
positions” on page 48).
v Once characters are downloaded to the printer, they remain valid until
you redefine them. This is true even if power to the printer is removed.
v Before the characters are defined, the sector of the flash EPROM which
stores this data must be erased. (See “Erase flash sector” on page 30).
v You cannot redefine one character only. You must redefine a whole code
page.
v If the parameter s, n, or m is out of range, the command is discarded
and the remaining data is processed as print data.
v This command should be sent only when the data buffer is empty. See
the description of bit 6 in “Erase flash sector” on page 30.
v ASCII characters 0 through 31 are reserved for EIA-232 functions and
cannot be defined.
v See “Proportional fonts” on page 97 for suggestions about how to
implement proportional fonts.
A conversion program for TrueType (TT) fonts is available on the 4610 Web site.
This program converts the TT fonts to the required download format for the 4610
printers.
To download the font:
1. Store the code page matrix as an MCT value. Use the command X'1B
4D x 55 wb' where:
x X'02' for thermal code page 1, X'17' for thermal code page 3
wb The number of bytes, which is also 1⁄8 the number of dots, in
the width of the widest character. The valid range is 2≤wb≤4.
2. Erase the existing character set using the command X'1B 23 04'.
3. Use the proportional font command to download the font.
Example:
To define an A to code page 1 when wb is set to 02, enter the following:
X'1B260141410C16'
X'0F001F803FC070E06060C030C030C030C030C030C030'
X'C030FFF0FFF0C030C030C030C030C030C030C030'
X'C030000000000000000000000000000000000000000000'
Note: If wb were set to 03, then the total number of data bytes would be
98 (3×32+2)
26 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
row #
0000111100000000 0F00 1
0001111110000000 1F80 2
0011111111000000 3FC0 3
0111000011100000 70E0 4
0110000001100000 6060 5
1100000000110000 C030 6
1100000000110000 C030 7
1100000000110000 C030 8
1100000000110000 C030 9
1100000000110000 C030 10
1100000000110000 C030 11
1100000000110000 C030 12
1111111111110000 FFF0 13
1111111111110000 FFF0 14
1100000000110000 C030 15
1100000000110000 C030 16
1100000000110000 C030 17
1100000000110000 C030 18
1100000000110000 C030 19
1100000000110000 C030 20
1100000000110000 C030 21
1100000000110000 C030 22
0000000000000000 0000 23
0000000000000000 0000 24
0000000000000000 0000 25
0000000000000000 0000 26
0000000000000000 0000 27
0000000000000000 0000 28
0000000000000000 0000 29
0000000000000000 0000 30
0000000000000000 0000 31
0000000000000000 0000 32
If the matrix defines the characters as 9 dots high or less, a print line will be
printed in one pass of the print head. When the matrix is defined as greater than 9
dots high, it takes two passes of the print head per print line.
The number of data bytes per character loaded is 2 × character width. The total
number of data bytes for this command is 2 × character width × (1+m−n). Each slice
is defined with two bytes; the most significant bit (MSB) of each slice is the bottom
of the character.
When defining wire patterns, the same wire does not fire in consecutive, primary
(P) and secondary (S) positions. (The printer does not check for errors in defining
the character.) If the character is defined with dots in consecutive positions only
one of the dots is fired.)
Defined as:
| X'1B26034141F000080014000200110000081100020014000800F000'
| The above statement defines character X'41' as an ‘A’.
Note: The table below only shows a portion of code page 858. If the entire
code page 858 were shown, the table would have 128 rows instead
of the 9 rows shown below.
Table 7. Unicode positions for code page 858 - 2 bytes for each mapping location
U00000C7 Ã 80h
U00000FC ³ 81h
U00000E9 é 82h
U00000E2 â 83h
................. ................. .................
U00000B9 ¹ FBh
U00000B3 ³ FCh
U00000B2 ² FDh
28 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Table 7. Unicode positions for code page 858 - 2 bytes for each mapping
location (continued)
U00025A0 " FEh
For the Unicode characters supported in the printers please see separate
Spread Sheet.
Characters 0x20 through 0x7F are the same as other codepages. Therefore,
the amount of Unicode values will be from 0x80 through 0xFF ( 128
Unicode values, 256 bytes).
Selection of the User Defined code page is ignored if the code page has not
been defined. The previous codepage will still be selected.
Error conditions:
Flash EPROM Load Error - verify that this sector was erased before down
loading the images. Command Reject - when there is no memory allocated
for this function.
30 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Microcode tolerance (MCT) information - loading
Syntax:
ESC M n h l or X'1B4D;n;h;l'
Where:
n Microcode tolerance (MCT) that is being adjusted
h The high-order byte of MCT data
l The low-order byte of MCT data
Purpose:
The microcode tolerance (MCT) information is used to make adjustments
to the printer's microcode. MCT data is nonvolatile data stored in the
printer EPROM that is specific to a printer. For example, an MCT
parameter can be defined to adjust for mechanical tolerances which cause a
print line to not be centered on a document. Another would be for
adjusting for the number of motor steps to the first print position on a
document. This data remains intact until changed by the user.
Remarks:
Table 8 lists the MCT values by the parameter (n). The table includes the
default, the minimum, and the maximum values of each MCT.
If you try to set an MCT value out of its defined range, it is set to the
closest limit (the minimum or maximum value) or rejected.
Error Conditions:
EPROM load error
32 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Table 8. MCT command definitions (continued)
DEC HEX MCT Default Min Max
30 1E Mode options X'FFFF' N/A N/A
Bit 0: (Valid in the 1xR printers)
v 1 = IBM native mode.
v 0 = Set to non-IBM emulation
mode.
Bits 1–12
Reserved for future use, should
be left at 1
Bit 13: (DI portrait mode only)
v 1 = Line feeds not executed
until DI ready (non-IBM
mode).
v 0 = Line feeds are executed
without regard for the state
of DI ready (IBM mode).
Bit 14:
v 1 = Normal operations (IBM
mode).
v 0 = Switch order of font A
and font B (non-IBM mode).
Bit 15:
v 0 = Disable CR (X'0D') in CR
station. No line feeds in DI
(non-IBM mode).
v 1 = Normal operations. Treat
CR (X'0D') the same as line
feeds (X'0A'). (IBM mode).
34 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Table 8. MCT command definitions (continued)
DEC HEX MCT Default Min Max
168 A8 Electronic Journal Storage Memory 0000h 0000h 0030h
Allocation
169 A9 User-defined Code Page Mapping 0001h 0000h 0001h
Setup commands
Setup commands change character font, intercharacter spacing, and the target print
station.
| Note: The impact station DPI is the number of 1/2 dots per
| inch. There are 474 half-dots/line when set for 150 or 75
| dpi, and 3799 half-dots/line when set for 120 or 60 DPI.
| The size printed is controlled by bit 0 and bit 6:
| – Bit 0 can only be changed at the beginning of a print line.
36 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
| – Bit 6 can change at any time.
| Character that are 150 dpi and 75 dip can be mixed on a line.
| However, characters that are 150 DPI and 120 DPI cannot be
| mixed on a line. For example, if you have an intercharacter
| spacing of 3:
| – 150 DPI - 13 characters per line (474/35 half-dots per
| character); n=0x00
| – 120 DPI - 10 characters per line (379/35 half-dots per
| character) n=0x01
| – 75 DPI - 24 characters per line (474/19 half-dots per character)
| n=0x40
| – 60 DPI - 19 characters per line (379/19 half-dots per character)
| n=0x41
| v Matrix 9x16
| Bit 6 has no effect on this font.
| Character are printed in the following sizes:
| – 150 DPI - 2.7 mm (weight) x 2.2 (height)
| – 120 DPI - 3.4 mm (weight) x 2.2 mm (height)
| For example, if the intercharacter spacing is three:
| – 150 DPI - 24 characters per line (474/17 half-dots per
| character)
| – 120 DPI - 19 characters per line (379/19 half-dots per
| character)
38 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Remarks:
This must be at the beginning of a print-line in the document portrait
station. It is enabled for the entire line.
Note: There are 50 motor steps per inch. A 6-inch document = 300 steps. (Use 295
to allow a margin for error; n=0x127.) To calculate the number of dots per
printed line:
v Under normal operation, the printer measures the length of the document.
This command can be used to save transaction time if the document
length is known by the application.
v for 150 DPI (dots per inch)
[(motor_steps - 75 * 3.12] - 10 = dots per line
v or for a 6-inch document
(676 dots) / (10 = dots per character) = 67 characters per line
v for 120 DPI
[(motor steps - 75) * 2.5] - 10 = dots per line
v or for a 6-inch document
(540 dots) / (10 = dots per character) = 54 characters per line
or
Attention: Set the document length a few steps shorter than the actual document.
If you set the document length too long the printer will feed the document out of
the printer roller and an error will be generated.
Bit # ↓ Station
LSB 0 Electronic journal
1 Cash Receipt Station
2 Document Station - Portrait Mode
3 Document Station - Landscape Mode
4 Reserved
5 Reserved
6 Reserved
7 Reserved
40 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Default:
n = 02
Remarks:
See Chapter 4, “Document handling,” on page 85.
The EJ station can be selected along with one of the other stations;
however, you cannot select both CR and DI.
42 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Remarks:
If you select double-width printing, the space to the right of each character
is doubled.
Bit # ↓ Station
LSB 0 Reserved
1 Customer Receipt Station
2 Document Station - Portrait Mode
3 Document Station - Landscape Mode
4 Reserved
5 Reserved
6 Reserved
7 Reserved
Purpose:
This command is used for setting the line spacing, margins, and tabs.
Remarks:
More than one station can be selected at the same time if the settings are
common to all of the selected stations.
Default:
n = 02 (customer receipt station)
Note: For DI Portrait Printing: Characters greater than 9 dots high (DBCS
16x16 character) takes 2 passes of the print head - with paper fed
in-between the lines (4 steps). The actual lines-per-inch will be
adjusted. Example if printer is set to 1/8 inch line spacing. The
printer will line feed 6 steps in-between each line, and the 4 steps
inside of the line. The result is 10 steps/line or 4.8 lines per inch.
In the impact (document - landscape) station this would be set to 16
steps/line.
This command should be sent after “Set print station parameters” on page
43.
Note: Spacing in the document - portrait is actually 6.375 lines per inch.
Line spacing dimension is approximate. For the impact printer in
portrait mode, the actual line spacing must be calculated using 51
steps per inch.
In the impact (document - landscape) station this would be set to 21
steps/line.
This command should be sent after “Set print station parameters” on page
43.
Note: For DI Portrait Printing: Characters greater than 9 dots high (DBCS
16x16 character) takes 2 passes of the print head - with paper fed
in-between the lines (4 steps). The actual lines-per-inch will be
adjusted. Example if printer is set to 1/6 inch line spacing. The
printer will line feed 8 steps in-between each line, and the 4 steps
inside of the line. The result is 12 steps/line or 4 lines per inch.
44 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Default:
n = 00
Purpose:
To enable half-character or full-character color printing, or to disable color
printing.
Remarks:
v You can enable and disable full-character color printing within a print
line. This enables you to print one word in a different color.
v This command can be used up to 8 times in a line when full-character
color printing is used.
v Half-character color printing is only supported at the beginning of a
print line.
v If both bit 1 and bit 0 of n are set (n=03), only half-character color
printing will be enabled.
v This command is only valid if the Enable Color Printing command is
sent first. When color paper is enabled, the printer is limited to printing
at 15 LPS when printing 8 LPI.
Limitations:
v This command is only valid if Color Printing is enabled (see “Select
thermal paper” on page 55).
v When color paper is enabled, depending on the paper, the printer might
be limited to printing at 15 lps when printing 8 lpi.
This value is stored in the printer memory so that it is not lost when the printer is
reset.
46 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
The maximum value for the customer receipt station is 576. The maximum
value for the document insert station is 474.
In the customer receipt station, this number is rounded back to a factor of
8.
This command should be sent after “Set print station parameters” on page
43.
Align positions
Syntax:
ESC a n or X'1B61;n'
Where:
n = 00 Align Left
n = 01 Align Center
n = 02 Align Right
n = 04 Align Column Right
Default:
n = 00
Remarks:
v Values 00, 01, and 02 are only valid at the beginning of a line.
v Tabs are only valid when printing is aligned to the left. If tabs are used
when left alignment is not used, results can be unpredictable. (See
“Horizontal tab” on page 71.)
v Alignment is relative to the left margin.
v To use the Align Column Right command:
1. Send the characters that you want to be left aligned.
2. Send the Align Column Right command.
3. Send the characters that you want to be right aligned.
4. Send an end of line command, for example X'0A' or X'0D'.
The printer will return to left aligned after the line is printed.
Limitations for n=04:
v The command is only valid in the cash receipt station.
v The command is ignored if the printer is not left aligned when the
command is received.
48 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
v If the Align Column Right command is received but the line is filled
before an EOL is received, the filled line is treated as an EOL. There are
usually a few dot positions available, but not enough for a full character.
The column alignment will occur on the few dot positions available.
Default:
n = 00
Remarks:
When set to not automatically release the print buffer after error correction
(bit #2), the printer does not execute commands until it receives a
“Real-time requests” on page 74 command to cancel or release the print
buffer.
When automatic retry on a home error is selected, the printer will try to
reset the print head to a known location, then reprint the line on which the
error occurred. If the printer is unable to reset the print head, operator
intervention is needed.
An error will be sent back to the system and the LED will blink.
Default:
| 0x00
Remarks:
| Bit 4 can be used in place of the command complete. When the buffer is
| empty, the system can assume that everything stored in the printer has
| been completed. To enable these status messages, unsolicited status must
| be enabled. See “Asynchronous (real-time) commands” on page 74.
50 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Re-initialize the printer
Syntax:
ESC @ or X'1B40'
Purpose:
Re-initialize all printer setting to their default values and reset the impact
print head.
Remarks:
Commands in the print buffer are not lost when this command is issued.
The settings that are re-initialized follow (all numbers are in hex):
Error Conditions:
None
Value (Bits 0–3) Note Value (Bits 0–3) Note Value (Bits 4–5) Octave
0000–0 C 1000–8 G# 00–0 1
0001–1 C# 1001–9 A 01–1 2
0010–2 D 1010–A A# 10–2 3
0011–3 D# 1011–B B 11–3 4
0100–4 E 1100–C Rest / Silence
0101–5 F 1101–D Reserved
0110–6 F# 1110–E Reserved
0111–7 G 1111–F 1 KHz (normal
beep)
Default:
n = X'00'
Purpose:
To enable or disable the beeper.
Remarks:
v Any value other than X'00' or X'FF' is treated as an amount of time that
the beeper is to be enabled. The time is calculated as n1×0.1 seconds.
v To stop a beep command early, send the Disable Beeper command.
v Timed beeps can be chained together. They can also be downloaded as
canned messages.
v Use a value of n2=X'2F'for the most audible tone.
v Set bits 0–3 to 1100 to put a timed silence in a beep sequence.
52 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Where:
n enables or disables upside-down printing.
Default:
n = 00
Purpose:
To select the size of a character.
Remarks:
v This command is valid only in the thermal print station.
54 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
v The logo is 24 dot rows high. If printed in double-high mode, the logo
will be 48 rows high.
v The number of data bytes to form the image is figured by
{((n1×256+n2)−1)/8+1}×24.
v Like user-defined characters, if the image is only 14 dots wide, the last
two dots should be zero to complete the byte. When printed, the image
will be only 14 dots wide.
Note: For the Models 2xR and 1xR, bar-codes print at a maximum rate of 52 LPS.
56 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
v For CODABAR, a stop and start character is required.
v A leading zero will be added to the data for ITF bar codes if the data
received has an odd number of bytes.
v If a bar code width is greater than the paper width, the right of the bar
code is truncated, making the bar code unreadable.
v Bar codes will always be printed in black, regardless of color printing
settings.
58 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Table 12. Code 128 character set (continued)
Value Code
Decimal Hex Set A Set B Set C
39 27 G G 39
40 28 H H 40
41 29 I I 41
42 2A J J 42
43 2B K K 43
44 2C L L 44
45 2D M M 45
46 2E N N 46
47 2F O O 47
48 30 P P 48
49 31 Q Q 49
50 32 R R 50
51 33 S S 51
52 34 T T 52
53 35 U U 53
54 36 V V 54
55 37 W W 55
56 38 X X 56
57 39 Y Y 57
58 3A Z Z 58
59 3B [ [ 59
60 3C \ \ 60
61 3D ] ] 61
62 3E ∧ ∧ 62
63 3F _ _ 63
64 40 MUL ‘ 64
65 41 SOH a 65
66 42 STX b 66
67 43 ETX c 67
68 44 EOT d 68
69 45 ENO e 69
70 46 ACK f 70
71 47 BEL g 71
72 48 BS h 72
73 49 HT i 73
74 4A LF j 74
75 4B VT k 75
76 4C FF l 76
77 4D CR m 77
60 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Print bar code examples
Table 13. Print bar code examples
Command n= Data
| UPC-A X'1D6B' X'00' X'30 33 31 33 32 33
| 31 32 30 37 38 00'
UPC-E X'1D6B' X'01' X'34 39 30 36 39 30
00'
JAN 13 (EAN-130 X'1D6B' X'02' X'34 39 31 32 33 34
35 36 37 38 39 30 00'
JAN8 (EAN-8) X'1D6B' X'03' 34 39 31 32 33 34 35
36 00
CODE 39 X'1D6B' X'04' 30 31 32 33 34 35 36
37 00
ITF X'1D6B' X'05' 31 32 33 34 35 36 37
38 39 30 31 32 00
CODABAR X'1D6B' X'06' 42 39 30 2E 2B 3A 2F
24 2D 43 00
CODE 128C X'1D6B' X'07' 35 34 35 35 35 36 35
37 35 38 35 39 00
CODE 93 X'1D6B' X'08' 31 32 33 34 35 36 00
Reserved X'1D6B' X'0A - FF'
Note: The last valid value is kept when an invalid value is sent.
Note: The last valid value is kept when an invalid value is sent.
Note: The last valid value is kept when an invalid value is sent.
62 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Error Conditions:
If an image cannot be printed, status byte 7, bit 2 will be set. This may
happen when the image is too big to print. Try decreasing the ECC level.
Syntax:
GS S r;c or X'1D;53;r;c'
Where:
r The height dimension for the ratio; 1 ≤ r ≤ 9.
c The width dimension for the ratio; 1 ≤ c ≤ 9.
Default:
r = 1, c = 2
Note: When the buffer is held, care must be taken to avoid exceeding the
capacity of the printer memory.
The left margin will be rounded down to a factor of 8. For example, if the
margin = 74, the logo starts at 72.
Retries are not attempted on print errors.
Valid at the beginning of the line only.
When printing in the document station, a line feed command must be sent
to advance the paper past the last line of the logo.
66 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
If the parameter d, w, or h is out of the defined range for this command,
the command is discarded and the remaining data is processed as print
data.
This command will increment status byte 6.
If this message is printed on a regular basis, consider downloading it to
save communication time. (See “Download graphics (logo) commands” on
page 20.)
The data buffer can be used for signature capture.
68 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Retries will not be attempted on print errors.
Attention: Stored commands can increment status byte 6. See “Predefine
messages” on page 22.
Note: To print the face of the check, select the document station in landscape
mode as the print station.
MICR read
Syntax:
ESC I or X'1B;49'
Purpose:
To read account information from the magnetic ink character line on
customers’ checks.
Remarks:
v Checks should be inserted upside-down from the front and against the
right wall of the printer. The check can be, but does not have to be,
registered in the printer before this command is given. The check will be
fed forward, until the bottom sensor is uncovered, then fed back for the
MICR reader reading. After the reading is complete, the check is fed to
the first print position.
v If the printer is unable to read any character on the first try, the check
will be fed forward and back for a second try. Complete status will then
be sent to the terminal - if the character was still not read it will be
identified by a Hex 3F (ASCII "?").
Note: Checks with magnetic ink printing within 1.2 inches of the right
edge of the check will not be read correctly. This occurs when the
amount field is printed on the check.
v The MICR read command increments the line count (status byte 6).
v At the completion of this command, the MICR information will be sent
over the serial I/O following the normal status bytes.
Character Description ASCII Hex value TOAD representation
representation
Bit 13 = 1 Bit 13 = 0
MICR data representation - default
0–9 Numerical data 0–39 X'30–9' Same as ASCII representation and Hex
Blank 3F X'20' value.
Unreadable ? X'3F'
Character
E13-B - Special characters
Transit T X'54' T X'54'
On Us A X'4F' O X'4F'
v For E13B checks, the 1st byte of additional data is the signal level of the
check. This level represents a percentage of difference that this check is
from a nominal check. Nominal checks will have a signal level of 100 (64
hex).
v For CMC7 checks, the additional byte of data will always read 100 (64
hex). In this case, the signal level has no meaning.
Response options
v Dependant upon your options, data is presented as {signal strength;
magnetic noise level; MICR read data}.
v Depending upon the setting of MCT 0x6f, bit 10, the second byte of
additional data will either be the characters read off the check (up to a
maximum of 67 characters) or the magnetic noise level (on a scale of
0-100).
– The default setting is the characters read off the check. If the user
enables reading the magnetic noise level, this level will be in the 2nd
byte of additional data and the characters read off the check will
follow.
– The characters are read from left to right. The MICR information will
be represented as ASCII characters.
v Bit 11: MICR raw data format
– 1 = Compatibility mode with older printers
– 0 = Change the MICR data response to TOAD (Transit, On-US,
Amount, Dash)
v Bit 12: Magnetic noise level
– 1 = Compatibility mode with older printers {Signal strength; MICR
read data}
– 0 = The data sent from the printer as a result of a MICR read
command (1B;49) will include a byte with the amplitude of a noise
level. Data would be structured as {signal strength; magnetic noise
level; MICR read data}
v Bit 13:
– 1 = MICR will be read into the flipper.
– 0 = MICR reading setup for back-to-back MICR reads. First read into
the throat of the printer, then read into the flipper.
70 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Error Conditions:
Document feed error (status byte 7). This bit is set if the inserted check is
too long. The maximum check length is 10 inches. The error is also set if
the check does not clear the document sensor when expected.
Magnetic noise present (status byte 8, bit 6). Set when MICR read shows
random noise count ≥ 100 decimal or periodic noise > 0. If set to a “1”, this
value will be in the status message when status byte 5, bit 2 = “1”
otherwise it will be a “0” in other status messages. Magnetic noise might
be due to a fan or CRT and will affect the accuracy of the MICR reading.
This command is ignored on 2NR printers (without the MICR capability).
Flip check
Syntax:
ESC 5 or X'1B35'
Purpose:
To flip the check after a MICR read. This will allow the face of the check to
be printed.
Remarks:
v For faster check processing, set the print station to the document
landscape before sending the flip command. Then, the check can print as
it leaves the flip mechanism.
v This command increments the line count (status byte 6).
Error Conditions:
Document feed error (status byte 7). This bit is set if the inserted check is
too long. The maximum check length is 10 inches. The error is also set if
the check does not clear the document sensor when expected.
Miscellaneous commands
Horizontal tab
Syntax:
HT or X'09'
Purpose:
Moves the print position to the next tab stop.
Remarks:
See “Set horizontal tab positions” on page 46.
Tabs are valid when printing is aligned to the left only. If the tabs are used
when alignment is not left, results can be unpredictable. (See “Align
positions” on page 48.)
72 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Remarks:
Only valid at the beginning of the line. Only valid for impact print
stations.
Purpose:
To move the print head to the desired location.
Remarks:
Valid at the beginning of the line only. Valid in impact print stations only.
Note: These commands are not recognized when they occur in the middle of
another command. For example, sending this command after the second
byte of a 3-byte command, as in ESC J n.
Real-time requests
Syntax:
DLE ENQ m or X'1005:n'
Where:
m Specifies the ASCII command character
n - Specifies the hexadecimal command character
74 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
n Description
31 Release print buffer
32 Cancel print buffer
33 Undefined
34 EC request; send status
35 Undefined
36 Undefined
37 Undefined
38 Undefined
40 Reset printer
41 Enable unsolicited status
42 Disable unsolicited status
43 Disable transparent XON/XOFF
m n Description
1 31 Release the print buffer for printing. This should be sent
after an error has occurred and the print buffer is held. If
an error occurred during the transaction that was being
held, the printer sends back the line number with the error
and the error status. The system can then decide to cancel
or continue printing after the error is corrected. The
system uses this command to continue printing after the
error is corrected.
2 32 Cancel print buffer. This clears the print buffer of all data.
Purpose:
To process a command immediately.
Remarks:
Either the Release print buffer or the Cancel print buffer command must be
used when the print buffer is held. If the printer is set to hold on error
then one of these commands must be used when the error condition is
cleared.
After the printer resets, it defaults to not sending status unless requested.
If an error occurs, the printer appears hung, unless a status is requested. If
unsolicited status is enabled, the printer sends the error to the system as
soon as it occurs.
Marker command
Syntax
ESC = marker or X'1B 3D' marker'
Where:
marker = 1 byte marker: 0x00 and 0x01 markers are reserved.
Purpose
To allow the driver to monitor how much of the data in the printer's buffer
has executed. The EC Level command returns status with the EC bit set. If
you want to know when a specific command has finished execution, a
buffered EC level request could be sent following the command. When
status is returned with the EC level bit set, then the previous command has
been completed.
Remarks:
The marker will be sent as status byte #4 in place of the EC level of the
code, and Status Byte 9, bit #1 will be set to indicate that the EC level has
been replaced by the marker for this status. The status with the marker
will be sent when all commands received before it has been processed. If
only a partial line is sent to the printer (characters without a line feed
command), the marker will be sent before the line gets printed.
Example:
LINE 1 FGHIJKLMNOPQRSTUVWXYZ1234567890x'0a'
LINE 2 FGHIJKLMNOPQRSTUVWXYZ1234567890x'0a'
LINE 3 FGHIJKLMNOPQRSTUVWXYZ1234567890x'0a'
76 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
0x'1B3D04'
LINE 4 FGHIJKLMNOPQRSTUVWXYZ1234567890x'0a'
LINE 5 FGHIJKLMNOPQRSTUVWXYZ1234567890x'0a'
LINE 6 FGHIJKLMNOPQRSTUVWXYZ1234567890x'0a'
LINE 7 FGHIJKLMNOPQRSTUVWXYZ1234567890x'0a'
LINE 8 FGHIJKLMNOPQRSTUVWXYZ1234567890x'0a'
0x'1B3D05'
v After the first three lines, the printer will transmit back status with the
normal printer status: Status Byte 4 = x'04'.
v After the 8th line, the printer will send back status with Status Byte 4 =
0x05.
78 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Chapter 3. Page mode printing commands
This section describes the page mode commands.
Remarks:
When sent in standard mode, this command sets the print direction for
page mode, but has no effect on standard mode printing.
Starting position is within the printable area defined by the Select printable
area command (X'1B;58...)'.
80 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
v Moves the printing position the specified number of dots from the
current print position, in the direction perpendicular to the printing
direction specified by the Select printing direction/position command
(X'1B;54...'). If the print direction is bottom-to-top, or top-to-bottom, this
command adjusts the printing position in the horizontal direction.
v If the value of y is outside the specified printable area defined by the
Select printable area command, this command is ignored.
v If y is a negative value, the current print position will move in the
opposite direction.
Set left margin position (standard mode), set absolute print position
(page mode)
Syntax:
ESC $ n1 n2 or X'1B;24;n1;n2'
Where:
v n1 is the high-order byte of the dot offset from the beginning of the print
line.
v n2 is the low-order byte of the dot offset from the beginning of the print
line.
Default:
n1 = 0, n2 = 0
Remarks:
v In the thermal station, 1 mm = 8 dots.
v In the impact station, 1 inch = 150 half-dots (75 dots).
v n1 and n2 are hex values. Convert each to decimal, and use this formula
to get the decimal equivalent: (n1 x 256) + n2.
v The maximum value in the thermal CR station is 576. The maximum
value in the impact DI station is 474.
v In the CR station, this number is rounded back to a factor of 8.
v If the n1,n2 value exceeds the maximum, it is ignored.
v This command should be sent only after the command that selects the
station, Set print station (ESC c1 n).
v In Page mode, the printing position is moved the specified number of
dots from the beginning of the print line, in the same direction as
printing, specified by the Select printing direction/position command
(X'1B;54...'). If the print position is bottom-to-top, or top-to-bottom, this
command adjusts the print position in the vertical direction.
v This is a one-time adjustment on the current line. If this command
moves the print position outside the printable area specified by the Select
printable area command, it is ignored.
82 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Print page in page mode
Syntax:
ESC FF or X'1B 0C'
Remarks:
v In standard mode, this command is ignored.
v In page mode, this command prints the page that is loaded in the
printer. The page remains loaded in the printer's buffer and the printer
remains in page mode. This should be used for repeatedly printing the
same page, or if there is a template that is filled in with each printout.
Portrait mode
This is a suggested method of document handling:
1. ESC f (x) (y): Set up document wait time
x Time the printer should wait from receiving a print line for the
document station until the document is inserted.
If the document has not been detected by the time the wait time
ends, a document error is sent to the system but the system
continues to wait for a document to be inserted.
y Delay from the time the document is detected until it is grabbed by
the printer (the start of document printing):
v Side insertion - closes the document throat.
v Front insertion - pulls the document into the printer and feeds it
to the Top of Form.
2. ESC c 0 X'04': Select document station - normal print mode:
The document present indicator blinks until a document is detected, then it
stays on continuously.
v If the document is inserted from the front, it is fed to the first print
position after the document wait time. Then, commands in the printer
buffer begin executing.
v If the document is inserted from the side, printing starts at the location
where it was inserted.
(The document throat must be open to insert the document from the
side.) Manually, open the throat by pressing and then releasing both
buttons. You can also open it with these commands - ESC q or ESC <
X'01'.
If a document is not detected within the wait time (specified in the ESC
f command), the printer sends error status to the system, and continues
to wait.
Note: The system can either cancel the print buffer, thereby deleting all
data in the print buffer, or wait for a document to be inserted.
The printer appears to be hung until an action is taken.
3. Send print lines to be printed in this station.
4. Final handling.
You have an option on final handling, finish printing and either eject the
document or open the document throat to allow manual removal of the
document:
FF: Print and Eject Document.
Finish printing and eject the document.
86 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
3. Send print lines to be printed in this station.
The number of characters that can be printed on a line depends on the
width of the document. The print area is:
v 63 mm high, starting 17 mm from the bottom of the document
v The entire width of the document less 34 mm from the right edge and
10 mm from the left edge
4. Final handling.
You have an option on final handling: finish printing and either eject the
document or open the document throat to allow manual removal of the
document:
4a. FF: Print and Eject Document.
Finish printing and eject the document.
4b. ESC q or ESC < X'01': Open Document Throat
Finish printing and release the document from the printer's rollers.
Note: The document station stays selected. The printer will wait
for another document until the station is changed.
Bytes Contents
1-2 Data count (X'000A' to X'00FF'). The data count includes the two
data-count bytes.
3 - 19 Status bytes 1-16. See the descriptions of each byte in the sections that
follow.
20 - n Either 5 bytes of additional status from the “Extended address
command-request printer ID” on page 14 command, or up to 246 bytes of
user data that can include:
v MICR data
v User flash data
v MCT data
Status byte 2
Table 17. Status byte 2
Bit Description
0 (LSB) Document ready. Set to 0 when the document insert station is ready for
printing. This occurs when both document sensors detect the document
and the document has been fed to the first print position.
1 Document present under the front sensor. Set to 0 when a document is
under to top document sensor.
2 Document present under the top sensor. Set to 0 when a document is
under the top document sensor.
3 Reserved. Always equals 1.
4 Print buffer held. Set to 1 when the print buffer is being held. Cleared
when buffer released. The printer can be held due to a Hold buffer
Command or one of the following printer errors: Ribbon cover open, with
commands to be printed on the document station. Cash receipt print error
with commands to the cash receipt station.
5 Open throat position. Set to 1 when the print head is in the open throat
position.
6 Buffer empty. Set to 1 when no print data and no commands are in the
buffer.
7 (MSB) Buffer full. Set when the message pipe is 80% full. Cleared when the
message pipe is 60% full. Commands will be rejected when pipe is 100%
full.
Status byte 3
Table 18. Status byte 3
Bit Description
0 (LSB) Electric journal memory sector is full.
1 Home error.
90 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Table 18. Status byte 3 (continued)
Bit Description
2 Document error. the document was not inserted after the document
station was selected, and the wait subsequently timed out.
3 Flash EPROM load error or MCT load error.
4 Reserved. Always equals 0.
5 User flash storage sector is full.
6 Firmware error. CRC on the firmware failed. The printer is running out of
the boot sector. Only system commands and firmware commands are
accepted. The firmware must be reloaded into the printer.
7 (MSB) Fiscal bit. Set to show a line completed printed. Set to 1 when Flash erase
is complete.
Status byte 4
Contains the printer engineering code (EC) level with all status messages.
Status byte 5
Table 19. Status byte 5
Bit Description
0 (LSB) Printer ID Request/Extended Address command. Set to 1 when
responding to a Printer ID request.
1 EC Level. Set to 1 when responding to an EC level request.
2 MICR Read. Set to 1 when responding to a MICR read command.
3 MCT Read. Set to 1 when responding to an MCT read command.
4 User flash read. Set to 1 when responding to a flash read command.
5 Reserved. Defaults to 1.
6 Reserved
7 (MSB) Reserved
Status byte 6
Contains the current line count.
Status byte 7
Table 20. Status byte 7
Bytes Description
0 (LSB) Reserved
1 Lost +24V. Set when +24V drops below +20V.
Note: If the printer is powered off with the power switch, this status will
go out as the printer shuts down.
2 PDF417 bar code generation problem. Set to one when there is a problem
creating a PDF417 bar code image.
3 Cash drawer status.
4 Print key pressed. Set to one when a printer key operation is in progress.
5 Reserved. Defaults to 1.
Status byte 8
Table 21. Status byte 8
Bit Description
0 (LSB) Reserved
1 Reserved
2 Reserved
3 Reserved
4 Reserved (always 0)
5 Set to 1 when CR paper is out.
6 Magnetic noise present - only for MICR read command - "1" when MICR
read shows random noise count ≥ 100 decimal or periodic noise > 0,
otherwise "0". If set to a "1", this value will be in the status message when
status byte 5, bit 2 = "1" otherwise it will be a "0" in other status
messages. When magnetic noise present bit is set there is excessive
magnetic noise which might be due to a fan or CRT and it will affect the
accuracy of the MICR reading.
| 7 (MSB) Thermal Print Algorithm Engaged: The thermal algorithm pauses printing
| to safeguard the parts in the printer when either the print head or the
| paper feed motor is considered too hot to continue printing. The bit clears
| when the printer has cools down. Prior to 2xR/1xR level 09.xx, this bit
| was set when the printer was almost too hot to continue printing. Pass
| these levels, the bit is set only when the algorithm is actually engaged.
| Note: The printer stops printing when the temperature exceeds 65° C,
| and will restart printing when the temp is below 60° C.
Status byte 9
Table 22. Status byte 9
Bit Description
0 (LSB) Electronic journal error (see driver spec for support)
1 Marker attached
2 Reserved
3 Reserved
4 Reserved (always 0)
5 Reserved
6 Printer is in offline mode, or has an unrecoverable error.
7 (MSB) Reserved
92 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Status byte 10
Table 23. Status byte 10
Bit Description
0 (LSB) Reserved
1 Electronic journal suspend (see driver spec for electronic journal support)
2 Set when responding to checksum request for download graphics logos or
stored messages.
3 Reserved
4 Reserved (Always = 0)
5 Reserved
6 Reserved
7 (MSB) Reserved
Status byte 11
Table 24. Status byte 11
Bit Description
0 (LSB) CR feed error - no motion detected when line feeding.
1 Reserved
2 Detected partial paper cut. Cutter may be failing.
3 Unexpected cover open. This bit will be set when the cover is open,
where there isn't an error condition.
4 Reserved (always = 0)
5 Cutter jam. CANNOT print in the CR station when this bit is set.
6 Set to 1 when CR paper is low.
7 (MSB) Set to 1 when CR paper is critically low.
Status byte 12
This will contain information RMA should monitor.
Table 25. Status byte 12
Bit Description
0 (LSB) Reserved
1 Document feed slip detected. Document
does not appear to move as far as it should
when feeding. Tested during MICR read and
landscape print.
2 Reserved
3 Unexpected DI cover open. This bit will be
set when the cover is open and there has not
been an error.
4 Reserved (Default = 0)
5 High voltage detection. The printer will be
offline if this bit is set.
6 Reserved
Status byte 13
The printer can detect problems with the cards and might be able to communicate.
If it can communicate, these are the statuses that are sent. If the failure is such that
the printer cannot print, offline status will be set, and the CR LED will blip.
Table 26. Status byte 13
Bit Description
0 (LSB) Main logic card - CRU failure
1 Interface logic card - CRU failure
2 Thermal print head - CRU failure
3 Impact print head failure (not a CRU)
4 Reserved (Always = '0')
5 Motion sensor failure (not a CRU)
6 Reserved
7 (MSB) Reserved
| Status byte 14
| Table 27. Status byte 14
| Bit Description
| 0 (LSB)
| 1
| 2
| 3
| 4 Reserved (Always = '0')
| 5 Problem communicating with the thermal print head
| 6 Executing offline test via command or keys
| 7 (MSB) Printing EJ data
|
| Status byte 15
| Table 28. Status byte 15
| Bit Description
| 0 (LSB)
| 1
| 2
| 3
| 4
| 5
| 6
94 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
| Table 28. Status byte 15 (continued)
| Bit Description
| 7 (MSB) Reserved (Always = '1')
|
| Status byte 16
| The printer detects problems communicating with the thermal print head.
| Table 29. Status byte 16
| Bit Description
| 0 (LSB) ISB count: The lower bits of the number stored at the IPL count statistic
| 1 IPL count: The lower bits of the number stored at the IPL count statistic
| 2 IPL count: Thelower bits of the number stored at the IPL count statistic
| 3
| 4
| 5
| 6
| 7 (MSB) Reserved (Always = '1')
|
|
You can choose the character size of four user-defined character sets (code pages)
or two proportional fonts. The parameter ranges for user-defined character sets are:
v 8 ≤ dot width ≤ 32
v 16 ≤ dot width ≤ 32
v Height must be a multiple of 2, such as 20, 22, 24, 26 and so forth.
Notes:
1. Any of the thermal printing fonts can be scaled up to eight times the defined
width and eight times the defined height. The scaling factor for the width does
not have to equal the scaling factor for the height. For example, you could
specify twice the width and five times the height.
2. For paper that has a width of 80 mm, the cash receipt print line is 72 mm (2.83
in.) long. There are 576 dots per line and 203 dots per inch.
Proportional fonts
This section describes the procedure for converting and downloading proportional
fonts. It also gives recommendations that will simplify implementing proportional
fonts on a receipt.
The following topics show how to use the alignment and tab features with
proportional fonts. Command descriptions are given in RS-232 (EIA-232) command
format. For the command syntax when you use a printer driver, consult the driver
documentation.
Selecting code page 2 when a proportional character set is defined for code page 1
(or selecting code page 4 when proportional characters are defined in code page 3)
will result in unreadable characters being printed.
The simplest method to align prices is to use the Align Column Right command
with the Fix Font Matrix command.
v Unlike other Align Position commands, the Align Positions-Align Column Right
command can be sent in the middle of a print line. Print characters sent before
the alignment command will be left aligned, while characters sent after the
alignment command will be right aligned.
v The Fix Font Matrix command forces proportional characters to print using a
single width defined by the command. This essentially negates the proportional
characteristic of the font, while still allowing the user to utilize the custom font.
The following sequence assumes proportional characters have been downloaded
and selected for printing. The following sequence should be used for each item
line. The printer output would resemble the following:
Candy Bar $ .45
Fountain Soda $ 1.11
1. Print the item description. For the first item, this is the ASCII data Candy Bar.
2. Issue the Set Alignment command with n=4 (Right Align Column). The
command syntax is X'1B 61 04'.
3. Issue the Fix Font Matrix command with n=dot width of the widest number
used. The command syntax is X'1B 3A xx'.
98 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Note: Finding the optimum value of xx for this command will vary depending
on the proportional character set being used, and may require some
experimentation.
4. Print the item price. For the first item, this is the ASCII data $ .45.
5. Issue the Fix Font Matrix command with n=0, which disables the fixed font
matrix. The command syntax is X'1B 3A 00'.
6. Issue the Print and Line Feed command. Use the command syntax X'0A' or
X'0D'.
The following Set Tab Positions command will define tab positions for 3 columns:
item description, quantity and price. The command assumes that the font width is
approximately 10 dots. This procedure assumes that proportional characters have
been downloaded and selected for printing, and that the item description will be
left aligned.
X’1B 44 01 90 01 D6 00 00’
The following sequence should be used for each item line. The printer output
would resemble the following:
Candy Bar 03 $ 1.00
Fountain Soda 10 $11.10
1. Print the item description. For the first item, this is the ASCII data Candy Bar.
2. Issue the Tab command. The command syntax is X'09'.
3. . Issue the Fix Font Matrix command with n=dot width of the widest number
used. The command syntax is X'1B 3A xx'.
Note: Finding the optimum value of xx for this command will vary depending
on the proportional character set being used, and may require some
experimentation.
4. Print the quantity. For the first item, this is the ASCII data 03.
5. Issue the Tab command. The command syntax is X'09'.
6. Print the price. For the first item, this is the ASCII data $1.00.
7. Issue the Fix Font Matrix command with n=0, which disables the fixed font
matrix. The command syntax is X'1B 3A 00'.
8. Issue the Print and Line Feed command. Use the command syntax X'0A' or
X'0D'.
100 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Chapter 7. Tests and diagnostics
This section describes the tests available for the 4610 Models 2xR and 1xR printers.
| Note: Prior to turning off the printer, send a reset command to the printer. If you
| turn off the printer without a reset command, when you turn the printer
| back on, it starts counting motor steps from the number stored in the
| printer's memory. This is not an accurate number if the printer was not able
| to store the number with a reset command.
| For Models 1xR, the low-paper sensor is customer-selectable for table or wall
| mount, depending on application. The printer comes from the factory already in
| table mount mode. For wall mount applications, you must move the low-paper
| selector switch on the bottom of the printer to the WALL position.
You must calibrate the printer to accurately recognize the thickness of the paper
supply. Calibration can be done using an offline test or by a command. See "“Set
low paper calibration” on page 48", ““Summary of the offline test menus (Models
2xR)” on page 103, or “Summary of the offline test menus (Models 1xR)” on page
108”.
One printer can be calibrated for the paper supply. The calibration constant can
then be broadcast to all printers that will use the same paper.
To set the low paper supply sensors of all printers within your system:
1. Run the calibration on one printer. See Table 30.
2. Read out MCT#0x28 from the calibrated printer.
Note: The calibration constant is stored in MCT 0x28. System management can
interrogate all printers to see if one has been recently calibrated.
3. Clear the high-order bit and send the value to all printers in the enterprise.
Table 30. MCT load command settings for low paper and critically low paper
Dec Hex
38 26 Low paper amount. This is the amount of paper left in the
printer when the low paper status is sent. Default is 5 meters
(5000 or 0x1388 number stored as mm).
39 27 Critically low paper amount. This is the amount of paper
remaining in the printer when the low paper status is sent.
Default is 1 meter (1000 or 0x03E8 number stored as mm).
1. Open the paper cover (C) and press the power button to power on the
printer. The power button comes with a cover over it, so it may be necessary to
use a paper clip or similar item to push the button through the cover. See
Figure 4 on page 103 for the location of the power button.
102 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Figure 4. Pressing the power button
2. Close the paper cover and press the paper feed button (A) while the printer is
powering up.
3. The following offline selection menu is printed. See Figure 5.
Figure 5. Example of the offline selection main menu. See Table 31 for an explanation of
these menu items.
4. Follow the instructions that are printed for each required test.
For proper operation, the information on the interface and logic cards must match.
If you install either card (interface or logic) with previously written firmware
information, you must direct the firmware to overwrite the correct card.
104 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
A card in the printer has been replaced
Main Logic’s S/N is 41-MVT02
Interface Card’s S/N is 41AAVT50
Check the serial number (S/N) of the
printer. The S/N is located next to the
document insert station and on the
bottom of the printer.
OPTIONS. . . . . . . . . . Press
1. Main Logic Update Menu . . . . 1
2. Interface Card Update Menu . . 2
3. Continue without updating . . 3
For more information, see the IBM Retail Store Solutions support Web site at
www.ibm.com/solutions/retail/store/support/.
The MICR read test is accessed through the sub-menus in offline mode.
Follow these steps to start the MICR read and flipper test:
1. Insert the check face down with the magnetic ink characters to the right.
2. To enter offline mode, press and hold both buttons until the printer-ready
indicator begins blinking.
3. Then release both buttons.
4. Press and release both buttons again. The printer reads the check.
5. Characters that match the magnetic ink characters are printed on the customer
receipt. The check is then flipped over, and ejected.
Understanding MICR test results: If the characters printed do not match the
magnetic ink characters, check the MICR read head. The printer will insert
question marks if the MICR read engine cannot decode a number. If the printer
detects noise, it will print out the amplitude and frequency of the noise, if possible.
106 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Firmware offline tests (Models 1xR)
To enter the firmware offline test and setup procedures for Models 1xR, complete
the following steps:
The following sections describe the steps to enter the firmware offline test and
setup procedures for Model 1xR.
1. Open the top cover.
2. Press the white power reset switch (A in Figure 6) to turn the printer off and
then on again.
Figure 7. Example of the offline selection main menu. See 108for an explanation of these
menu items.
5. Follow the instructions that are printed for each required test.
108 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
| Table 32. Summary of the offline test menu items (continued)
| Sub-menu (if
| Menu Item Definition applicable) Definition
| 8. Execute printhead Starts printhead tests.
| test
| 9. Reset TPH user Select after you install a new thermal printhead.
| data.
| 10. Motion sensor Starts the test up
| test
| 11. Print resident Prints all resident code pages with options of font choice
| code pages
| 12. Main menu Returns to main menu
|
For proper printer operation, the firmware must correlate the serial number of the
printer with the serial number of the logic card. When you replace either the logic
card, you must store the correct serial number in the firmware.
For more information, see the IBM Retail Store Solutions support Web site at
www.ibm.com/solutions/retail/store/support/.
IBM may not offer the products, services, or features discussed in this document in
other countries. Consult your local IBM representative for information on the
products and services currently available in your area. Any reference to an IBM
product, program, or service is not intended to state or imply that only that IBM
product, program, or service may be used. Any functionally equivalent product,
program, or service that does not infringe any IBM intellectual property right may
be used instead. However, it is the user's responsibility to evaluate and verify the
operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering the subject matter
in this document. The furnishing of this document does not give you any license to
these patents. You can send license inquiries, in writing, to:
IBM Director of Licensing
IBM Corporation
North Castle Drive
Armonk, NY 10504-1785
U.S.A.
The following paragraph does not apply to the United Kingdom or any other
country where such provisions are inconsistent with local law: INTERNATIONAL
BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS"
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR
PURPOSE. Some states do not allow disclaimer of express or implied warranties in
certain transactions, therefore, this statement may not apply to you.
IBM may use or distribute any of the information you supply in any way it
believes appropriate without incurring any obligation to you.
This information is for planning purposes only. The information herein is subject to
change before the products described become available.
112 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Electronic emission notices
Properly shielded and grounded cables and connectors must be used in order to
meet FCC emission limits. IBM is not responsible for any radio or television
interference caused by using other than recommended cables and connectors or by
unauthorized changes or modifications to this equipment. Unauthorized changes
or modifications could void the user's authority to operate the equipment.
This device complies with part 15 of the FCC Rules. Operation is subject to the
following two conditions:
1. This device may not cause harmful interference, and
2. This device must accept any interference received, including interference that
may cause undesired operation.
This product has been tested and found to comply with the limits for Class A
Information Technology Equipment according to CISPR 22/European Standard EN
55022. The limits for Class A equipment were derived for commercial and
industrial environments to provide reasonable protection against interference with
licensed communication equipment.
Notices 113
Industry Canada Class A Emission Compliance statement
This Class A digital apparatus complies with Canadian ICES-003.
Germany
Zulassungsbescheinigung laut dem Deutschen Gesetz über die
elektromagnetische Verträglichkeit von Geräten (EMVG) vom 30. August 1995
(bzw. der EMC EG Richlinie 89/336).
Dieses Gerät ist berechtigt in Übereinstimmung mit dem Deutschen EMVG das
EG-Konformitätszeichen - CE - zu führen.
Verantwortlich für die Konformitätserklärung nach Paragraph 5 des EMVG ist die
IBM Deutschland Informationssysteme GmbH, 70548 Stuttgart
Das Gerät erfüllt die Schutzanforderungen nach EN 50082–1 und EN 55022 Klasse A.
"Warnung: dies ist eine Einrichtung der Klasse A. Diese Einrichtung kann im
Wohnbereich Funkstörungen verursachen; in diesem Fall kann vom Betreiber
verlangt werden, angemessene Maβnahmen durchzuführen und dafür
aufzukommen."
EN 50082–1 Hinweis:
Anmerkung:
Um die Einhaltung des EMVG sicherzustellen sind die Geräte, wie in den IBM
Handbüchern angegeben, zu installieren und zu betreiben.
114 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Chinese Class A warning statement
Attention: This is a Class A product. In a domestic environment this product may
cause radio interference, in which case the user may be required to take adequate
measures.
Notices 115
Taiwanese Class A warning statement
Electrostatic discharge
Attention: Electrostatic discharge (ESD) damage can occur when there is a
difference in charge between the part, the product, and the service person. No
damage will occur if the service person and the part being installed are at the same
charge level.
116 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
ESD damage prevention
Anytime a service action involves physical contact with logic cards, modules,
back-panel pins, or other ESD sensitive (ESDS) parts, the service person must be
connected to an ESD common ground point on the product through the ESD wrist
strap and cord.
The ESD ground clip can be attached to any frame ground, ground braid, green
wire ground, or the round ground prong on the AC power plug. Coax or
connector outside shells can also be used.
Español:
Esta unidad debe reciclarse o desecharse de acuerdo con lo establecido en la
normativa nacional o local aplicable. IBM recomienda a los propietarios de equipos
de tecnología de la información (TI) que reciclen responsablemente sus equipos
cuando éstos ya no les sean útiles. IBM dispone de una serie de programas y
servicios de devolución de productos en varios países, a fín de ayudar a los
propietarios de equipos a reciclar sus productos de TI. Se puede encontrar
información sobre las ofertas de reciclado de productos de IBM en el sitio web de
IBM www.ibm.com/ibm/environment/products/recycling.shtml.l.
Notice: This mark applies only to countries within the European Union (EU) and
Norway.
Notices 117
2002/96/EC en matière de Déchets des Equipements Electriques et Electroniques
(DEEE), qui détermine les dispositions de retour et de recyclage applicables aux
systèmes utilisés à travers l’Union européenne. Conformément à la directive, ladite
étiquette précise que le produit sur lequel elle est apposée ne doit pas être jeté
mais être récupéré en fin de vie.
In the United States, IBM has established a return process for reuse, recycling, or
proper disposal of used IBM sealed lead acid, nickel cadmium, nickel metal
hydride, and other battery packs from IBM equipment. For information on proper
disposal of these batteries, contact IBM at 1-800-426-4333. Please have the IBM part
number listed on the battery available prior to your call.
For Taiwan:
118 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
For the European Union:
Notice: This mark applies only to countries within the European Union (EU)
This notice is provided in accordance with Royal Decree 106/2008 of Spain: The
retail price of batteries, accumulators and power cells includes the cost of the
environmental management of their waste.
For California:
Perchlorate material – special handling may apply
Refer to www.dtsc.ca.gov/hazardouswaste/perchlorate.
Notices 119
The foregoing notice is provided in accordance with California Code of Regulations
Title 22, Division 4.5, Chapter 33: Best Management Practices for Perchlorate Materials.
This product/part includes a lithium manganese dioxide battery which contains a
perchlorate substance.
Oregon: For information regarding recycling covered electronic devices in the state
of Oregon, go to the Oregon Department of Environmental Quality site at
www.deq.state.or.us/lq/electronics.htm.
Washington: For information about recycling covered electronic devices in the State
of Washington, go to the Department of Ecology Website at https://
fortress.wa.gov/ecy/recycle/ or telephone the Washington Department of Ecology
at 1-800Recycle.
Trademarks
The following are trademarks of International Business Machines Corporation in
the United States or other countries, or both:
AnyPlace Kiosk(tm)
AnyPlace POS Hub(tm)
DB2
DB2 Universal Database
IBM and the IBM logo
PS/2
SureMark
SurePoint
SurePOS
Wake on LAN
WebSphere
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of
Microsoft Corporation in the United States, other countries, or both.
Celeron and Intel are trademarks of Intel corporation in the United States, or other
countries.
Java and all Java-based trademarks and logos are trademarks or registered
trademarks of Oracle and/or its affiliates.
120 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Index
Numerics data buffer management, and batch
printing (continued)
extended address command 15
D
enable the beeper 51
enable upside-down printing 52
L
landscape mode 86
damage from electrostatic discharge 116 end of life disposal 117
landscape printing commands 86
data buffer management commands 76 equipment disposal 117
left margin command, set 46
data buffer management, and batch erase flash sector command 30
line spacing, minimum units 45
printing 76 error recovery command, set 49
line spacing, select 1/6 44
disable line count 77 European Union battery recycling
line spacing, select 1/8 43
EC level marker command 76 statement 119
122 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
V
verify previous commands
completed 13
Index 123
124 SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Readers’ Comments — We'd Like to Hear from You
SureMark 4610 Printers
Programming Guide
for Models 1xR and 2xR
We appreciate your comments about this publication. Please comment on specific errors or omissions, accuracy,
organization, subject matter, or completeness of this book. The comments you send should pertain to only the
information in this manual or product and the way in which the information is presented.
For technical questions and information about products and prices, please contact your IBM branch office, your
IBM business partner, or your authorized remarketer.
When you send comments to IBM, you grant IBM a nonexclusive right to use or distribute your comments in any
way it believes appropriate without incurring any obligation to you. IBM or any other organizations will only use
the personal information that you supply to contact you about the issues that you state on this form.
Comments:
Name Address
Company or Organization
_ _ _ _ _ _ _Fold
_ _ _and
_ _ _Tape
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Please
_ _ _ _ _do
_ _not
_ _ staple
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Fold
_ _ _and
_ _ Tape
______
NO POSTAGE
NECESSARY
IF MAILED IN THE
UNITED STATES
IBM Corporation
Retail Store Solutions Information Development
Department ZBDA
P. O. Box 12195
RESEARCH TRIANGLE PARK NC 27709-9990
_________________________________________________________________________________________
Fold and Tape Please do not staple Fold and Tape
Cut or Fold
GA27-5005-01 Along Line
Printed in USA
GA27-5005-01