Show Contents / Index / Search

Session Setup Dialog Box (5250 Printer Sessions)

Getting there

Use the Session Setup dialog box to configure the connection to an IBM host for printer emulation sessions.

Note: You cannot configure the settings from this dialog box when you are connected to a host.



Select the type of printer session you want. The options on this dialog box (and the Help topic) change if you modify this setting.


Model ID

Select the printer model to emulate.



5250 printer sessions use Telnet.

Enter Host (or System) Name or IP Address

Identify the host to which you will connect. Type the host name, alias, or numeric IP address.

Note: Both IPv4 addresses (in the form and IPv6 addresses (in the form 2001:0db8:3c4d:0015:0000:0000:abcd:ef12) are accepted.


Type the host port or socket number that the session should use. This field accepts any number between 0 and 66,535 (default = 23).

Device name

Specify the terminal device name (also called the display name or the workstation ID) that the AS/400 should use for your session. If you leave this box blank, the AS/400 creates a device to use for your session.

The device name can be up to ten characters long. You can include any of the following characters as part of the value in the Device name box.




Replaced by A, B, C, and so on to create a unique device name. If the entire alphabet is used, the generated device names continue with AA, AB, AC, and so on.


Replaced by P for printer sessions and S for display sessions.


Replaced by 1,2, 3, and so on to create a unique device name.


Replaced by the local workstation name, left-trimmed, if the generated name exceeds 10 characters.


Replaced by the local user name, left-trimmed, if the generated name exceeds 10 characters.


Specifies right-trimming instead of left-trimming. Use with &COMPN or &USERN. This character can be placed anywhere in the string.




  • You can use only one string in combination with these characters. If you use separated strings, the second string is dropped. For example, %MyDevice= is valid. However, %My=Device is not valid, and will be treated by the system as if it were &My=.
  • You cannot use both &COMPN and &USERN in the same string.
  • To have Reflection generate unique device names automatically based on the special characters described above, the Generate Device Names setting must be enabled. In printer sessions, this setting is off by default. To enable it, see the Generate Device Names topic.


Configure advanced Telnet settings.

Connect options

Auto connect

Select to establish a host connection as soon as the printer session is started.



Create and initialize printer devices on your AS/400 host.


Secure data communications with SOCKS or SSL/TLS.

Related Topics

Configure Printer Session Settings

Printer Session Setup Dialog Box (5250 Printer Sessions)