Host Copy Macro - Tektronix 4106 Operator's Manual

Computer display terminals
Table of Contents

Advertisement

HOW TO
CREATE
MACROS
Host Copy Macro
You
can route
text
from
the
host directly to a printer or copier
attached
to
the
COPIER port.
In this case
,
you must use the COPY command instead of the SCopy
or
DCopy
key.
(During this type of
copy,
the terminal does
not
process or change
the text in any
way;
so if the printer requires initialization commands
,
such as page
size,
the host must
send them.)
To
program
the
F6
key to issue a COPY command
,
follow these
steps:
1.
Put the terminal in Setup
.
2.
Enter this command:
NVLEARN
The
terminal displays the following prompt:
Press the key to be defined
:
3.
Press the
F6
function
key.
The screen displays the number133 (the macro
number for the F6 key) after the colon
,
and the following message appears on
the next
line:
Enter definition. (F1
terminates
definition
,
F2 deletes last character)
4.
Assuming that the key-execute character is
0 L
(entered as
Ctrl-P),
enter the
macro
defin ition
using the host syntax for the COPY command
:
I
Ctrl-P
11
Esc IJC3H0:2T03HC:
I
Ctrl-P
I
As
you enter
it,
the macro string is displayed on the screen like
this:
DLEcJC3H0:2T03HC:DL
5.
To end the macro definition
,
press the F1
key.
6.
If you want to save the macro in nonvolatile
memory, enter:
NVSAVE
Now,
whenever you want to make a hard copy of a file without displaying
it
on the
screen
,
you can just follow these steps:
1.
Press the Setup
key again to take the terminal out of Setup.
2.
Enter a command that instructs your host to send text to the terminal
,
but do
not press
Return
to terminate the
command.
3.
Press the
F6
function key
-
this causes the terminal to execute the macro -
then
press Return
to terminate the command to the
host.
The printer should begin to print whatever the
host
sent to the terminal. If you
do not
have
a printer connected to the terminal
,
it
will display an error
message.
4.
When
the copy is
done,
press the Cancel key to end the copy process.
You can also
use
these steps to send data directly from the
host
to one of
the
peripheral ports,
for instance, to the
Rasterizer
or a plotter.
Substitute
either
PO:
or
P1
:
(depending on which
port
the device is connected to)
for
HC:
in the macro.
Be sure that the
file you're
sending is
formatted
for
the
device
connected to the
COPIER
port -
see
your systems
programmer.
4106/4107/4109 OPERATORS
3-33

Advertisement

Table of Contents
loading

This manual is also suitable for:

41074109

Table of Contents