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.
xSureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
About this book
This guide provides programming commands and other technical information for
your IBM SureMark Models 2xR and 1xR printers.
Who should read this guide
This guide is intended for use by programming personnel who are installing,
setting up, or modifying the IBM SureMark printer Models 2xR and 1xR.
How this guide is organized
This publication is organized as follows:
v Chapter 1, “Introducing the 4610 Models 1xR and 2xR,” on page 1 describes the
hardware features of the 4610 Models 2xR and 1xR.
v Chapter 2, “Communication parameters,” on page 5 provides the communication
variables and commands required to customize your printer.
v Chapter 3, “Page mode printing commands,” on page 79 describes the
communication parameters for page mode printing.
v Chapter 4, “Document handling,” on page 85 describes the communication
parameters for document handling.
v Chapter 5, “Status information,” on page 89 describes the communication
parameters for the byte status information.
v Chapter 6, “Character fonts,” on page 97 describes the communication
parameters for the character fonts.
v Chapter 7, “Tests and diagnostics,” on page 101 is an overview of the MICR and
flipper tests, and the offline diagnostic tests available on the Models 2xR and
1xR.
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
v IBM 4694/4695 Point-of-Sale Terminals Service 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:
NotesThese notices provide important tips, guidance, or advice.
ImportantThese notices provide information or advice that might help you
AttentionThese notices indicate potential damage to programs, devices, or
CAUTIONThese statements indicate situations that can be potentially
DANGERThese statements indicate situations that can be potentially lethal
avoid inconvenient or problem situations.
data. An attention notice is placed just before the instruction or
situation in which damage could occur.
hazardous to you. A caution statement is placed just before the
description of a potentially hazardous procedure step or situation.
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.
To provide feedback to IBM:
v Print the reader's comment form included in the back of this document.
v Complete the form, including a reference to the specific location of the text (for
example, the page or table number) in question.
v Return the completed form to IBM by mail or you can give the form to an IBM
representative.
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.
xiiSureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Summary of changes
October 2011
|
|
|
|
|
June 2009
April 2009
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.
This update provides additional changes throughout the entire book from the new
spec and the subject matter expert.
This update provides changes throughout the book from the new spec.
xivSureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Chapter 1. Introducing the 4610 Models 1xR and 2xR
|
|
|
|
The IBM SureMark printer Models 1xR and 2xR printers consist of a high-speed
thermal station and an impact station for printing inserted documents. For further
information about the physical specifications of Models 2xR and 1xR, refer to the
User's Guide for Models 2xR and 1xR, GA27-5003-00.
Operating system requirements
Drivers can be downloaded from the Retail Store Solutions Web site at
www.ibm.com/solutions/retail/store/support/.
RS-232 interface
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
||
|||||||
|
|||||||
||||||
|
|
|
|
|
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
|
|
|
||||||
|
|
|
|
||||||
|
|
The RS-232 interface supports systems with the following operating systems:
Table 1. RS-232 operating systems supported
Operating
System
IBM 4690YesV5R2 and
Windows XPYesYesYesYes
Microsoft
Windows
Embedded for
Point of Service
(WEPOS) 1.11
Table 1. RS-232 operating systems supported (continued)
JavaPOS
Drivers
Operating
System
SUSE Linux
Enterprise Point
of Service
(SLEPOS) 11
PC DOS 2000Yes
* The 2NR/2CR printers are supported in compatibility mode in V5R2, but 4690 OS can
only update the firmware starting with the 0820 maintenance package. The 1NR is
supported in compatibility mode in V5R2, but requires package 0900 for firmware update.
All of these models are supported in compatibility or native mode in V6R2.7.
1.9.6 or
later
Ye sYe s
OPOS
Drivers
1.9.6 or
later
POS
Subsystem
1.9.6 or later
Windows
Native
Drivers
(NWD)
Direct
IOComments
|
|
4690 OS
Customers must be at these application levels (or higher) when running the 4690
OS:
Application Name
Note: Some of these applications will only
support the printers if they are set in TI3/4
compatibility mode.
IBM SUREPOS Application Client/Server
Environment for 4690 OS
IBM Chain Drug Sales Application5669-2129701 with PRPQ 5799-QYP
IBM 4680/4690 General Sales Application5696-5469701 with APAR IR33229 and
IBM 4680/4690 Supermarket Application5696-5369701 with APAR IR33228 plus
|||
LinuxSee noteRelease 1.4
Note: 4690 Terminal Services for Windows NT is required when you use Windows NT 4.0
or Windows 2000 as the primary operating system with this 4690 application.
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
|
vIBM Anyplace Kiosk
Product
Number
5745-C44N/A
Maintenance Level
PRPQ 5799-QYN
PRPQ 5799-QYL
2SureMark 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.
Chapter 1. Introducing the 4610 Models 1xR and 2xR3
4SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Chapter 2. Communication parameters
RS-232 serial parameter ...........6
RS-232 commands summary by function .....6
Alphabetized commands summary......10
System commands ............13
Verify previous commands completed....13
Status request............13
Reset printer .............13
EC/Request/Real-time status request.....14
Retrieve Native Mode Status (when printer is in
|
compatibility mode)..........14
||
Retrieve Native Mode Device ID (when printer is
|
in compatibility mode).........14
||
Extended address command-request printer ID15
Printer ID format...........15
Emulation mode for Model 1xR / 2xR .....16
Emulation of Non-IBM printers........17
Preset or onetime-set commands .......18
Memory allocation ...........18
Double-byte characters.........20
Download graphics (logo) commands....20
Predefine messages ...........22
Download user-defined characters ......23
Thermal code page ..........24
Proportional font..........25
Impact code page ..........27
User-defined code page mapping ......28
Request checksum of flash memory sector .. . 29
Retrieve checksum of each downloaded logo or
each stored message..........29
Flash storage write ...........30
Erase flash sector...........30
Microcode tolerance (MCT) information - loading 31
Microcode tolerance (MCT) information - request 31
Setup commands............35
Set print mode ............35
||
Set or cancel double-wide mode......37
Set or cancel double-high mode......37
Set or cancel underline mode.......38
Set or cancel overline mode ........38
Set or cancel invert mode .........38
Set or cancel emphasized printing ......38
Select maximum print speed........39
Set or cancel unidirectional printing .....39
Set document length for landscape print....39
Request document length for landscape print .. 40
Set print station ............40
Select user-defined or resident character sets . . 41
Set code page.............41
Set intercharacter spacing for single byte
character sets .............42
Set intercharacter spacing for double byte
character sets .............42
Set or cancel rotated characters .......43
Set print station parameters ........43
Select 1/8-inch line spacing ........43
Select 1/6-inch line spacing ........44
Select color printing..........44
Set line spacing using minimum units ....45
Set sheet eject length ..........45
Set horizontal tab positions ........46
Set left margin position .........46
Set right margin position .........47
Set relative position...........47
Set low paper calibration .........48
Align positions ............48
Set error recovery function ........49
Define document wait time ........49
Status sent to system ..........50
Select character for reprinted lines ......50
Re-initialize the printer.........51
Enable or disable the beeper ........51
Enable or disable the feed buttons.....52
Enable or disable upside-down printing ....52
Select character size for scalable fonts....53
Fix font matrix ............54
Print logo inline ............54
Set or cancel strike-through ........55
Select thermal paper ..........55
Bar code commands...........56
Print bar code............56
Print bar code examples ........61
Select horizontal size of bar code ......61
Select bar code height ..........61
Select printing position of human readable
information (HRI) ...........61
Select font for HRI ...........62
Print PDF417 bar code..........62
Select PDF417 ECC (error correction codewords)
level ................63
Select aspect ratio PDF417 bar code .....63
Enable PDF417 truncation........64
Print character commands.........64
Print and line feed ...........64
Print and line feed ...........64
Print, form feed, and cut the paper (FF) ....64
Print and feed paper n lines ........65
Print and feed paper using minimum units .. . 65
Print graphic messages..........65
Select and print a graphics (logo) command.. 65
Print predefined graphics (logo) command . .. 67
Unless noted otherwise, the communication parameters in this section apply to
SureMark printers that attach to a POS system with an RS-232 (EIA232) cable
connection.
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 POSApplication Programming Guide.
Table 2. Driver documentation by operating system
Operating SystemIBM Publication
4690 OS Version 1 and
Version 2
DOSIBM Point-of-Sale Subsystem for DOS Programming
OS/2, Windows NT,
Windows 95, and Windows
3.1x
Marker command ...........76
Reset line count ............77
Disable line count ...........77
Hold printing until buffer is released .....77
Release print buffer...........78
IBM 4690 OS API Specification for IBM 4610 Printers
Reference
IBM Point-of-Sale Subsystem Programming Reference and
User's Guide
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.
RS-232 serial parameter
Protocol DTR/DSR mode or XON/XOFF mode
Baud Rate 9600, 19200, 115200
Start 1 bit Data 8 bits Parity None Stop 1 bit
RS-232 commands summary by function
The commands listed in Table 3 are described in detail in the following sections.
Table 3. RS-232 commands organized by function
DescriptionCommandPage
System Commands
EC/Request/Real-time status
request
Enable/disable the feed buttonsESCc5nX'1B6335;n'52.
Extended address command
(request printer ID)
Re-initialize the printerESC @ or X'1B40'.51
Reset printerDLE ENQ @ or X'100540'13
Status requestESC v or X'1B76'13
DLE ENQ 4 or X'100534' Immediate or X'1B008000' Buffered14
GS | SOH or X'1D4901' This is an IMMEDIATE command.15
6SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Table 3. RS-232 commands organized by function (continued)
DescriptionCommandPage
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;data20
commands
Download user-defined characters ESC & s n m data or X'1B26;s;n;m;data'23
Erase flash EPROM sectorESC # n or X'1B23;n'30
Flash storage writeESC ' n1 n2 data or X'1B27;n1;n2;data'30
Microcode tolerance (MCT)
ESC M nhlor X'1B4D;n;h;l'.31
information - loading
Microcode tolerance (MCT)
ESC S n or X'1B53;n'31
information - request
Predefine messagesGS : 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 positionsESC a n or X'1B61;n'.48
Define document wait timeESC f xyor X'1B66;x;y'49
Enable/disable upside-down
ESC { n or X'1B7B;n'52
printing
Fix font matrixESC : n or X'1B3A n'54
Print logo inlineGS 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
landscape print
GSc1n where n = 2 bytes indicating the length of the document
in print motor steps.
“Request
document
length for
landscape
print” on
page 40
Select 1/8-inch line spacingESC 1 or X'1B31'.43
Select 1/6-inch line spacingESC 2 or X'1B32'44
Select color printingESC 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 speedESC / n or X'1B2F;n'39
Select thermal paperGS; 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 pageESC t n or X'1B74;n'41
Chapter 2. Communication parameters7
Table 3. RS-232 commands organized by function (continued)
DescriptionCommandPage
System Commands
Set document length for
landscape print
Set error recovery functionESC c 4 n or X'1B63;34;n'49
Set horizontal tab positionsESC D [n1 n2] NUL NUL or X'1B44[n1 n2]0000'46
Set intercharacter spacingESC SP n or X'1B20;n'42
Set left margin positionESC $ n1 n2 or X'1B24;n1;n2'46
Set line spacing using minimum
units
Set or cancel double-wide modeESC W n or X'1B57;n'37
Set or cancel double-high modeESC h n or X'1B68;n'37
Set or cancel emphasized printing ESC G n or X'1B47;n'38
Set or cancel invert modeESC H n or X'1B48;n'38
Set or cancel overline modeESC x‘5F’ n or X'1B5F;n'38
Set or cancel rotated characterESC V n or X'1B56;n'43
Set or cancel underline modeESC − n or X'1B2D;n':38
Set or cancel unidirectional
printing
Set print modeESC ! n or X'1B21;n'35
Set print stationESC c 0 n or X'1B6330;n'40
Set print station parametersESC c 1 n or X'1B6331;n'43.
Set relative positionESC \ n1 n2 or X'1B5C;n1;n2'47
Set right margin positionESC ] n1 n2 or X'1B 5D;n1;n2''“Set right
Set sheet eject lengthESC C n or X'1B43;n'45
Status sent to systemESC ) n or X'1B29;n'50
Bar Code Commands
Enable PDF417 truncationGS T n or X'1D54;n'64
Select Aspect Ratio PDF417 bar
code
Print bar codeGS k n NUL or X'1D6B;n;data;00'56
Print PDF417 bar codeGS P data NUL or X'1D50;data;00'62
Select bar code heightGS h n or X'1D68;n'61
Select font for HRIGS f n or X'1D66;n'62
Select horizontal size of bar codeGS w n or X'1D77;n'61
Select printing position of
human-readable information
(HRI)
GSc1n where n = 2 bytes indicating the length of the document
in print motor steps.
ESC 3 n or X'1B33;n'45
ESC U n or X'1B55;n'39
GS S r;c or X'1D53;r;c'63
GS H n or X'1D48;n'61
“Set
document
length for
landscape
print” on
page 39
margin
position”
on page 47
8SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Table 3. RS-232 commands organized by function (continued)
DescriptionCommandPage
System Commands
Select PDF417 ECC LevelGS R n or X'1D52;n1;n2'63
Print Character Commands
Print and line feedLF 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 linesESC 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 messagesGS ^ 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 stopHT or X'09'71
Return home (select print head
ESC <nor 1B3C;n72
location)
Paper cut/DI ejectESC i or ESC m -- X'1B69' or X'1B6D'73
Generate drive pulse for cash
ESC p mn1n2or X'1B70;m;n1;n2'73.
drawer
Retrieve the flash storageESC 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 checkESC 5 or X'1B35'71
MICR readESC I or X'1B49'69
Asynchronous (Real-Time) Commands
Real-time requestsDLE ENQ n or X'1005n'74
Data Buffer Management and Batch Printing
Reset line countESC 6 or X'1B36'77
Disable line countESC 8 n or X'1B38'n77
Hold printing until buffer is
ESC 7 or X'1B37'77
released
Release print bufferDLE ENQ 1 X'10;05;31''78
Page Mode Printing Commands
Select page modeESC L or X'1B4C'79
Select standard modeESC S or X'1B4f'79
Select printable areaESC X or X'1B58;x;y;dx;dy'79
Select printing direction/positionESC T n or X'1B54;n'80
Chapter 2. Communication parameters9
Table 3. RS-232 commands organized by function (continued)
DescriptionCommandPage
System Commands
Set vertical positionGS $ y or X'1D24;y'80
Set relative vertical positionGS \ y or X'1D5C;y'80
Set right margin positionESC ] n1 n2 or X'1B5D;n1;n2''47
Set left margin position (standard
mode), Set absolute print position
(page mode)
Set relative horizontal positionESC <5C>h n1 n2 or X'1B5C;n1;n2'81
Set printing positionGS ] xyor X'1D5D;x;y'82
Print and form feed and cut the
paper
Print page in page modeESC FF or X'1B0C'83
Clear print data in page modeCAN or X'18'83
ESC $ n1 n2 or X'1B24;n1;n2'81
FF or X'0C'82
Alphabetized commands summary
Table 4. Commands in alphabetical order
DescriptionCommandPage
Align positionsESC a n or X'1B61;n'48
Clear print data in page modeCAN or X'18'83
Disable line countESC 8 n or X'1B38'n77
Define document wait timeESC f xyor X'1B66;x;y'49
Download double-byte characters485/USB Syntax: X'1B28;s;n;data' RS232 Syntax: ESC s ( n data or
X'1B;28;s;n;data''
Download graphics (logo)
commands
Download user-defined charactersESC & s n m data or X'1B26;s;n;m;data'23
Enable PDF417 truncationGS T n or X'1D54;n'64
Enable/disable the feed buttonsESCc5nX'1B6335;n'52.
Enable/disable two-color printingGS; n or X'1D3B n'55
Enable/disable upside-down
printing
Erase flash EPROM sectorESC # n or X'1B23;n'30
Extended address
command-request printer ID
Fix font matrixESC : n or X'1B3A;n'54
Flash storage writeESC ' n1 n2 data or X'1B27;n1;n2;data'30
Flip checkESC 5 or X'1B35'71
Generate drive pulse for cash
drawer
Hold printing until buffer is
released
Impact code pageMCT commands.27
GS * logo# n1 n2 data or X'1D2A;logo#;n1;n2;data'20
ESC { n or X'1B7B n'52
GS | or X'1D4901'15
ESC p mn1n2or X'1B70;m;n1;n2'73
ESC 7 or X'1B37'77
20
10SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Table 4. Commands in alphabetical order (continued)
DescriptionCommandPage
MICR readESC I or X'1B49'69
Microcode tolerance (MCT)
ESC M nhlor X'1B4D;n;h;l'31
information - loading
Microcode tolerance (MCT)
ESC S n or X'1B53;n'31
information - request
Paper cut/DI ejectESC i or ESC m or X'1B69' or X'1B6D'73
Predefine messagesGS : message# data GS : or X'1D3A;message#;data;1D3A'22
Print and feed paper n linesESC 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 feedLF or X'0A'64
Print and line feedCR or X'0D'64
Print bar codeGS k n NUL or X'1D6B;n;data;00'56
Print logo inlineGS J d n1 n2 data or X'1D4A;d;n1;n2;data'54
Print page in page modeESC FF or X'1B0C'83
Print PDF417 bar codeGS 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 messagesGS ^ message# or X'1D5E;message#'68
Proportional fontESC & s n m data or X'1B26;s;n;m;data'25
Real-time requestsDLE ENQ m or X'1005n'74
Re-initialize the printerESC @ or X'1B40'51
Request document length for
GS N X'02' Null or X'1D4E;02;00'40
landscape print
Reset line countESC 6 or X'1B36'77
Retrieve size of user flash storageESC 4 x '03 FF FF FF' or X'1B34;03;FF;FF;FF'74
Retrieve the flash storageESC 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 heightGS h n or X'1D68;n'61
Select character for reprinted linesESC + n or X'1B2B;n'50
Select character size for scalable
GS ! n or X'1D21;n'53
fonts
Select color printingESC r n or X'1B72;n'44
Select font for HRIGS f n or X'1D66;n'62
Select horizontal size of bar codeGS w n or X'1D77;n'61
Select page modeESC L or X'1B;4C'79
Chapter 2. Communication parameters11
Table 4. Commands in alphabetical order (continued)
DescriptionCommandPage
Select PDF417 ECC levelGS R n or X'1D52;n1;n2'63
Select printable areaESC X or X'1B58;x;y;dx;dy'79
Select printing direction/positionESC T n or X'1B54;n'80
Select printing position of
human-readable information (HRI)
Select standard modeESC S or X'1B4f'79
Select user-defined or resident
character sets
Select 1/6-inch line spacingESC 2 or X'1B32'44
Select 1/8-inch line spacingESC 1 or X'1B31'43
Send checksum of flash EPROM
sector
Select maximum print speedESC / n or X'1B2F;n'39
Set code pageESC t n or X'1B74;n'41
Set document length for landscape
print
Set error recovery functionESC c 4 n or X'1B63;34;n'49
Set horizontal tab positionsESC D [n1 n2] NUL NUL or X'1B44[n1n2]0000'46
Set intercharacter spacingESC SP n or X'1B20;n'42
Set left margin positionESC $ n1 n2 or X'1B24;n1;n2'46
Set left margin position (standard
mode), Set absolute print position
(page mode)
Set line spacing using minimum
units
Set or cancel double-high modeESC h n or X'1B68;n'37
Set or cancel double-wide modeESC W n or X'1B57;n'37
Set or cancel emphasized printingESC G n or X'1B47;n'38
Set or cancel invert modeESC H n or X'1B48;n'38
Set or cancel overline modeESC x‘5F’ n or X'1B5F;n'38
Set or cancel rotated characterESC V n or X'1B56;n'43
Set or cancel underline modeESC − n or X'1B2D;n'38
Set or cancel unidirectional
printing
Set print modeESC ! n or X'1B21;n'35
Set print station parametersESC c 1 n or X'1B63;31;n'43
Set print stationESC c 0 n or X'1B63;30;n'40
Set printing positionGS ] xyor X'1D5D;x;y'82
Set relative horizontal positionESC <5C>h n1 n2 or X'1B5C;n1;n2'81
Set relative positionESC \ n1 n2 or X'1B5C;n1;n2'47
Set right margin positionESC ] n1 n2 or X'1B5D;n1;n2''47
Set low paper calibrationGSc2orX'1D63;32'48
GS H n or X'1D48;n'61
ESC % n or X'1B25;n'41
ESC " n or X'1B22;n'29
GSc1n39
ESC $ n1 n2 or X'1B24;n1;n2'81
ESC 3 n or X'1B33;n'45
ESC U n or X'1B55;n'39
12SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Table 4. Commands in alphabetical order (continued)
DescriptionCommandPage
Set relative vertical positionGS \ y or X'1D5C;y'80
Set sheet eject lengthESC C n or X'1B43;n'45
Set vertical positionGS $ y or X'1D24;y'80
Status requestESC v or X'1B76'13
Status sent to systemESC ) n or X'1B29;n'50
Tab to next tab stopHT or X'09'71
Thermal code pageMCT commands; see Table 8 on page 31.24
Verify previous commands
completed
X'1B00;80;00'13
System commands
This section describes the system commands.
Verify previous commands completed
Syntax:
X'1B00;80;00'
Purpose:
This command is used to ensure that all commands preceding it have been
completed. The application waits for the status return with status byte 5,
bit 1 set.
Remarks:
The printer status is returned in status bytes 1–16. Status byte 5, bit 1 is set
after this request has been executed. See Chapter 5, “Status information,”
on page 89 for more information.
Error Conditions:
None
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:
Reset printer
Syntax:
None
DLE ENQ @ or X'100540'
Chapter 2. Communication parameters13
Purpose:
The printer stops if processing a command and begins its reset routine. The
print buffer is canceled. All commands are erased. All printer settings go
back to default values.
Remarks:
None
Error Conditions:
None
EC/Request/Real-time status request
Syntax:
DLE ENQ 4 or X'100534' Immediate or X'1B008000' Buffered
Purpose:
To send the printer status to the system.
Remarks:
The printer status is returned in status bytes 1–16. Status byte 5 bit is set
after the EC request is executed. When used as a buffered command, this
command can be used to insure that all commands preceding it have been
completed. The application waits for the status to return with Status Bytes
5, bit 1 set. (See Chapter 5, “Status information,” on page 89.)
Error conditions:
None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Retrieve Native Mode Status (when printer is in compatibility
mode)
Syntax:
GS N ENG NULL or X'1D;4E;05;00'
Purpose:
To read the native mode status when in compatibility mode.
Remarks:
16 status bytes of data will be sent over the serial following the status
bytes. Status byte 5 is set, indicating that there is extra data attached.
Note: Supported on 2xR/1NR printers.
Error conditions:
None
Retrieve Native Mode Device ID (when printer is in
compatibility mode)
Syntax:
GS N ENG NULL or X'1D;4E;05;01'
Purpose:
To read out the native mode device ID when in compatibility mode.
|
|
|
|
Remarks:
Following the 8 compatibility mode status bytes is the native mode device
ID status bytes.
Note: Supported on 2xR/1NR printers.
14SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
Loading...
+ 114 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.