PowerTerm LTC
88
Users Guide
To set an LU/Device name:
1.
Select Terminal | Setup. The Terminal Setup dialog appears.
2.
From the Emulation tab, select either IBM 3270 or 5250 Display, and click
OK.
3.
Select Communication | Connect. The Connect dialog appears.
4.
Select your Session Type and enter the IBM Host Name.
5.
In the LU/Device Name field, specify the device name for the emulation
session. The maximum length of the assigned LU name is 8 characters,
while that of Device name is 10 characters.
When using multiple sessions, enter a plus sign (+) after the name (e.g.
John+) and each session will automatically be assigned a new name (John1,
John2, etc.).
9.2. Sending Escape Sequences
An escape sequence is a series of characters used to trigger some sort of command
state in computers and their attached peripherals. A text editor (like vi) can display
lines of text in a terminal window by simply writing those characters to the window.
However, in order to perform such functions as moving the cursor, making text
brighter, or erasing part (or all) of the screen you must send escape sequences:
special strings of characters meant to control the terminal. A terminal observes
each input character and, if it's part of an escape sequence, it interprets that
character string as a command instead of displaying it as text.
You can record the necessary escape sequences in a number of ways:
•
.prt files
•
.ped files
•
Via keyboard mapping
9.2.1. Printer Configuration Files (.prt)
The Printer Configuration Files (.prt) enables the user to manipulate the printer
output (for example: bold, italic, underline). Typically you would use the escape
sequences in the PowerTerm supplied prt file. There are circumstances that would
warrant you referencing alternative escape sequences. Both are explained below:
Typical Use
6.
Verify the existence of the .prt file in the folder where ptw32.exe resides.
7.
Create a PSL file with the following name:
open-printer file
yourfilename.prt
Referencing alternative escape sequences
There are times when the printer will print an unnecessary escape sequence. To
avoid this situation, the following solution will enable you to have the emulation