Difference between revisions of "CodeChart:HP 2648A/HP 2648 Mode/ESC/Ampersand"
< CodeChart:HP 2648A | HP 2648 Mode | ESC
m (device control parameters) |
m (devices) |
||
| Line 208: | Line 208: | ||
==== <span id="device-control-commands">ESC & p Device Control Commands</span> ==== | ==== <span id="device-control-commands">ESC & p Device Control Commands</span> ==== | ||
| − | {| | + | {| border="1" |
! style="padding: 1ex;" | Value | ! style="padding: 1ex;" | Value | ||
| − | ! style="padding: 1ex | + | ! style="padding: 1ex;" | Description |
| − | ! style="padding: 1ex | + | ! style="padding: 1ex;" | Parameter |
|- | |- | ||
| − | | style="padding: 1ex;" | b | + | | style="padding: 1ex; text-align: center;" | b |
| style="padding: 1ex;" | Copy or compare record between source and destination device | | style="padding: 1ex;" | Copy or compare record between source and destination device | ||
| style="padding: 1ex;" | ? | | style="padding: 1ex;" | ? | ||
|- | |- | ||
| − | | style="padding: 1ex;" | c | + | | style="padding: 1ex; text-align: center;" | c |
| style="padding: 1ex;" | Specify control operation | | style="padding: 1ex;" | Specify control operation | ||
| style="padding: 1ex;" | ''operation'' | | style="padding: 1ex;" | ''operation'' | ||
|- | |- | ||
| − | | style="padding: 1ex;" | d | + | | style="padding: 1ex; text-align: center;" | d |
| style="padding: 1ex;" | Define destination device | | style="padding: 1ex;" | Define destination device | ||
| − | | style="padding: 1ex;" | ''device'' | + | | style="padding: 1ex;" | [[#device-control-devices|''device'']] |
|- | |- | ||
| − | | style="padding: 1ex;" | f | + | | style="padding: 1ex; text-align: center;" | f |
| style="padding: 1ex;" | Copy or compare file between source and destination device | | style="padding: 1ex;" | Copy or compare file between source and destination device | ||
| style="padding: 1ex;" | ? | | style="padding: 1ex;" | ? | ||
|- | |- | ||
| − | | style="padding: 1ex;" | m | + | | style="padding: 1ex; text-align: center;" | m |
| style="padding: 1ex;" | Copy or compare to end of medium between source and destination device | | style="padding: 1ex;" | Copy or compare to end of medium between source and destination device | ||
| style="padding: 1ex;" | ? | | style="padding: 1ex;" | ? | ||
|- | |- | ||
| − | | style="padding: 1ex;" | p | + | | style="padding: 1ex; text-align: center;" | p |
| style="padding: 1ex;" | Specify device spacing | | style="padding: 1ex;" | Specify device spacing | ||
| style="padding: 1ex;" | ''spacing'' | | style="padding: 1ex;" | ''spacing'' | ||
|- | |- | ||
| − | | style="padding: 1ex;" | r | + | | style="padding: 1ex; text-align: center;" | r |
| style="padding: 1ex;" | Read record or file from source device | | style="padding: 1ex;" | Read record or file from source device | ||
| style="padding: 1ex;" | ? | | style="padding: 1ex;" | ? | ||
|- | |- | ||
| − | | style="padding: 1ex;" | s | + | | style="padding: 1ex; text-align: center;" | s |
| style="padding: 1ex;" | Define source device | | style="padding: 1ex;" | Define source device | ||
| − | | style="padding: 1ex;" | ''device'' | + | | style="padding: 1ex;" | [[#device-control-devices|''device'']] |
|- | |- | ||
| − | | style="padding: 1ex;" | u | + | | style="padding: 1ex; text-align: center;" | u |
| style="padding: 1ex;" | Specify tape unit for operation | | style="padding: 1ex;" | Specify tape unit for operation | ||
| style="padding: 1ex;" | ''unit'' | | style="padding: 1ex;" | ''unit'' | ||
|- | |- | ||
| − | | style="padding: 1ex;" | w | + | | style="padding: 1ex; text-align: center;" | w |
| style="padding: 1ex;" | Write record or file from source device | | style="padding: 1ex;" | Write record or file from source device | ||
| style="padding: 1ex;" | ? | | style="padding: 1ex;" | ? | ||
|- | |- | ||
| − | | style="padding: 1ex;" | ~ (^) | + | | style="padding: 1ex; text-align: center;" | ~ (^) |
| style="padding: 1ex;" | Read device status | | style="padding: 1ex;" | Read device status | ||
| − | | style="padding: 1ex;" | ''device'' | + | | style="padding: 1ex;" | [[#device-control-device|''device'']] |
| + | |} | ||
| + | |||
| + | |||
| + | ===== <span id="device-control-devices">ESC & p Devices</span> ===== | ||
| + | |||
| + | {| border="1" | ||
| + | ! style="padding: 1ex; text-align: center;" | Value | ||
| + | ! style="padding: 1ex; text-align: left;" | Description | ||
| + | |- | ||
| + | | style="padding: 1ex; text-align: center;" | 1 | ||
| + | | style="padding: 1ex; text-align: left;" | Left cartridge tape unit | ||
| + | |- | ||
| + | | style="padding: 1ex; text-align: center;" | 2 | ||
| + | | style="padding: 1ex; text-align: left;" | Right cartridge tape unit | ||
| + | |- | ||
| + | | style="padding: 1ex; text-align: center;" | 3 | ||
| + | | style="padding: 1ex; text-align: left;" | Display | ||
| + | |- | ||
| + | | style="padding: 1ex; text-align: center;" | 4 | ||
| + | | style="padding: 1ex; text-align: left;" | External printer | ||
| + | |- | ||
| + | | style="padding: 1ex; text-align: center;" | 5 | ||
| + | | style="padding: 1ex; text-align: left;" | HP-IB device | ||
|} | |} | ||
Revision as of 05:17, 7 May 2012
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | |
|---|---|---|---|---|---|---|---|---|
| 0 | NUL | DLE | SP | 0 | @ | P | ` | p |
| 1 | SOH | DC1 | ! | 1 | A | Q | a | q |
| 2 | STX | DC2 | " | 2 | B | R | b | r |
| 3 | ETX | DC3 | # | 3 | C | S | c | s |
| 4 | EOT | DC4 | $ | 4 | D | T | d | t |
| 5 | ENQ | NAQ | % | 5 | E | U | e | u |
| 6 | ACK | SYN | & | 6 | F | V | f | v |
| 7 | BEL | ETB | ' | 7 | G | W | g | w |
| 8 | BS | CAN | ( | 8 | H | X | h | x |
| 9 | HT | EM | ) | 9 | I | Y | i | y |
| 10 | LF | SUB | * | : | J | Z | j | z |
| 11 | VT | ESC | + | ; | K | [ | k | { |
| 12 | FF | IS4 | , | < | L | \ | l | | |
| 13 | CR | IS3 | - | = | M | ] | m | } |
| 14 | SO | IS2 | . | > | N | ^ | n | ~ |
| 15 | SI | IS1 | / | ? | O | _ | o | DEL |
Contents
ESC & Control Sequences
| Prefix | Description | Parameters |
|---|---|---|
| a | Set or Report Cursor Position | column row |
| b | Download Diagnostic Program With LOADER Message | parameters |
| c | Download Diagnostic Program Without LOADER Message | parameters |
| d | Turn On Display Enhancement | enhancement |
| f | Define Soft Keys | attribute a key k length l string... |
| f | Execute Soft Keys | key e... |
| g | Simulate PA, PF Keys | parameters |
| k | Define Latching Keys | state key ... |
| p | Device Control | command ... |
| s | Define Strap Settings | state switch ... |
ESC & d Enhancements
| Value | Description |
|---|---|
| @ | Normal |
| A | Blink |
| B | Inverse Video |
| C | Blink, Inverse Video |
| D | Underline |
| E | Blink, Underline |
| F | Inverse Video, Underline |
| G | Blink, Inverse Video, Underline |
| H | Half-Bright |
| I | Blink, Half-Bright |
| J | Inverse Video, Half-Bright |
| K | Blink, Inverse Video, Half-Bright |
| L | Underline, Half-Bright |
| M | Blink, Underline, Half-Bright |
| N | Inverse Video, Underline, Half-Bright |
| O | Blink, Inverse Video, Underline, Half-Bright |
ESC & f Soft Key Attributes
| Value | Description |
|---|---|
| 0 | Normal |
| 1 | Local Only |
| 2 | Transmit Only |
ESC & f Soft Key Keys
| Value | Description |
|---|---|
| 0 | CR |
| 1 | f1 |
| 2 | f2 |
| 3 | f3 |
| 4 | f4 |
| 5 | f5 |
| 6 | f6 |
| 7 | f7 |
| 8 | f8 |
ESC & k Latching Key States
| Value | Description |
|---|---|
| 0 | Up |
| 1 | Down |
ESC & k Latching Key Keys
| Value | Description |
|---|---|
| a | Auto LF |
| b | Block Mode |
| c | Caps Lock |
| r | Remote |
ESC & p Device Control Commands
| Value | Description | Parameter |
|---|---|---|
| b | Copy or compare record between source and destination device | ? |
| c | Specify control operation | operation |
| d | Define destination device | device |
| f | Copy or compare file between source and destination device | ? |
| m | Copy or compare to end of medium between source and destination device | ? |
| p | Specify device spacing | spacing |
| r | Read record or file from source device | ? |
| s | Define source device | device |
| u | Specify tape unit for operation | unit |
| w | Write record or file from source device | ? |
| ~ (^) | Read device status | device |
ESC & p Devices
| Value | Description |
|---|---|
| 1 | Left cartridge tape unit |
| 2 | Right cartridge tape unit |
| 3 | Display |
| 4 | External printer |
| 5 | HP-IB device |
ESC & s Strap Setting States
| Value | Description |
|---|---|
| 0 | Closed |
| 1 | Open |
ESC & s Strap Setting Switches
| Value | Description |
|---|---|
| a | Function key transmission |
| b | Space overwrite latch |
| c | Cursor end-of-line wraparound |
| d | Block mode (line/page) |
| e | Paper tape mode |
| f | Fast binary read |
| g | Block transfer handshake |
| h | Inhibit DC2 |
| j | Auto terminate |
| k | Clear terminator |
| l | Self-test inhibit |
| m | Reverse CNTL key effect on INSERT CHAR and DELETE CHAR keys |
| n | Escape code transfer to printer |
| p | Compatability mode (scaled) |
| q | Compatability mode (unscaled) |
| r | Circuit assurance |
| s | Main Channel Protocol |
| t | Main Channel Protocol |
| u | CPU break |
| v | Carrier Detect |
| w | Data Comm self-test enable |
| x | Data speed select |
| y | Transmit LED |
| z | Parity |