Composite Command - Oki ML4410 User Manual

Oki ml4410: user guide
Hide thumbs Also See for ML4410:
Table of Contents

Advertisement

Composite Command

If programming the printer with a combination of print modes for a
particular paragraph or line, typing in each command separately is not
necessary because it can be done by using one command.
Composite command
Composite command
This is made possible through the specification of the variable "n" as in the
following table:
Some of these options are not available together. For example, it is
obviously not possible to choose Elite and Pica together in one command.
Maybe a short example will make this, rather complicated command, a
little clearer:
A document requires printing where all the text will be in underlined,
double width, emphasised and enhanced (double strike). This would
normally entail programming four different commands before printing.
With a composite command, it is only necessary to take the values for each
mode from the table above: Underlined = 128, Double Width = 32, Double
Strike = 16 and Emphasised = 8. Now add these values together and
incorporate the result in the command like this:
n = 128 + 32 + 16 + 8 = 184
The command should now be CHR$(27);"!";CHR$(184) and from the
receipt of this one command, the printer will print underlined, double
width, emphasised and double strike text until it is changed again.
There is also no need to reset each mode separately. When a new
combination is selected, the printer takes care of all the resetting.
Epson FX Mode
Decimal
27 33 n
1B 21 n
Print mode
Decimal
Underline
128
Italics
64
Double width
32
Double strike
16
Emphasised
8
Condensed
4
Proportional
2
Elite
1
Pica
0
Hex.
ASCII
Comp.
ESC ! n
F
Hex
80
40
20
10
08
04
02
01
00
57

Advertisement

Table of Contents
loading

Table of Contents