Configuration query, Querying the printer – Datamax-O'Neil microFlash 2te Quick Reference Programming Guide User Manual
Page 51
Querying the Printer
47
Datamax-O’Neil Quick Reference Programming
Configuration Query
Configuration Query
Query Format
ESC{CF?}
Reply Format
{CF!
L
:x;
B
:x;
P
:x;
N
:x;
H
:x;
D
:x;
Y
:x;
S
:x;M:x;
T
:x;R:x}
Function
Displays configurable options. Available for all printers except
as noted.
Reply Example
{CF!
L
:LP;
B
:096;
P
:N;
N
:8;
H
:B;
D
:+10%;
Y
:1;
S
:Y;M:Y;
T
:0060;
R:65535}
Reply Example
Explanation
CF! - Reply to a configuration query.
L
:LP; - The default mode is Line Printer.
B
:096; - The baud rate is 9600.
P
: N; - No parity is set.
N
:8; - There are 8 data bits.
H
:B; - Hardware and software handshaking are enabled.
D
:+10%; - The darkness (burn time) is set to +10%.
Y
:1; - The paper is 1 ply.
S
:Y; - The sound is on.
M:Y; - The printhead centers during form feed.
T
:0060 - The timeout is set for 60 seconds.
R:65535; - The printer never time outs.