Chapter 7 — Commands
ESim for the PC4 and PF8 Printer Programmer’s Reference Manual 115
The UG command is executed directly without appending a
Linefeed.
UI - Enable Prompts/Code Page Inquiry
Purpose: This command causes the printer to enable prompts to be sent to
the host and to send the currently selected code page to the host
through the RS-232 or USB port.
Syntax: UI
The printer sends information on the currently selected code
page back to the host in the following formats:
UIp
1
,p
2
,p
3
.
Remarks: The keyboard display unit automatically sends this command
each time power is applied. The UI command is disabled by
removing power from the printer for 60 seconds.
Also see “I - Character Selection” on page 81 and “U- Print
Configuration (General)” on page 111.
Example:
This example enables prompts from the host and returns the
current code page.
UI
UI80,001
UM - Code Page and Memory
This command causes the printer to send the currently selected
code page and memory status to the host through the RS-232 or
USB port.
Syntax: UM
UI Command Parameter Descriptions
Parameter Description
p
1
Number of data bits.
p
2
Code page.
p
3
Country code.