The Designate Alternate C H A R A C T E R Set Instruction, Ca; The Select S T A N D A R D Set Instruction, Ss; The Select Alternate Set Instruction, Sa - HP 7470A Interfacing And Programming Manual

Graphic plotter
Hide thumbs Also See for HP 7470A:
Table of Contents

Advertisement

)
executed while the alternate set is selected will not change the set used
for labeling until the standard set is selected.
A command CS with no parameters defaults to set 0. A CS command
with an invalid first parameter will set an error condition (error 3), and
the command will be ignored.
)
)
)
>
' ■ ,he Designate Alternate Character Set
■ tistruction, CA
\ IHWHMIilllHi'l The designate alternate character set instruction, CA,
provides the means of designating one of the five character sets (0
) through 4) as the alternate character set.
The instruction can be used to provide an additional character
set that can be easily accessed from a program, especially when a
single label contains characters found in two different sets.
CA
character set number (terminator)
1
■SaaMMIHfl?! The character set number may be from 0 through 4.
. The set designated by the CA instruction is used for all labeling opera­
tions when the alternate set is selected by the SA instruction or by the
A
) control character shift-out (decimal equivalent 14) in a label string.
Character set 0 is automatically designated as the alternate character
set whenever the plotter is initialized or set to default values.
)
A CA command executed while the alternate set is selected will imme-
) diately change the character set used for labeling. CA commands
executed while the standard set is selected will not change the set used
) for labeling until the alternate set is selected.
) A command CA with no parameters defaults to set 0. A CA command
, with an invalid first parameter will set an error condition (error 3), and
the command will be ignored.
}
"he Select Standard Set Instruction, SS
The select standard set instruction, SS, provides the
means of selecting the standard set designated by the CS instruction as
the character set to be used for all labeling.
HMM
The command may be used to shift from the currently desig-
i nated alternate character set to the currently designated standard
character set so characters in another set may be accessed. Using the
) control character shift-in inside a label string is equivalent to executing
(
this command..
ttiilLU
SS
(terminator)
Era
E";-3
EXPLANATION
No parameters are used. Any parameters which follow
the instruction are ignored and the standard set is selected. An alpha­
betic parameter will be interpreted as the first letter of the next
mnemonic and may, therefore, cause an error 1 to occur after execution
of the SS instruction.
The standard ASCII character set (set 0) is automatically selected
when the plotter is first turned on, initialized, or set to default values.
The standard set can be selected within a label command by sending
the ASCII control character for shift-in (decimal equivalent 15).
The Select Alternate Set Instruction, SA
E^ba
E
i a
lllMHMIJIUK'l The select alternate set instruction, SA, provides the
means of selecting the alternate set designated by the most recent CA
instruction as the character set to be used for all labeling.
IIRW1 The command may be used to shift from the currently desig­
nated standard character set to the currently designated alternate
character set to access characters in a second set. Sending the control
character shift-out inside a label string is equivalent to executing this
command.
t J U J L H
SA
(terminator)
3
No parameters are used. Any parameters which follow
A
the instruction are ignored and the alternate set is selected. An alpha­
betic parameter will be interpreted as the first letter of the next
mnemonic and may, therefore, cause an error 1 to occur following execu­
tion of the S A instruction.
The command should be executed prior to executing a label statement
whenever the alternate character set is to be used. The alternate set can
be selected within a label command by sending the ASCII control char­
acter for shift-out (decimal equivalent 14). Shift-in and shift-out are
particularly useful when a line of text must be composed with symbols
from two character sets.
The following commands label using two different character sets where
the underline is drawn with and without a backspace. The shift-out
character is used to change from the standard to the alternate set.
" S P 2 ; C S O ; C f l 4 ; S S ; L B S _ E _ T _ 0 _ % S _ E _ T _ 4 _ V
S_E_T_p SET4
)
b-i
LABELING
LABELING
5-5
)

Advertisement

Table of Contents
loading

Table of Contents