Microcom 438TM Operator's Manual page 88

Direct thermal printer
Table of Contents

Advertisement

Printer Commands
the input is inactive, the "error" would need to be cleared before the
printer will continue. The ^D29 statistical listing reports the GP inputs
that are configured to generate error conditions when active and are
listed under the "ERROR INPUT: 0nH" with the value for "n" equaling
the HEX value of the inputs. The inputs equal a binary number with the
inputs in the following order; 4321.
Command Syntax:
^D151<CR>0n<CR>
n = the hex value from 0 to F.
Example: If the application wanted to configure inputs 1 and 3 to
generate error conditions when active, a ^D151<CR>05<CR>
command (the <CR> indicates carriage return characters) would be
issued. The printer ignores the LF characters, so a <CR+LF> is
interpreted as a <CR> as well) would be sent to the printer.
GP OUTPUTS:
The P21 connector is used to provide 4 general purpose outputs.
These outputs provide 24V and may be used to provide the voltage
needed to power the GP INPUTS.
The ^D69 command is used to read and report the current status of the
GP Outputs in the form of ">IO 0nH< where "n" is a hex number from 0
to F. The outputs equal a binary number with the values in the
following order; 4321.
Example: A status of >IO 05H< would indicate that outputs 1 and 3 are
active (24v) and that outputs 2 and 4 are inactive (0v); 05H =
0101(binary).
The ^D68 is a nonvolatile command used to enable which GP outputs
are active. The outputs are entered in as a HEX value that is equal to a
binary number with the outputs in the following order; 4321.
Command Syntax:
^D68<CR>0n<CR>
n = the hex value from 0 to F.
Example: If the application wanted to configure outputs 1 and 3 active,
a ^D68<CR>05<CR> command (the <CR> indicates carriage return
characters) would be issued. The printer ignores the LF characters, so
a <CR+LF> is interpreted as a <CR> as well) would be sent to the
printer.
NOTE: A status request (^E, ^D5, or 5 NULL's 01) will never show the
status of the outputs while a status request will show the input status if:
1) GP I/O is enabled AND
5-20
438TM Operator's Manual - 880049-0113
Chapter 5

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 438TM and is the answer not in the manual?

Questions and answers

Table of Contents