IBM 1xR 用户手册

下载
页码 144
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 POS
Application Programming Guide
.
Table 2. Driver documentation by operating system
Operating System
IBM Publication
4690 OS Version 1 and
Version 2
IBM 4690 OS API Specification for IBM 4610 Printers
DOS
IBM Point-of-Sale Subsystem for DOS Programming
Reference
OS/2, Windows NT,
Windows 95, and Windows
3.1x
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
Description
Command
Page
System Commands
EC/Request/Real-time status
request
DLE ENQ 4 or X'100534' Immediate or X'1B008000' Buffered
Enable/disable the feed buttons
ESC c 5 n X'1B6335;n'
Extended address command
(request printer ID)
GS | SOH or X'1D4901' This is an IMMEDIATE command.
Re-initialize the printer
ESC @ or X'1B40'.
Reset printer
DLE ENQ @ or X'100540'
Status request
ESC v or X'1B76'
6
SureMark 4610 Printers : Programming Guide for Models 1xR and 2xR
||