The Numeral Shape menu option is available for Arabic session only. |
To set the bidirectional display options:
To change these settings in an active Host On-Demand session:
|
In this mode, you can indicate whether you want the underline attribute to be visible or invisible. Select View > Bidi display options > Show text attribute, and click on the On checkbox if you want the underlining to be visible.
To properly print Arabic or Hebrew text, the following should be implemented:
The start and finish Esq-sequences are printer-dependent. Currently, VT printing does not use Printer Definition Files (PDFs). But the PDF file is used for Bidirectional sessions to define host-to-printer ASCII translation and control codes sent at the start and the end of each host print job. See Host Printing Reference for more information about creating and using of Printer Definition Tables (PDTs) and Printer Definition Files (PDFs).
For a VT bidirectional session, select a PDF from the Printer tab of the Session Properties dialog box. For a non-VT bidirectional session, the Printer tab of the Session Properties dialog box includes a list of PDFs relevant for a VT session.
To be used for a VT session, the PDT should include the parameter VT_PRINT?=x, where x is a number that identifies a language. The following identifiers are currently supported:
If the parameter does not exist or is set to 0, the PDT should not be used for VT printing and is not displayed in the list of PDFs. If the parameter is set to one of currently supported languages, the PDF is not displayed in the Session Properties dialog box for a 3270 printer session.
Following is an example of a segment of a PDF file with parameters that are important for VT bidirectional printing. This PDF is designed for Hebrew printing on HP LaserJet 4 printer.
... /* user-defined macros */ BEGIN_MACROS ... ... SUL EQU 1B 26 64 33 44 /* Start Underline */ CUL EQU 1B 26 64 40 /* Cancel Underline */ SBP EQU 1B 28 73 31 42 /* Start Bold Printing */ CBP EQU 1B 28 73 30 42 /* Cancel Bold Printing */ CS1 EQU 1B 28 38 55 /* Roman 8 char set 1 */ CS2 EQU 1B 29 38 55 /* Roman 8 char set 2 */ SFT EQU 1B 28 31 35 51 1B 28 73 30 70 31 30 2E 32 36 68 31 32 2E 30 76 30 73 30 62 39 38 54 ARA EQU 1 /* Hebrew char set */ END_MACROS /**********************************************************************/ /* Control Codes */ /**********************************************************************/ /* user defined sequences */ ...... START_JOB= CUL CBP SFT END_JOB= CUL CBP CS1 VT_PRINT?=ARA ...... /**********************************************************************/ /* Character Definitions */ /**********************************************************************/ /*example: convert ASCII from 1255 (Hebrew codepage on Windows 98) to 862 (Hebrew codepage used on printer)*/ /* the table is in format source=destination */ ..... E0=80 E1=81 E2=82 E3=83 E4=84 ...
Other PDT parameters need not be processed for base bidirectional support and will be ignored for a VT session.
The VT terminal uses PASSTHRU mode to send data to a printer without displaying it on a screen. The data can be plain text or binary data, such as image or Postscript text. See your VT terminal documentation for more information about PASSTHRU mode.
Some host applications send text that is already converted to the printer codepage. In these cases, the emulator should not perform any conversion.
By default, ASCII conversion for PASSTHRU mode is disabled, because the VT emulator cannot determine whether conversion is needed. To enable conversion, select Edit > Convert to printer codepage. For VT print modes other than PASSTHRU, ASCII conversion is enabled by default.
The bidirectional Hebrew support in VT enables the program to emulate an English/Hebrew VT 220 display terminal. Special Language and bidirectional functions are added to the list of standard functions supported by the emulation program.
Configuring a workstation
Setting text types
Understanding Hebrew and bidirectional functions
Summarizing bidirectional key combinations for Hebrew
Understanding the Operator Information Area (OIA) in terminal emulation mode
The bidirectional session supports two text modes and their corresponding manipulation: Implicit (Logical) and Visual. In the Implicit text mode, characters are stored in same order that they are entered. The text is transformed into its visual form only when it is displayed. In the Visual text mode, characters are stored in the same way that they are displayed on the window. To switch between Visual and Logical text modes:
The visual text mode is available for Hebrew session only. |
When cursor direction is set to right-to-left, this does not affect cursor addressing and moving, insert and delete characters, erase in line or erase in display. The following functions are affected by right-to-left cursor direction setting:
Function | Combination |
---|---|
Hebrew language | Ctrl+N |
English language | Ctrl+L |
Toggle cursor direction | Ctrl+D |
Toggle character set mode | Ctrl+B |
Screen reverse | Ctrl+S |
In the host session, the bottom line of the screen is called the
Operator Information Area (OIA).
This line is always displayed from left to right.
For the Hebrew environment, the following symbols have been added:
Language indicator | H - Current language is Hebrew
E - Current language is English |
---|---|
Cursor direction | => - Left-to-right direction
<= - Right-to-left direction |
Text type mode | I - Implicit mode
V - Visual mode |
Screen direction | S> - Left-to-right screen direction
<S - Right-to-left screen direction |
The bidirectional Arabic support in VT enables the program to emulate an English/Arabic VT 220 display terminal. Special language and bidirectional functions are added to the list of standard functions supported by the emulation program.
Configuring a workstation
Understanding Arabic language and bidirectional functions
Summarizing bidirectional key combinations for Arabic
Understanding the Operator Information Area (OIA) in terminal emulation mode
The following example illustrates the usefulness of the column heading.
When column heading is off:
Sent by host |
(RTL screen) |
---|---|
PCs Printers 200 40 500 90 |
PCs Printers 40 200 90 500 |
When column heading is on:
Sent by host |
(RTL screen) |
---|---|
PCs Printers
200 40 500 90 |
40 200 90 500 |
Function | Key combination |
---|---|
Arabic language | Ctrl+N |
English language | Ctrl+L |
Screen reverse | Ctrl+S |
Column heading | Ctrl+C |
In the host session, the bottom line of the screen becomes an Operator Information Area (OIA). This line is always displayed from left to right. For the Arabic environment, the following symbols have been added:
Language indicator | (AIN) Arabic character - Current language is Arabic.
E - Current language is English |
---|---|
Screen direction | S> - Left-to-right screen direction
<S - Right-to-left screen direction |
Column heading | CH : CH - Column heading is set On. |