EasyManua.ls Logo

ABLE AP1200 - Settings and Configuration; ESC,X,m,... and GS,I,m commands; m=4 Select Baud rate, parity, word length and number of stop bits; m=9 Set Internal Default Values

ABLE AP1200
26 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Ref: "ProgGuide1_7.docx" Page 20 of 26
Document Revision: “1.7”
Document Date: “11 Sep. 2013”
4 Settings and Configuration
The printer maintains a large number of internal settings and configuration information which is not
derived from ESCPOS control codes, and is unique to Able Systems printers.
In general, the ESC,"X",m,... command is used to set these values, and the GS,"I",m command is
used to query them. The following table details all valid combinations of these commands:
(N.B. See the section SAVING CONFIGURATION INFORMATION).
m
ESC,"X",m,...
m
GS,"I",m
3 n1,n2 Report Firmware Version Number
4 eg
"9600,N,8,1",CR
Set Baud 4 eg "
9600,N,8,1",CR
Report Baud Setting
6 eg "SerialNo",CR Report Unit Serial Number
9 n1 Set Internal Defaults
9 n1,n2,n3 Report Internal Defaults
11 n1,n2 Set Sleep Period
11 n1,n2 Report Sleep Period
15
15 n1,n2,n3 Report Voltage/Temp Data
18 n1..n18 Set LED patterns
18 n1..n18 Report LED patterns
19 n1 Set MT102FLAGS
19 n1 Report MT102FLAGS
20 n1,n2 Set MarkFeed /
EjectFeed
20 n1,n2 Report MarkFeed / EjectFeed
23 n1 Set AUXFLAGS
23 n1 Report AUXFLAGS
33 n1 Set MaxDotsAtOnce
33 n1 Report MaxDotsAtOnce
42 n1 Set EjectOffset
42 n1 Report EjectOffset
48 Save all settings to
Flash
50 n1,n2 Set Spool Sleep Period
50 n1,n2 Report Spool Sleep Period
52 n1,n2 Set Auto-Save Period
52 n1,n2 Report Auto-Save Period
66 n1 Set print darkness
66 n1 Report print darkness
110 Produce test print
Setting Configuration Information
N.B. This section contains details of how to modify some of the basic operating functions of
the printer. Do NOT attempt to modify any parameter unless you fully understand the potential
consequences.
The command ESC,"X",m,... may be used to set various internal configuration values according to
the value of m as defined below.
m=4 Select Baud rate, parity, word length and number of stop bits. (Default: "9600,N,8,1")
Command parameters must have format: e.g."19200,E,8,2", so:
4 or 5 number characters, [the required Baud rate]
1 comma character
1 "N/n/E/e/O/o" letter character, [the required Parity]
1 comma character
1 "7/8" number character, [the required Data bits]
1 comma character
1 "1/2" number character [the required Stop bits]
e.g. To select 19200,E,8,2 the following 14 byte command should be sent:
ESC,"X",04H,"19200,E,8,2"
or as hex codes: 1BH,58H,04H,31H,39H,32H,30H,30H,2CH,45H,2CH,37H,2CH,32H
The following RS232 baud rates are accepted;
1200, 2400, 4800, 9600, 38400, 57600
Each printer accepts 8 data bits followed by either 1 or 2 stop bits and can use Odd, Even or No
parity.
The setting must be saved to non-volatile memory (FLASH), and does not come into effect until after
the next sleep/waking mode transition.
m=9 Set Internal Default Values.

Related product manuals