Open a printer emulation session.
From the Setup menu, choose View Settings.
To create device names based on the values you enter for Device Name from the Session Setup dialog box, set Generate Device Names to Yes. Available only for 5250 Telnet sessions.
Type any of the following characters as part of the value in the Device Name box:
Value |
Usage |
---|---|
* |
For each new session, replaced by "A", "B", "C", and so on. If the entire alphabet is used, the generated device names continue with "AA", "AB", "AC", and so on. |
% |
For printer sessions, replaced by "P"; for display sessions, replaced by "S". |
= |
For each new session, replaced by "1", "2", "3", and so on. |
&COMPN |
Replaced by the local workstation name; left-trimmed if the generated name exceeds 10 characters. NOTE:This character cannot be used with "&USERN". |
&USERN |
Replaced by the local user name; left-trimmed if the generated name exceeds 10 characters. NOTE:This character cannot be used with "&COMPN". |
+ |
Use anywhere in the string with "&USERN" or "&COMPN" to specify right-trimming instead of left-trimming. |
NOTE:You can use only one string literal in combination with these characters. If you use separated strings, the second string is dropped. For example, if you use "%My=Device", the second string ("Device") will be ignored when the device name is generated. However, "%MyDevice" contains only one string ("MyDevice") and won't have this problem.
Examples
This Device Name setting |
Generates |
---|---|
"%ABC=" |
The device name SABC1 for a display session. If this is rejected, Reflection will try SABC2, SABC3, and so on. |
"%123*" |
The device name S123A for the first display session, S123B for the second session, and so on. |
"&COMPN*" |
The names puternameA, puternameB, puternameC for the first three sessions, when the computer name is "Computername". |
"+&USERN*" |
The names victorruA, victorruB, victorruC for the first three sessions, when the computer user name is "victorrubio". |
NOTE:In display sessions, the device name appears in the sign-on screen when you connect to the host; in printer sessions, the device name appears in the Assigned Device Name setting details in the View Settings dialog box.