Skip to content

Configure Connection Settings Dialog Box for 5250 Printer Sessions

How do I get to this dialog box?
  1. With a session open, from the Quick Access Toolbar, click .

  2. Under Host Connection, select Configure Connection Settings.

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


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


Host Name or IP Address

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

!!! note "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).

Use ID Management

This option is available if you are using a centralized management server with ID Manager installed. ID Manager configures and monitors a pool of resource IDs that a client can use to establish a host session, thereby eliminating the need for administrators to create configurations for every client.

Depending on the type of terminal or printer, these resource IDs may represent addresses or identifiers as required.You can use ID Manager with the IBM3270 and IBM5250 terminals and printers.To use ID Manager, you'll need access to a centralized management server with ID Manager configured.

Device name

Specify the terminal device name (also called the display name or the workstation ID) that the IBM System i should use for your session. If you leave this box blank, the IBM System i 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.

Character Usage
* 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.
&COMPN Replaced by the local workstation name, left-trimmed, if the generated name exceeds 10 characters.
&USERN 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.

Generate device names

Automatically generates device names based on the value specified in the Device name field.

Security Settings

Secure data communications with SOCKS or SSL/TLS.

Host Connection Options

Setting Description
Automatically connect to the host Select to establish a host connection as soon as the printer session is started.
When connection is terminated Select one of the following options to determine the how Reflection handles a terminated connection.
Reconnect automatically attempts to reestablish the connection.
Prompt for reconnection prompts whether to attempt to reestablish the connection. (When No is selected, the session is left open and disconnected.)
Leave disconnected leaves the session disconnected with the session open.
Close session automatically closes the session.


Setting Description
Model ID Select the printer model to emulate.

5250 Printer Device Initialization

Setting Description
Message library Select the library that contains the message queue for exception messages. Consult your system administrator before changing this value.
Message queue Select the message queue to which exception messages should be sent. For example, the IBM System i may need to tell the printer to switch to another paper tray. Consult your system administrator before changing this value.
Font typestyle ID Select the default font typestyle to use for printing.
Forms mode Select the way forms are fed into the printer.
*AUTOCUT feeds single-cut sheets into the printer automatically.
*CONT feeds continuous forms into the printer automatically.
*CUT feeds single-cut sheets into the printer manually.
Setting Description
Host print transform Select to specify the manufacturer type and model, the paper sources, and the envelope source on your IBM System i print device.
Manufacturer type
If you select a printer that begins with WSCST, you must also specify the Workstation Customizing Object > Name and Library*, which the IBM System i will use to print jobs.
Paper source 1
Paper source 2
Envelope source

More information