
for the TN3270E and the TN5250E protocols. A correctly configured
With the appropriate print server and host software, your printer or
printer capable of printing IPDS or SCS documents from an iSeries,
AS/400, or mainframe. For a more detailed product description, see
extended protocol. The Card for IPDS and SCS/TNe adds support
printer can receive, process, and print SCS print jobs received over
The card provides high quality IBM host connectivity print output.
emulation in the Card for IPDS and SCS/TNe. It will help you to
understand, use, and change option settings for receiving SNA
Multifunction Product (MFP) becomes an IBM host workstation
SCS data is received in a LAN environment using the Telnet
Thank you for purchasing the Card for IPDS and SCS/TNe.
“Specifications, Requirements, Features” on page 277.
Getting Started
TCP/IP.
LAN
environment
printer in this manual refers to both printers and


MFPs.

way SCS jobs are printed. Unless otherwise specified, references to
With the appropriate option card installed, the following printers and
Information on how to install the Card is in separate documenta-
If you need basic information on your printer and how to use it,
Character String (SCS) jobs over the LAN and for formatting the
Card, please refer to the separate IPDS Emulation User’s Guide.
If you need information on the IPDS emulation provided in the
please refer to the printer’s specific documentation.
Muiltifunction Products (MFPs) are supported:
the AS/400 host also cover the iSeries host.
tion shipped with your printer.
Requirements
and
Specifications

To use the SCS/TNe Emulation, the printer must have one of the fol-
If you need to update your Standard Network or MarkNet firmware,
For further information on requirements and specifications, see the
appendix starting on page 277.
refer to “Support” on page 4.
lowing LAN connections:
called STD Net).
printer in this manual refers to both printers and

If you need to update your Standard Network, MarkNet internal print
You may also contact your point of purchase or your local Lexmark
Support If you cannot find answers in this guide about using the SCS/TNe
server, or SCS/TNe firmware, go to http://support.lexmark.com
emulation, refer to the web site below.
office.
Customer

(“Remote Configuration Using a Browser” on page 24
page 260 ff). Using IDB in this way is a highly technical
Detailed, specialized listings and descriptions of option settings can
strings (see “IDB Basics” on page 248 ff. and “Addi-
process used only in connection with configurations
Panel” on page 10 - which also contains all basic
tional TN5250e Printer Commands Using IDB” on
“Operations Reference - TN3270E SETUP” on page 85 and
“Operations Reference - TN5250E SETUP” on page 155.
information on types of settings).
and re-configurations.
ff.)
three ways:
be found in:
printer refers to printers and MFPs, and the term
control panel refers to operator panels and touch
screens on these types of products.

you save new settings or restore the factory defaults by using one of
the SCSxxxx Defaults options under MENU/Menus > Option Card
information. Note that in most cases, only technical specialists need
Changes to the option settings under the SCS/TNe MENU will only
affect the printing of SCS jobs received through a LAN connection.
These changes will not affect SCS jobs received through a Coax or
The SCS/TNe Emulation user default settings remain in effect until
8 Important Configuration Basics: What are “IDB Options”, “IDB events etc.?
All of these descriptions include the available options and their val-
Twinax Adapter for SCS, nor will they affect IPDS, PostScript™ or
On many of the descriptions you may notice the use of terms like
IDB events, IDB options, IDB values, IDB User Parameters, IDB
Menu > SCS/TNe MENU > TNxxxE STEUP > TEST OPTIONS.
Language, etc. Refer to “IDB Basics” on page 248 for additional
xxxx stands for 3270 or 5250.
to understand and use IDBs.
PCL™ jobs.
ues.
Options”, “IDB
events etc.?
Setup Options
vs. Printer Setup
Options
Setup Options

as Paper Menu and Settings, will affect the way PostScript and PCL
This guide discusses setting up the SCS/TNe Emulation and chang-
jobs are printed. Many of these printer settings will also affect SCS/
Changes to printer settings under the various printer menus, such
Settings you choose in the SCS print job may override the user
default settings displayed in the printer operator panel.
ing the SCS/TNe Emulation settings.
TNe jobs.
Restoring the factory defaults using the printer
menu Restore Default option does not affect
the SCS/TNe MENU settings.
Printer Setup Options

illustrating how how the control panel works. Printers and MFPs dif-
fer, so both operator panels on printers and touch screens on MFPs
If you are familiar with the use of the control panel, skip this chapter,
Detailed, specialized listings and descriptions of option settings are
“Remote Configuration Using a Browser” on page 24 before pro-
Descriptions of how to carry out installation setups are found in:
“Installation Setup for AS/400 and iSeries Users” on page 55 ff.
but we recommend familiarizing yourself with the contents of
All descriptions include the available options and their values.
“Operations Reference - TN3270E SETUP” on page 85 and
“Installation Setup for Mainframe Users” on page 28 ff. and
“Operations Reference - TN5250E SETUP” on page 155.
ceeding with installation setups.
are illustrated here.
found in:

menu 1 From a Ready status, press the MENU button . on the
The same method is used to scroll through lists of menu groups and
options. As you move through the menus, the top line in the screen
shows the menu or menu group name to which the displayed items
operator panel. This opens the menu index in the operator
checkmark moves to indicate the choice that will be
4 When the on-screen checkmark is displayed next to the
through the main menus displayed on the screen.
Option Card Menu, press the Select button .
ator panel SCS/TNe MENU. To reach the menu:
screen checkmark is displayed next to it.
active when you select it.
panel’s screen.
belong.

through the list of values presented. Numerical entries can be done
Value as a Setting” on page 12 shows all details, while the following
you need and press the Select button. Navigate in the same
store new values are shown below. The section “Selecting a New
User-selected default settings remain in effect until you save new
Several examples of how to use the operator panel to select and
settings or restore the factory defaults. All saved options become
When you select an option, you will always be alowed to scroll
way to the desired value and press the Select button.
either by scrolling or by using the numeric pad.
two sections discuss slight differences.
desired menu and press Select.
operator panel” on page 11.
active on the next host session.
Selecting a New Value as a
Setting

1 Navigate to TN3270E SETUP. Press the Select button.
2 Navigate to SCS OPTIONS. Press the Select button.
TN3270E SETUP
TN5250E SETUP
TEST OPTIONS
SCS OPTIONS
SCS/TNe MENU
TN 3270 SETUP
NETWORK
TN3270.

3 Navigate to MISC SETTINGS. Press the Select button.
TEST OPTIONS
MISC SETTINGS
SCS OPTIONS
button.

down through the list. When the on-screen checkmark is next
example English (US). The currently active setting is marked
with an asterisk *, and in this example, it just happens to be
example to Fin/Swe, use the navigation buttons to move
factory default. If you want to change the setting, for
to the desired setting. press the Select button
Submitting Selection.
English (US) · Fin/Swe (alt) · Fin/Swe

If you want to check the value of a setting, press the Select button
return to the Ready screen. You may need to press it several
menu group - such as MISC SETTINGS, scroll through the
again. You will see an asterisk * beside Fin/Swe to show it is the
Press the Back button in order to leave the screen without
list. To reach another menu group, press the Back button
7 When the setting is saved, the display will revert to the
and then use the navigation buttons and press Select.
times until the screen appears.
previous menu level.
current active setting.
changing the setting.
Skip Blank Page · Format Ctrl Sup · Country Code

grammed lists. What is special is that the value you select consists
For example, if you select MENU > Option Card Menu > SCS/TNe
Changing a Text String The method for changing a text string is actually the same as that
The currently editable character is marked with above it and
To store the new string, press Select after entering all the charac-
for selecting a value, because you select the letters from pre-pro-
Use the navigation buttons and to move between the
> MSGQ 1 Name, you see the following display:
MSGQ 1 Name
of several fields.
below it.
characters.
ters.

If you choose a menu item that has a numerical value, you can usu-
ally choose between scrolling just as you would to select any value,
If the setting has more than one field, navigate as shown in “Chang-
ing a Text String” on page 17.
or using the numerical pad.
Setting

options. As you move through the menus, the top line in the screen
shows the navigation path, so that you can always see the name of
the group (menu or option) to which the displayed items (options or
When you select an option, you will either scroll through the list of
5 Now you will see a list of options. Touch SCS/TNe MENU.
menu 1 Make sure that the printer is on and the Ready message
The same method is used to scroll through lists of menus and
page 20), enter a number (“Changing a Numerical Setting” on
values presented (“Selecting a New Value as a Setting” on
page 22), or enter a text string (“Changing a Text String” on
ator panel SCS/TNe MENU. To reach the menu:
displayed on the screen.
4 Touch Option Card Menu.
settings) belong.
appears.
page 21).

Value as a Setting” on page 20 shows all details, while the following
3 Now you will see a list of menus. Touch or to scroll
4 Now you will see a list of menus. Touch or to scroll
5 Now you will see a list of menus. Touch or to scroll
store new values are shown below. The section “Selecting a New
User-selected default settings remain in effect until you save new
to the desired item. In this example locate and touch MISC
Several examples of how to use the operator panel to select and
settings or restore the factory defaults. All saved options become
to the desired item. In this example locate and touch SCS
to the desired item. In this example locate and touch
2 For this example, touch SCS/TNe MENU.
two sections discuss slight differences.
active on the next host session.
Screen” on page 19.
TN3270E SETUP.
SETTINGS.
OPTIONS.
Setting

7 The currently active setting, in this example English (US) , is
always presented first. Touch or to scroll through
2 Touch the Keyboard symbol by LU Name . A keyboard
(Back) and no changes will be saved.
to the desired item. In this example locate and touch
TN3270e Setup > Network Setup > Server Info.
the settings until you see the item you need.
option without making changes, touch
8 Touch (Submit) to save changes.
similar to a typwriter keyboard is displayed.
will be displayed.
Country Code.
Changing a Text String Here is an example.

3 Select the "abc 123" tab above the keyboard. If you select
any other tab, the LU Name will not be recognized by the
Touch to decrease the value or to increase the value.
completed the name. The screen returns to the previous
When the setting is saved, the screen will return to the previous

Touch (Submit) to save the desired value.
6 Touch (Submit) to save changes.
4 Use the Keyboard to enter the LU Name.
Alive Time, you will see the following on screen
menu level.
host.
menu level.
:
Setting

Some numerical values contain more than one field. For example,
Server Info > IP Address. For these, use the Keyboard as
described in “Changing a Text String” on page 21.

desired and select Submit.This sends the new option value settings
requirement is that the printers are attached to a LAN using a Stan-
Remote configuration is especially useful during printer installation
can be made on each printer, either from a browser or via the oper-
All option values which may be changed remotely will be displayed
Netscape, to remotely configure most SCS/TNe settings. The only
your system administrator. At a later time, any necessary changes
Introduction The Card for IPDS and SCS/TNe includes an http user interface.
to set all of the SCS/TNe options to the values recommended by
in the browser interface. Simply change the option value settings
You can use a browser, such as Microsoft Internet Explorer or
dard Network port or MarkNet internal print server.
to the printer.
ator panel.
Configuration
Works
printer in this manual refers to both printers and
MFPs.

option value settings are submitted during an SCS/TNe session, the
new option value settings will not be used until the current SCS/TNe
7 Check to be sure that all sessions have been disconnected.
25 Remote Configuration Using A Browser: How to Use the Browser Interface
1 Access the printer web page by typing the IP address of its
These new option value settings are saved in the printer and will
become active when the next SCS/TNe session is started. If new
Click on each TNxxxx Connection Status menu item to
To access and change SCS/TNe option settings through your
session ends and a new SCS/TNe session is established.
6 The browser display returns to SCS/TNe Settings.
check the status of each session.
next to the Disconnect Ses item.
3 Select SCS/TNE Settings.
print server as the URL.
2 Select Settings.
browser:
Browser
Interface

If a session has not been disconnected, check to see if jobs
are being received on this session. Wait for the jobs to finish
values are saved in the printer and will become active when
15 Reset all sessions by clicking on the Execute button next to the Reset TN Sess item.
26 Remote Configuration Using A Browser: How to Use the Browser Interface
printing, you may need to end and reset the session at the
11 Select the Submit button at the bottom of the page. The Submit button sends the new values to the printer. These
10 All option values which may be changed remotely will be displayed. Change option settings as desired.
12 The browser will then display a confirmation that settings have been submitted.
13 Repeat with the other TN3270E or TN5250E menus as desired.
printing or end the session from the host. If no jobs are
9 Select one of the TN3270E or TN5250E menus.
14 Select the TNe Common menu.
8 Return to SCS/TNe Settings.
the next session is started.
host.

16 The SCS/TNe emulation will attempt to reconnect to the host.
If all configured sessions have not been established within 90
of the page, next to the Submit button. If you have entered values in
Reset Form. The page will then display the values that were current
seconds, you may need to end and reset the sessions at the
On each TN menu, you will see a Reset Form button at the bottom
the page without submitting, and decide to start all over again, click
27 Remote Configuration Using A Browser: How to Use the Browser Interface
17 Check to be sure that all sessions have been reconnected. Click on each TNxxxx Connection Status menu item to
check the status of each session.
when you opened the particular TN page.
host and repeat steps 14 - 16.

frame. Tasks numbered #B are unique for printing via a SNA Server.
Before beginning the installation tasks, it is recommended that you
ware as well as the latest SCS/TNe publications and Card for IPDS
directly or via an SNA Server. (AS/400 and iSeries users refer to
obtain the latest version of the MarkNet internal print server firm-
Task 1A - Configuring the Host Task 1B - Configuring the Host for Printing via a SNA Server
Tasks numbered #A are unique for printing directly from a Main-
and SCS/TNe code from the internet sites listed in “Support” on
Printing Task 2B - Configuring an SNA Server For TN3270e Printing
“Installation Setup for AS/400 and iSeries Users” on page 55.)
Task 5 - Configuring the SCS/TNe Emulation Task 5 - Configuring the SCS/TNe Emulation
Task 4 - Configuring the SCS Settings Task 4 - Configuring the SCS Settings
Task 3 -Configuring a Print Server Task 3 -Configuring a Print Server
Mainframe Direct Users SNA Server Users
page 4.
Task 2A - Configuring a Host For TN3270e
Tasks may be completed in any order but all tasks
must be completed to begin printing.

Task 6A - Verifying the Mainframe Connection Task 6B - Verifying the Mainframe/SNA Server Connection
Mainframe Direct Users SNA Server Users

The Mainframe software must support TCP/IP and extended Telnet
Software” on page 279 lists versions which support these protocols.
The printer with the SCS/TNe Emulation is defined to the host like a
protocols to print SCS jobs to a LAN attached printer. “Mainframe
normal LU-1 (SCS) printer. Three sample configurations follow.
G14SD4 GROUP LNCTL=SDLC,TYPE=NCP,OWNER=PCCU1,
OWNER=PCCU1,TYPE=NCP,CALL=IN,ANSWER=ON
TRANSFR=20, DUPLEX=FULL,NEWSYNC=NO,
CLOCKNG=EXT, NPACOLL=YES, LSPRI=NO,
Remote Device - Line definition In VTAM NCP
P1453500PU PUTYPE=(1,2), NPACOLL=YES
NRZI=NO,REPLYTO=2, DIAL=YES
*CU= NR=1 ACT=13 TRM=YES
Sample Configuration number 1:
*SDLC SWLINE GROUP
* LNACC=SDLC
Task 1A -
Configuring the
Host
How to define an LU-1 printer in VTAM is
described in IBM's VTAM documentation.
*¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤ · *¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤ · S14535 LINE ADDRESS=(2535,Half),SPEED=9600,

PASSLIM=7,PUTYPE=2,DISCNT=NO,VPACING=0
PACING=(1,1),IDBLK=O61,SSCPFM=USSSCS,
PSWPG9 PU ADDR=C9,MAXDATA=1033,MAXOUT=7,
DLOGMOD=T3274M2,ISTATUS=ACTIVE
LCPG91 LU LOACADDR=3,MODETAB=MTP3816,
DLOGMOD=SCS1,ISTATUS=ACTIVE
LCPG92 LU LOACADDR=4,MODETAB=MTP3816,
DLOGMOD=SCS1,ISTATUS=ACTIVE
LCPG93 LU LOACADDR=5,MODETAB=MTPRINT,
DLOGMOD=SCS,ISTATUS=ACTIVE
Sample Configuration number 2:
VBUILD TYPE=SWNET
PU/LU definitions in VTAM

First create a major node in VTAM to define the VTAM LU's (printer
SC0TCP01 is a terminal device, and is not needed for printer
NOTE: IMLU1; DHW3270; and EJ3270; are the printer devices.
MODETAB=MODETAB2,SESSLIM=YES,DLOGMOD=SCS
MODETAB=MODETAB2,SESSLIM=YES,DLOGMOD=SCS
IMLU1 APPL AUTH=NVPACE,EAS=1,PARSESS=NO,
DHW3270 APPL AUTH=NVPACE,EAS=1,PARSESS=NO,
EJ3270 APPL AUTH=NVPACE,EAS=1,PARSESS=NO,
or terminal devices) for telnet sessions as follows:
Sample Configuration Number 3:
SC0TCP01APPL AUTH=NVPACE,
MODETAB=ISTINCLM,
definitions in this node.
PARSESS=NO,
SESSLIM=YES
EAS=1,

Second, define the VTAM printer member (i.e. IMLU1 listed above)
The asterisk (*) denotes fields that are not required, and therefore
The following is an example of a TN printer definition defined in
to the host print software being used.
have been commented out.
*ALOGMODE=VPSCOL,
VPS print software:
DEST=VPSIMLU1,
QBUFSIZE=23476
LUNAME=IMLU1,
*SEPINFO=HPL

The printer with the SCS/TNe Emulation is defined to the host like a
G14SD4 GROUP LNCTL=SDLC,TYPE=NCP,OWNER=PCCU1,
OWNER=PCCU1,TYPE=NCP,CALL=IN,ANSWER=ON
TRANSFR=20, DUPLEX=FULL,NEWSYNC=NO,
CLOCKNG=EXT, NPACOLL=YES, LSPRI=NO,
Remote Device - Line definition In VTAM NCP
Two sample configurations are shown below.
NRZI=NO,REPLYTO=2, DIAL=YES
*CU= NR=1 ACT=13 TRM=YES
described in IBM's VTAM documentation. Sample Configuration number 1
normal LU-1 (SCS) printer.
* LNACC=SDLC
Task 1B -
Configuring the
Host for Printing
via a SNA Server
How to define an LU-1 printer in VTAM is
*¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤ · *¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤ · S14535 LINE ADDRESS=(2535,Half),SPEED=9600,

PASSLIM=7,PUTYPE=2,DISCNT=NO,VPACING=0
PACING=(1,1),IDBLK=O61,SSCPFM=USSSCS,
PSWPG9 PU ADDR=C9,MAXDATA=1033,MAXOUT=7,
DLOGMOD=T3274M2,ISTATUS=ACTIVE
LCPG91 LU LOACADDR=3,MODETAB=MTP3816,
DLOGMOD=SCS1,ISTATUS=ACTIVE
LCPG92 LU LOACADDR=4,MODETAB=MTP3816,
DLOGMOD=SCS1,ISTATUS=ACTIVE
LCPG93 LU LOACADDR=5,MODETAB=MTPRINT,
DLOGMOD=SCS,ISTATUS=ACTIVE
Sample Configuration number 2
VBUILD TYPE=SWNET
- PU/LU definitions in VTAM

Instead of the LUGROUP and LUMAP commands, the PRTGROUP and
It is important to observe the one-to-one mapping of display LUs to
printer LUs. This means that a single display LU is mapped to a sin-
The example below shows how the VTAM section of the TCP/IP
The printer with the SCS/TNe Emulation is defined to the Telnet
gle printer LU or a display LU group is mapped to a printer LU
group. Each group must have the same number of LUs.
server in much the same way as a display LU.
PROFILE data-set can be defined.
PRTMAP commands are used.
Configuring a
Host For
TN3270e
Printing
V2R5, TCP/IP Implementation Guide, Volume 1:
Refer to your system documentation for further
Refer also to IBM books such as the IBM book
OS/390 eNetwork Communications Server
(document no. SG24-5227-00).
details.
Configuration and Routing

; mapping and printer to LU
add multiple IP addresses to the IPGROUP and map the
RA3ATPR1..RA3ATPR5 ; printers for specific
LUMAP SPECLX SPECIP SPECIFIC PRINTERS; specials
RA3ATPR6..RA3ATPR9 ; generic printers
PRTGROUP PRINTERS
PRTGROUP PRINTERS
IPGROUP SPECIP
157.184.116.36
ENDPRTGROUP
ENDIPGROUP
BEGINVTAM
ENDVTAM

printer group to the IP group as shown above (PRTMAP
(where PRT1 = printer and xxx = printer IP address)
address using PRTMAP statement as follows:
PRTMAP PRT1 xxx.xxx.xxx.xxx
PRINTERG SPECIP).

The procedure in this section shows how to set up a Microsoft SNA
However, the parameters that are configured should be easy to rec-
In the procedure below it is assumed that Microsoft SNA Server 3.0
A number of different vendors provide SNA gateways and routers.
Server. It does therefore not apply to all SNA gateways or routers.
Manager is running and that a connection has been selected.

3270 LU Properties box.
ognize.
Configuring an
SNA Server For
TN3270e
Printing
The TN3270e components have to be installed in
order to be able to configure the LU printer
connection on the SNA gateway or router.

Number, ask your system administrator. Finish by pressing
2 Fill in the LU Number and the LU Name. The LU Number
Choose Assign To > TN3270 Service on > Name-of-SNA-
Server to assign the connection to the SNA server. Right-
must match that on the host. If you do not know the LU
3 Right-click the connection created in the previous step.
click the new connection again and choose Properties.

5 Click the |OK| button to finish.
3287-1 terminal name.
the |OK| button.

SCS/TNe Emulation printing requires a MarkNet internal print server
settings page for the internal print server in slot #, where # is a
3 Scroll until one or more of the following appears. If none of
these appear, then you do not have a Standard Network or
a If Network Setup Page appears, touch it. This prints the
b If Network # Setup Page appears, touch it. This prints a
number representing the slot in which the print server is
Standard Network Card menu settings page.
or a Standard Network port on the printer.
1 From a Ready state touch Menus.
internal print server installed.
2 Touch Reports.
installed.
Configuring a
Print Server
The SCS/TNe Emulation can only receive jobs
selected print server or inserting a new print
through a single printer server. Moving the
server may cause a loss of SCS/TNe print
capability.

To enable SCS printing, several print server settings may need to be
example Standard Network. Locate NPA Mode and scroll to
ensure that the printer’s LAN connection will detect the Card.
changed. You can make these changes from the printer operator
1 Set NPA Mode to Auto. Select Menus > Network/Ports.
the Auto setting. Touch Submit to save. This setting will
Select the print server to be used for SCS printing, for
panel.

Network. Select Standard Network > Std Network Setup >
Select Menus > Network/Ports > Standard Network > Std
sponds to “disabled”. Other settings may cause
communication problems. A setting of "0" allows
the host or SNA server timeout values to control
when print jobs from another protocol, interface,
servers. Select Menus > Network/Ports. Select the print
server to be used for SCS printing, for example Standard
Network Card > Job Timeout. Scroll down to 0. Touch
3 Set the TCP/IP option values shown in the table below.
Network Setup > TCP/IP. You will need to contact your
Timeout 0 This is the recommended setting and corre-
2 Set the Job Timeout. This timeout is used by all print
network administrator for several of the values.
server, or host can be started.
Submit to save.
Option Value Description · Network Job

Netmask Netmask for your network. Contact your network
Gateway Address of the IP gateway. Contact your network
Enable Auto IP On or Off Default is On. This is the recommended setting
Off, if you set the IP address another way.
Off, if you set the IP address another way.
Off, if you set the IP address another way.
Address Address available from your network
Enable BOOTP On or Off On, if you use a BOOTP server.
Enable DHCP On or Off On, if you use a DHCP server.
Enable RARP On or Off On, if you use a RARP server.
Address Address of your WINS Server
Address Address of your DNS Server
administrator.
administrator.
administrator.
TCP/IP Option Value Description
WINS Server · DNS Server

Several SCS option values may need to be changed to properly for-
mat and print SCS jobs that do not contain formatting commands in
the job. The following three settings are usually the most important,
TN3270E SETUP > TEST OPTIONS > SCS3270 Defaults.
2 Scroll to the desired value. Touch Submit to save one of the
defaults Choose between Do Not Restore *,
US-Default, or Non-US-Default
Factory defaults are US. To change or restore:
3 Exit the menu by touching Home.
but there are many other possibilities.
TEST OPTIONS Option Default Value Recommended Value Comments
factory defaults.
SCS3270 Defaults Do Not Restore Your preferred
Configuring the
SCS Settings
Refer to Operations Reference - TN3270E
differences in these settings.

TN3270E SETUP > SCS OPTIONS > MISC SETTINGS >
TN3270E SETUP > SCS OPTIONS > MISC SETTINGS >
2 Scroll to Yes. Touch Submit button to save the setting.
3 Exit the menu by pressing touching Home.
Euro Support (IDB Event 191) No Your preference. Enable with Yes.
MISC SETTINGS Option Default Value Recommended Value Comments
MISC SETTINGS Option Default Value Recommended Value Comments
of the factory defaults.
Country Code.
Country Code (IDB Option 2) English (US) Your preferred
Euro Support.
country

SCS jobs are printed from a LAN connected Mainframe using TCP/
you scroll to the next desired option. When you are finished
IP and the telnet extended (TN3270e) protocol. A single TN3270e
TN3270E SETUP > NETWORK SETUP > SERVER INFO.
values and touch Submit to save your settings. The menu
will return to the SERVER INFO menu group within which
with all options within SERVER INFO, touch Home to exit.
print session can be established with a host.
3 Exit the menu by touching Home.
Task 5 -
Configuring the
SCS/TNe
Emulation
TCP/IP and Telnet sessions in an orderly manner.
To power the printer Off properly, select Menus >
Powering the printer Off and On does not end
Option Card Menu > SCS/TNe MENU >
COMMON SETUP > Disconnect Ses >
See: Disconnect Ses, page 80.
Disconnect Ses.

specify the specific IP address or the name of the host which
recommended settings. The option setting values found in
Address Use IP Address Check with your system administrator whether you need to
address In order to make a connection to the mainframe host, an IP
In order to make a connection to the mainframe host, an IP
TN Server Port 23 23 Check with your system administrator to determine whether
If you selected Use IP Address in the Name / IP Address
another TCP port number is defined for the Telnet service.
the table are described in section “NETWORK SETUP>
If you selected Use Hostname in the Name / IP Address
(This option is not used if you selected Use IP Address.)
The table below shows the factory default settings and
(This option is not used if you selected Use Hostname).
SERVER INFO Menu: Options Overview” on page 95.
address must be entered or a hostname defined.
address must be entered or a hostname defined.
option, enter the appropriate IP Address here.
option, enter the appropriate hostname here.
the printer will contact to receive SCS jobs.
Option Default Value Recommended Value Comments
IP Address 0.0.0.0 The TNe Server’s IP
up on a DNS server:
(up to 16 characters)
Hostname [undefined] A hostname to look
Name / IP

3 Set Print Active to Yes. Select Menus > Option Card Menu
setting of this option is unimportant. It is recommended to set it
Keep Alive Time 45 seconds 45 seconds (1-3200 seconds) Set this to a value smaller than the session’s inactivity timeout
KEEPALIVE OPTIONS. It resides in the host IP profile dataset:
Device Type Specific Specific Check with your system administrator for the correct setting.
If the host sends signals to keep the session active, then the
This setting is not used if the Keep Alive Type is set to None.
(up to 10 characters) Check with your system administrator for the correct name.
Please note! Some hosts and servers only recognize upper-
Set this to a signal type recognized by the host. Check with
SETUP > Print Active. Scroll to Yes and touch Submit to
value defined on the host. The host parameter name is
This name must be defined on the host or SNA Server.
> SCS/TNe MENU > TN3270E SETUP > NETWORK
The device type must be defined on the host.
4 Exit the menu by touching Home.
SYS1.TCPPARMS(PROFILE).
your system administrator.
to None (= disabled).
case LU Names.
Option Default Value Recommended Value Comments
save.
LU Name [undefined] Your LU name
Keep Alive Type Telnet NOP Telnet NOP
or None

Session. Scroll to Reset TN Ses and touch Submit. Touch
Wait approximately one minute. If all values are set correctly,
from Print Inactive to another status (there are examples of
Menu > SCS/TNe MENU > COMMON SETUP > Reset TN
and host to communicate and change the Connect Status
this should allow enough time for the SCS/TNe Emulation
Mainframe users should continue with Task 6A.
SNA Server users should continue with Task 6B.
Connect Status messages on page 92.
Home to exit the menus.

Send a job to the printer for which you want to verify the connection.
If the jobs fails to print correctly, the most common problems can be
Status by selecting Menus > Option Card Menu >SCS/TNe
Through the http (browser) user interface: Connect to the
print server by entering the print server address as the URL.
2 Check the print menu page to be sure all option values are
Through the http (browser) user interface: Connect to the
print server by entering the print server address as the URL.
When the print server display appears, click Settings and
When the print server display appears, click Reports and
then SCS/TNe Settings. Choose TN3270E Connection
found through one or more of the following actions:
set as defined by your system administrator.
then Device Setttings.
Status.
Status.
Verifying the
Mainframe
Connection

to see all active LU definitions to verify that the relevant LU
definition is active on the host.
command:
TCP/IP and Telnet sessions in an orderly manner.
To power the printer Off properly, select Menus >
Powering the printer Off and On does not end
Option Card Menu > SCS/TNe MENU >
COMMON SETUP > Disconnect Ses >
See: Disconnect Ses, page 80.
Disconnect Ses.

Send a job to the printer for which you want to verify the connection.
If the jobs fails to print correctly, the most common problems can be
Status by selecting Menus > Option Card Menu > SCS/TNe
Through the http (browser) user interface: Connect to the
print server by entering the print server address as the URL.
2 Check the print menu page to be sure all option values are
When the print server display appears, click Settings and
then SCS/TNe Settings. Select TNTN3270E Connection
found through one or more of the following actions:
set as defined by your system administrator.
Menus > Reports > Menu Settings Page.
Status.
Status.
Verifying the
Mainframe/SNA
Server
Connection

Through the http (browser) user interface: Connect to the
print server by entering the print server address as the URL.
to see all active LU definitions to verify that the relevant LU
When the print server display appears, click Reports and
defined—and activated—as a client on the SNA server.
definition is active on the host.
Consult your SNA manual.
then Device Setttings.
command:
TCP/IP and Telnet sessions in an orderly manner.
To power the printer Off properly, select Menus >
Powering the printer Off and On does not end
Option Card Menu > SCS/TNe MENU >
COMMON SETUP > Disconnect Ses >
See: Disconnect Ses, page 80.
Disconnect Ses.

Before beginning the installation, it is recommended that you obtain
MarkNet internal print server firmware from the internet sites listed
The tasks presented describe how to set up the host and the SCS/
the latest version of the SCS/TNe firmware, Standard Network or
refer to “Installation Setup for Mainframe Users” on page 28.)
TNe Emulation for AS/400 or iSeries printing.
Task 4 - Configuring the SCS/TNe Emulation
Task 5 - Verifying the Host Connection
Task 3 - Configuring the SCS Settings
Task 2 - Configuring a Print Server
Task 1 - Configuring the Host
in “Support” on page 4
AS/400 and iSeries users
Tasks may be completed in any order but all tasks
must be completed to begin printing.

The host operating system must support TCP/IP and extended Tel-
56 AS/400 and iSeries Installation Setup: Task 1 - Configuring the Host
Section “AS/400 and iSeries Software” on page 279 lists host soft-
CHGSYSVAL SYSVAL(QAUTORMT) VALUE('1')
QAUTOCFG Controls the automatic configuration of devices.
QAUTORMT Controls the automatic configuration of remote
net protocols to print SCS jobs to a LAN attached printer.
DSPSYSVAL SYSVAL(QAUTORMT)
ware which supports these protocols.
Sample commands:
Sample commands:
Must be set to '1'
Must be set to '1'
System Value Required Value
controllers.
values.
Configuring the
Host

57 AS/400 and iSeries Installation Setup: Task 1 - Configuring the Host
When these values are properly configured, the host will auto con-
QAUTOVRT Controls the automatic configuration of virtual devices.
figure devices and writers with the information received from the
Must be set to an adequate number of devices
Where ### is the number of devices.
DSPSYSVAL QAUTOVRT
Sample commands:
System Value Required Value
SCS/TNe Emulation.

SCS/TNe emulation printing requires a MarkNet internal print server
settings page for the internal print server in slot #, where # is a
58 AS/400 and iSeries Installation Setup: Task 2 - Configuring a Print Server
3 Scroll until one or more of the following appears. If none of
these appear, then you do not have a Standard Network or
a If Network Setup Page appears, touch it. This prints the
b If Network # Setup Page appears, touch it. This prints a
number representing the slot in which the print server is
Standard Network Card menu settings page.
or a Standard Network port on the printer.
1 From a Ready state touch Menus.
internal print server installed.
2 Touch Reports.
installed.
Configuring a
Print Server

To enable SCS printing, several print server settings may need to be
example Standard Network. Locate NPA Mode and scroll to
ensure that the printer’s LAN connection will detect the Card.
59 AS/400 and iSeries Installation Setup: Task 2 - Configuring a Print Server
changed. You can make these changes from the printer operator
the Auto setting. Touch Submit to save. This setting will
Select the print server to be used for SCS printing, for
panel.
new print server may cause a loss of SCS/TNe
Moving the selected print server or inserting a
receive jobs through a single printer server.
print capability.

Network. Select Standard Network > Std Network Setup >
Select Menus > Network/Ports > Standard Network > Std
network administrator for several of the values. You will need
60 AS/400 and iSeries Installation Setup: Task 2 - Configuring a Print Server
another protocol, interface, server, or host can be
communication problems. A setting of "0" allows
servers. Select Menus > Network/Ports. Select the print
server to be used for SCS printing, for example Standard
sponds to "disabled". Other settings may cause
Network Card > Job Timeout. Scroll down to 0. Touch
timeout values to control when print jobs from
3 Set the TCP/IP option values shown in the table below.
Network Setup > TCP/IP. You will need to contact your
the host SNA server, or SCS/TNe emulation
to contact your network administrator for several of the
2 Set the Job Timeout. This timeout is used by all print
"0" This is the recommended setting and corre-
started.
Submit to save.
values.

Netmask Netmask for your network. Contact your network
Gateway Address of the IP gateway. Contact your network
61 AS/400 and iSeries Installation Setup: Task 2 - Configuring a Print Server
Enable Auto IP On or Off Default is On. This is the recommended setting
Off, if you set the IP address another way.
Off, if you set the IP address another way.
Off, if you set the IP address another way.
Address Address available from your network
Enable BOOTP On or Off On, if you use a BOOTP server.
Enable DHCP On or Off On, if you use a DHCP server.
Enable RARP On or Off On, if you use a RARP server.
Address Address of your WINS Server
Address Address of your DNS Server
administrator.
administrator.
administrator.
TCP/IP Option Value Description
WINS Server · DNS Server

Several SCS option values may need to be changed to properly for-
mat and print SCS jobs which do not contain formatting commands
The SCS/TNe Emulation comes with European (A4 paper size) fac-
The following five settings are usually the most important, but there
62 AS/400 and iSeries Installation Setup: Task 3 - Configuring the SCS Settings
>TN5250E SETUP > SCS OPTIONS > MISC SETTINGS >
Country Code. Scroll to your preferred country and touch
A. To select settings for your specific country
Option Default Value Recommended Value Comments
are many other possibilities.
Country Code (IDB Option 2) International Your preferred
tory default settings.
Submit.
in the job.
Configuring the
SCS Settings
One set of TN5250e SCS OPTIONS menu values
is saved. All four TN5250e connections use the
same set of SCS OPTIONS values.
country code

63 AS/400 and iSeries Installation Setup: Task 3 - Configuring the SCS Settings
Recommended values for users
your preferred code page and touch Submit to save it.
to the desired Number and touch Submit to save it.
5 Exit the MISC SETTINGS menu by touching Home.
Option Default Value Recommended Value Comments
Option Default Value Recommended Value Comments
Codepage (IDB Options 240 and 241) Multi 500 Your preferred code
Lines Per Page (IDB Option 107) 68 (for A4) 64 (for Letter).
82 (for Legal).
in the USA · page

>TN5250E SETUP > SCS OPTIONS > PAPER SETTINGS >
Page Length. Scroll to the desired value and touch Submit
64 AS/400 and iSeries Installation Setup: Task 3 - Configuring the SCS Settings
Recommended values for users in
Recommended value for users in
8 Exit the PAPER SETTINGS menu by touching Back.
the desired value and touch Submit to save it.
Option Default Value Recommended Value Comments
Option Default Value Recommended Value Comments
9 Change other settings as desired.
10 Exit the menu by touching Home.
Page Length (IDB Opt. 82 & 83) 16848 (for A4) 15840 (for Letter).
Page Width (IDB Opt.84 & 85) 11908 (for A4) 12240 (for Letter).
20160 (for Legal).
(same for Legal).
to save it.
the USA · the USA

65 AS/400 and iSeries Installation Setup: Task 3 - Configuring the SCS Settings
TN5250E SETUP > SCS OPTIONS > Euro Support.
2 Scroll to Yes. Touch Submit to save the setting.
Option Default Value Recommended Value Comments
3 Exit the menu by by touching Home.
Euro Support (IDB Option 139) No

and touch Submit to save your settings. The menu will return
SCS jobs are printed from a LAN connected AS/400 or iSeries host
66 AS/400 and iSeries Installation Setup: Task 4 - Configuring the SCS/TNe Emulation
to the SERVER # INFO menu group within which you scroll
using TCP/IP and the telnet extended (TN5250e) protocol. Up to
four TN5250e print sessions can be established with a single or
to the next desired option. When you are finished with all
options within SERVER # INFO, touch Home to exit.
CONNECTION #3, or CONNECTION #4
4 Configure the SERVER # INFO options.
3 Select SERVER # INFO.
TN5250E SETUP.
multiple hosts.
Configuring the
SCS/TNe
Emulation
TCP/IP and Telnet sessions in an orderly manner.
To power the printer Off properly, select Menus >
Powering the printer Off and On does not end
COMMON SETUP > Disconnect Ses >
Option Card Menu > SCS/TNe MENU >
See: Disconnect Ses, page 80.
Disconnect Ses.

section “CONNECTION # > SERVER # INFO Menu: Options
to specify the specific IP address or the name of the host
If you selected Use IP# Address in the Name / IPaddress
If you selected Use Hostname # in the Name / IPaddress
67 AS/400 and iSeries Installation Setup: Task 4 - Configuring the SCS/TNe Emulation
You will need to check with your system administrator. The
Address Check with your system administrator whether you need
address In order to make a connection to the host, an IP address
In order to make a connection to the host, an IP address
Server # TN Port 23 23 Check with your system administrator. Another TCP port
option setting values found in the table are described in
which the printer will contact to receive SCS jobs.
# option, enter the appropriate IP Address here.
# option, enter the appropriate hostname here.
number may be defined for the Telnet service.
must be entered or a hostname defined.
(This option is not used if you selected
must be entered or a hostname defined.
(This option is not used if you selected
Overview” on page 165.
Use IP# Address.)
Use Hostname #.)
Option Default Value Recommended Value Comments
(up to 16 characters)
Hostname # [undefined] Host name on DNS
IP # Address 0.0.0.0 The host’s IP
Name / IPaddress # Use IP#
server

Leave this at the factory default if the host is configured to
are reported. This name must already exist on the host. It
Specifies the library of the message queue name set with
the MSGQ # Name option. This library must already exist
68 AS/400 and iSeries Installation Setup: Task 4 - Configuring the SCS/TNe Emulation
will not be auto configured. Contact your system adminis-
system administrator if you do not know the library name.
IR # Reply Normal Normal Leave this option at its default value to have printer inter-
(up to 10 characters) The host will autoconfigure a device and writer with this
Specifies the message queue name to which IR replies
set this value to a value smaller than the INACTTIMO
on the host It will not be auto configured. Contact your
(1-3200 seconds) This setting is not used if the Keep Alive Type option
trator if you do not know the message queue name.
Choose a different setting to have the SCS/TNe
If you have chosen to enable a Keep Alive Type
vention required conditions reported to the host.
Emulation send a keep alive signal.
value is set to None (= disabled).
name if it does not exist.
send a keep alive signal.
defined on the host.
Option Default Value Recommended Value Comments
Keep Alive Time 45 seconds Your own preference
(up to 10 characters)
queue name (up to
MSGQ # Lib *LIBL The library name of
Device # Name [undefined] Your device name
MSGQ # Name QSYSOPR Your preferred
Keep Alive Type None None
the message queue · or own preference · 10 characters)

Session. Scroll to Reset TN Ses and touch Submit. Touch
69 AS/400 and iSeries Installation Setup: Task 4 - Configuring the SCS/TNe Emulation
writer ends before sending an SCS job to the printer, the
Menu > SCS/TNe MENU > COMMON SETUP > Reset TN
TN5250e emulation, it will begin session negotiation to
TN5250e emulation will not be able to sense the writer
6 Set Print # Active to Yes for each connection you wish to
activate. Select Menus > Option Card Menu > SCS/TNe
The TN5250e emulation can only sense the writer has
ended after the first SCS job has started to print. If the
MENU > TN5250E SETUP > CONNECTION # > Print #
Enable this option to allow the TN5250e emulation to
automatically sense if the host has ended the writer
unexpectedly. When a writer end is sensed by the
Active. Scroll to Yes and touch Submit to save.
7 Exit the menu by touching Home.
Home to exit the menus.
restart the writer.
Option Default Value Recommended Value Comments
has ended.
Auto Sense # END No Yes - but only if the
host ends the writer
middle of a job.
unexpectedly in the

Wait approximately one minute. If all values are set correctly,
and host to communicate and change the Connect # Status
from Print Inactive to another status (there are examples of
70 AS/400 and iSeries Installation Setup: Task 4 - Configuring the SCS/TNe Emulation
this should allow enough time for the SCS/TNe Emulation
Connect # Status messages on page 92.

Send a job to the printer for which you want to verify the connection.
If the jobs fails to print correctly, the most common problems can be
Status by selecting Menus > Option Card Menu > SCS/TNe
Through the http (browser) user interface: Connect to the
print server by entering the print server address as the URL.
2 Check the print menu page to be sure all option values are
71 AS/400 and iSeries Installation Setup: Task 5 - Verifying the Host Connection
When the print server display appears, click Settings and
then SCS/TNe Settings. Choose TN5250E Connections
1 Check the TN5250E Connection Status (see page 162).
found through one or more of the following actions:
set as defined by your system administrator.
Menus > Reports > Menu Settings Page.
Connect # Status.
Status.
Verifying the
Host Connection

Through the http (browser) user interface: Connect to the
print server by entering the print server address as the URL.
72 AS/400 and iSeries Installation Setup: Task 5 - Verifying the Host Connection
When the print server display appears, click Reports and
Configuring the Host” on page 56.
then Device Setttings.
TCP/IP and Telnet sessions in an orderly manner.
To power the printer Off properly, select Menus >
Powering the printer Off and On does not end
Option Card Menu > SCS/TNe MENU >
COMMON SETUP > Disconnect Ses >
See: Disconnect Ses, page 80.
Disconnect Ses.

Cancel Job only displays when the printer or MFP is processing a
Selecting a specific job to cancel is difficult when several small jobs
are queued to print from the host. The job being printed may not be
The procedures for cancelling a job differ for printers and MFPs, as
remove the job from its queue after all data has been sent to the
All job data received after the cancel is discarded. The host will
Job SCS jobs may be canceled at the printer or MFP.
data received from the host.
the job which is canceled.
SCS/TNe Emulation.
shown below.
print job.

Job 1 Press the Select button on the operator panel while your job
There may be only one Print Job shown, as in the example
screen checkmark is beside the job you want to cancel.
To continue printing without canceling the job, press the



Back button.
message.
below.
is printing

automatically return to its normal state, which will be BUSY if

it is in the process of printing other jobs.

4 The screen will display a message to indicate that the job is
2 In the "Print" column, select the job you want to cancel by
MFP Cancel Job 1 While any job is printing, the Cancel Job icon will be
displayed on the printer panel. Touch the icon.
5 The screen will return to the Home display.
3 Touch the Delete Selected Job icon.
touching the print job icon.
being deleted.

From a Ready status, touch Menus. Locate and touch the Option
This section describes the COMMON SETUP menu structure and
Card Menu. Locate and touch SCS/TNe Menu. Locate and touch
There are four options in the COMMON SETUP menu structure:
SETUP TN3270E
SCS/TNe
MENU
SETUP COMMON
options for the SCS/TNe Emulation
divided into three branches.
COMMON SETUP.

Menu Settings Page You will always be able to see the selected value for each option on
address as the URL. When the print server display appears,
In the following reference tables, an asterisk (*) indicates the default
Connect to the print server by entering the print server
Select Menus > Reports > Menu Settings Page.
click Reports and choose Device Settings.
the Menu Settings page.
factory value.

A description of the COMMON SETUP menu items follows.
PAR Std. Output, PAR Slot# Output,
USB Std. Output, USB Slot# Output
Disconnect Ses Do Not Disconn., Disconnect Ses.
Reset TN Session Do Not Reset, Reset TN Ses.
Reset ALL Def Do Not Reset, Reset All
SCS Debug Trace Disable *,
Overview.
Option name Values

The SCS/TNe Emulation will attempt to reconnect when the printer
is powered Off and On or when a Reset TN Ses. is performed. See
Do Not Disconn. Do not disconnect any sessions. This performs the
must be performed before the SCS/TNe Emulation
A Disconnect Ses. should be performed before powering Off the
Disconnect Ses. Disconnect ALL active TNe sessions. The printer
must be powered Off and On or a Reset TN Ses.
Disconnect Ses This option disconnects all active TNe sessions on TCP/IP level.
same action as if Back had been pressed in the
will attempt to contact the host.
the Reset TN Session option below.
operator panel.
Operator panel text Comments
printer.

This option disconnects ALL active TNe sessions on TCP/IP level,
action as if Back had been pressed in the operator
whenever changes have been made to the Network or Server Info
Do Not Reset Do not reset any settings. This performs the same
restarts the SCS/TNe emulation and reconnects. Use this option
Reset TN Ses. Disconnect ALL active TNe sessions on TCP/IP
settings to disconnect and reconnect using the new settings.
level, restart, and reconnect.
Operator panel text Comments
panel.
Session
TCP/IP and Telnet sessions in an orderly manner.
To power the printer Off properly, select Menus >
Powering the printer Off and On does not end
Option Card Menu > SCS/TNe MENU >
COMMON SETUP=> Disconnect Ses >
See: Disconnect Ses, page 80.
Disconnect Ses.

be enabled when needed by service personnel for troubleshooting
this option is enabled (&%IDB_PRINT or &%IDB_PRINT_FULL
a TN5250e session, the fonts will be output in the trace data
Because tracing will decrease printing performance, it should only
produced. The trace function also overrides the SCS3270
Download Font (IDB Option 244) option to Disabled when
The trace menu option allows you to enable tracing and choose
performance significantly. It is recommended to set the
command), then the IDB dump is ignored and NOT
before the job is processed. This decreases trace
Hex Dump and SCS5250 Hex Dump options.
where the trace data should be sent.
performing a trace.
and service.
data.
the trace data, the printer will remain Ready and
may not complete establishing a session with the
Unless you have a computer running a capture
program attached to the selected port to receive
host.

USB Std. Out Enable the standard USB port for trace data output.
USB Slot # Out Enable the optional USB port in slot # for trace data
output. # is a number representing the slot in which
NOTE: Only the interfaces installed in the printer will be displayed.
Optional cards may be added to provide additional ports for
data output. # is a number representing the slot in
PAR Slot # Out Enable the optional parallel port in slot # for trace
PAR Std. Out Enable the standard parallel port for trace data
which the optional parallel port card is installed.
the optional USB card is installed.
output of the debug trace data.
Disable * Disable trace.
Operator panel text Comments
output.

Reset ALL Def This option restores ALL SCS/TNe emulation option settings to fac-
Do Not Reset Do not restore any settings. This performs the same
action as if Back had been pressed in the operator
Reset ALL Restore ALL SCS/TNe emulation option settings
Other printer emulation settings (PCL, PS, IPDS,
etc.) are not reset when this option is selected.
to factory defaults. All sessions will be discon-
nected. All TNe sessions will have to be
reconfigured.
Operator panel text Comments
panel.
tory defaults.

From a Ready status, touch Menus. Locate and touch the Option
Card Menu. Locate and touch SCS/TNe Menu. Locate and touch
menu structure and options. Settings under this menu are used
Settings are displayed under the sub-menus accessed from the
SETUP TN3270E
Operations Reference - TN3270E
SCS/TNe
when printing from a Mainframe host.
SETUP COMMON
TN3270E SETUP menu.
TNE3270E SETUP.
SETUP

Tree diagram of the TN3270E SETUP menu structure.


ing from a job, the SCS/TNe Emulation uses the value specified in
Menu Settings page (“How to access the Menu Settings Page” on
ured display the text string "[undefined]" and show "[undefined]" on
Options using values as settings which are set outside their ranges
do not have an asterisk in the operator panel to indicate the current
setting. The Menu Settings page shows the text string "[invalid]" for
stalled. Select one of the currently installed features. Setting options
to values outside the ranges shown in the operator panel is possible
mands found in an SCS job. If one or more SCS settings are miss-
currently active. The current setting for each option is listed on the
Options using text strings as settings which have not been config-
tures which were selected as the option value but have been unin-
The SCS/TNe Emulation has default settings for most SCS com-
the SCS OPTIONS menu for the option. Settings specified in an
An asterisk (*) next to a value setting indicates that the setting is
options set outside their ranges. Invalid will print for installed fea-
SCS job override the SCS/TNe Emulation default settings.
via remote configuration and should be avoided.
the Menu Settings page.
page 78).

An Advanced IDB language command line is shown at the end of
using the Advanced IDB language (cf. “IDB Basics” on page 248
shows how to remotely set the menu option to the factory default
menu options which may be set by remote configuration. This
ff.)

The following table lists menu options found under the NETWORK
The NETWORK SETUP menu is a sub-menu directly under the
SERVER INFO Sub-menu. See NETWORK SETUP> SERVER
Response Messages. Refer to Connect Status
A description of each NETWORK SETUP menu option follows.
(page 92) for a description of each message.
Connect Status Shows Primary Status Messages and Last
TN3270 Defaults Do Not Restore *, Restore Defaults
Name / IP Address (page 96).
Print Active No *, Yes
TN3270E SETUP menu.
SETUP menu.
SETUP Menu:
Options
Overview
Option name Values

No * SCS printing is disabled for this connection. The
printer will attempt to establish a host connection.
Yes SCS printing is enabled for this connection. The
printer will not attempt to establish a host
Emulation for TN3270e communication and printing.
connection.
Option Value Comments

This performs the same action as if Back had been
options to factory default settings. All TN sessions
will be disconnected. All TN sessions will be recon-
Restore Defaults Restore the TN3270e NETWORK SETUP menu
Do Not Restore * Do not restore to factory default settings.
nected except for the TN3270e session.
SETUP factory default settings and resets all sessions.
pressed in the operator panel.
Option Value Comments

response message is appended to the primary status message. The
Normally only the primary status is shown. If problems occur, a last
negotiated with the Telnet server. Refer to the LU Name and Device
Not Configured The IP Address, Hostname, or LU Name in the TN3270E SERVER
1 Print Active = No. Solution: Set to Yes. (Path: Menus > Option Card Menu > SCS/TNe MENU > TN3270E SETUP > NETWORK SETUP).
2 NPA Mode = Off. Solution: Set to Auto. (Path: Menus > Network/Ports > print server to be used for SCS printing > NPA Mode).
complete status message text may not be displayed. Refer to the
Print Inactive * One of the following conditions exists and is preventing a session
ready to receive print jobs. The LU name displayed is the name
Negotiating with TN server The SCS/TNe Emulation has succesfully established a TCP/IP
connection and is negotiating the Telnet device configuration.
host. The option cannot be changed by the user.
3 Cable is not plugged into print server. Plug in cable.
INFO menu has not been configured.
4 Network is down. Check network.
from being estalished.
Type options.
tables below.

TNe MENU > COMMON SETUP > Reset TN Session > Reset TN
Lst Rsp:No support for that device-type The Telnet server does NOT support the device type requested by
the SCS/TNe Emulation. Select another device type with the Device
Lst Rsp:Name unknown to server The LU Name requested by the SCS/TNe Emulation is unknown to
another device. Check the configuration of the host and of the SCS/
Reconnecting session The Telnet session was disconnected. The SCS/TNe Emulation is
Emulation is incompatible with the requested device type. Change
printer Off and On or select Menus > Option Card Menu > SCS/
Trying to connect The SCS/TNe Emulation is contacting the host or SNA Server to
the server or not correctly configured. Check the configuration of
the device name or device type on the host or check the configu-
Lst Rsp:Terminal/Printer name mismatch The device name or resource name requested by the SCS/TNe
Session Disconnected and Halted All active Telnet sessions have been disconnected. Power the
Lst Rsp:The requested device is in use The device requested by the SCS/TNe Emulation is used by
ration of the host and of the SCS/TNe Emulation.
the host and of the SCS/TNe Emulation.
establish a TCP/IP connection.
attempting to reconnect.
Ses. to reconnect.
TNe Emulation.
Type option.

Emulation. It could be a request was made for a specific terminal or
printer which is not in any of the TN server’s pools of device names.
Alternatively, the ASSOCIATE command was used but no partner
Lst Rsp:Error occured An unknown error when processing the device type or name has
Lst Rsp:The server cannot satisfy the request The TN server cannot satisfy the request sent by the SCS/TNe
Lst Rsp:Invalid association The SCS/TNe Emulation used the ASSOCIATE command. The
device type is not a printer or the device name is not a terminal.
request for a specific printer. The device name requested is the
Lst Rsp:The device is a partner to some terminal The SCS/TNe Emulation used the CONNECT command in its
printers are defined to the TN server.
partner to some terminal.
occurred.

SETUP menu. The following table lists menu options found under
IP Address 0.0.0.0 *, IP address of host to contact Hostname [undefined] *, ASCII name with up to 16 characters
TN Server Port 23 *, range: 0 - 65000 LU Name [undefined] *, ASCII name with up to 10 characters
The SERVER INFO menu is a sub-menu under the NETWORK
A description of each SERVER INFO menu option follows.
Address Use IP Address *, Use Hostname
Keep Alive Type Telnet NOP *, None, Timing Mark
Keep Alive Time 45 *, range: 1 - 32000 [seconds]
Device Type Specific *, Associated, Generic
the SERVER INFO menu.
SERVER INFO
NETWORK
SETUP>
SERVER INFO
Menu: Options
Overview
Option name Values · Name / IP

address the SCS/TNe Emulation uses to contact the host or Telnet
Use IP Address * Use the IP address specified with the IP Address
Use Hostname Use the hostname specified with the Hostname
option.
option.
server.
Option Value Comments

IP Address This Network Setup > Server Info option specifies the specific IP
address of the host to be contacted by the SCS/TNe Emulation.
0.0.0.0 * Contact your network administrator for the IP
address to use.
Option Value Comments

[undefined] * Any ASCII text string up to 16 characters. Contact
your system administrator for information on the
to identify the host to be contacted by the SCS/TNe Emulation.
hostname to use.
Option Value Comments

TN Server Port This Network Setup > Server Info option specifies the TCP Telnet
server port defined on the host. Check with your system administra-
according to RFC 1700. The RFC can be found on
If a value other than the default is selected, a value
23 * This is the default port number for Telnet sessions
[0..65000] Any number within this range can be selected.
While a large range of port numbers can be
selected, due to security reasons not all port
between 1024 and 65000 is recommended.
numbers are available on the printer.
tor for the correct Telnet server port to use.
the Internet.
Option Value Comments

Remember also to check the setting of the Device Type option. If a
specific LU name is requested, then the name must be defined and
LU Name This Network Setup > Server Info option specifies the LU name
assigned to the SCS/TNe Emulation on the host or SNA gateway.
After a connection is active, the LU name can be viewed with the
Check with your system administrator for the correct LU name to
[undefined] * Any ASCII text string up to 10 characters.
( “How to access the Menu Settings Page” on page 78).
Connect Status option or on the Menu Settings page
available on the host.
use.
An LU name must be specified in order for the
SCS/TNe Emulation to connect to the host or
SNA gateway.
Option Value Comments

Device Type This Network Setup > Server Info option specifies the device type
the SCS/TNe Emulation. Check with your system administrator for
Generic Request a generic printer. The LU name is received
Associated Request an associated printer which is paired with
for the LU Name requested from the host or the SNA gateway by
Specific * Request a specific LU name. Make sure this has
been defined and is available on the host or SNA
the terminal LU named in the request.
from the pool of LU names.
the correct device type to use.
server.
Option Value Comments

Keep Alive Type This Network Setup > Server Info option specifies the type of keep
sion active. The Keep Alive Time setting determines how often this
None Do not send keep alive signals. When this setting is
alive signal sent to the host or SNA gateway server. This signal is
sent to the host by the SCS/TNe Emulation to keep the Telnet ses-
Check with your system administrator to determine the type of sig-
selected, the host should be configured to send a
receive and respond to a Telnet NOP or a Timing
Timing Mark Send a Telnet timing mark as the keep alive signal.
keep alive signal. The SCS/TNe Emulation can
Telnet NOP * Send a Telnet No Operation as the keep alive
Mark keep alive signal.
signal.
signal is sent.
nal to select.
selected signal type, try changing to another type.
If the Mainframe has difficulty detecting the
Check with your system administrator to
determine the type of signal to select.
Option Value Comments

Keep Alive Time This Network Setup > Server Info option specifies the time in sec-
onds that expires between each keep alive signal sent to the host or
SNA gateway server. The Keep Alive Type setting specifies the type
Set this option to a value smaller than the session’s inactivity time-
KEEPALIVE OPTIONS. It resides in the host IP profile dataset:
This setting is not used if the Keep Alive Type is set to None.
out value defined on the host. The host parameter name is
45 * [1..32000] The range is 1 to 32000 seconds.
SYS1.TCPPARMS(PROFILE).
of signal sent to the host.
Option Value Comments

The following table lists menu options and sub-menus found under
and Left Margin (IDB Option 103)
MISC SETTINGS Sub-menu. See SCS Options >
PAPER SETTINGS Sub-menu. See SCS Options >
Overview (page 106) and FF
Support (IDB Option 5) (page
Options Overview (page 133)
A description of each of the SCS OPTIONS menu item follows.
PAPER SETTINGS Menu:
The SCS OPTIONS menu is a sub-menu directly under the
(page 135).
COR/APO Sett (IDB Option 122) Yes *, No
SCS OPTIONS Option name Values
108).
the SCS OPTIONS menu.
TN3270E SETUP menu.
Menu: Options
Overview

APO automatically controls page orientation. When APO is enabled
(IDB Option 122) This SCS Options option controls whether or not Automatic Print
the SCS/TNe Emulation calculates the print area required for print-
received from the host. If the document does not fit on a page in
ing the document. This is based on page formatting commands
portrait orientation, the orientation is changed to landscape.
&%IDB_EDIT: OPTION 122:2:EXIT
Option Value IDB Value
Orientation (APO) is used.
No 1 · Yes * 2

The following table lists menu options and sub-menus found under
Country Code (IDB Option 2) English (US) *, English (UK), Aus/Ger, Aus/Ger (alt), Belgian,
Swe, Fin/Swe (alt), Fre/Azerty, Ger/Fre (Swiss), International,
Brazilian, Can Bilin, Can French, Dan/Nor, Dan/Nor (alt), Fin/
Non-Print Char (IDB Option 3) ASCII Value 45 *, any single ASCII character in the decimal
Format Ctrl Sup (IDB Option 177) Normal *, No AutoNL, No AutoNL’, No Codes, Normal’, No
Italian, Jap/Eng, Portugal, Portugal (alt), Spanish, Spanish
CSC Characters (IDB Options 8 & 9) &% * (ASCII character 38 [ampersand] and 37 [percent]),
The MISC SETTINGS menu is a sub-menu under the SCS
Speak., Spanish (alt), Spa/Text proc.
CPI (IDB Option 100) 10 CPI *, 12 CPI, 15 CPI, 16.7 CPI
FF Support (IDB Option 5) Always FF *, Always LF, LF & FF
the MISC SETTINGS menu.
Skip Blank Page (IDB Option 32) Do Not Skip *, Skip
Use IR (IDB Option 21) Off *, On
OPTIONS menu.
SCS Options >
MISC SETTINGS
Menu: Options
Overview
Codes’, Normal’’ · Option name Values

PRINT Menu - Options Overview (page 129) and Bold On CR
Form Strings (IDB Option 168) ASCII Value 0 * [Disabled], or any single ASCII character in
BOLD PRINT Sub-menu. See SCS Options> MISC SETTINGS > BOLD
A description of each MISC SETTINGS menu item follows.
LPP (IDB Option 107) 64 *, range: 1 - 255 Transparency (IDB Option 167) Intermate *, Axis, Enable MPI feat
(IDB Option 22 bit 1) (page 130).
IBM Trn Code (IDB Option 169 bit 1) Normal *, No Translation
bit2) Normal *, Without ’&%’
Max Prt Pos (IDB Option 102) 132 *, range: 1 - 255 LPI (IDB Option 105) 6 *, range: 1 - 255 Line Spacing (IDB Option 106) Single *, Double
Euro Support (IDB Event 191) No *, Yes
Leadin Sequence (IDB Option 169
Option name Values

Option 5) This SCS Options > MISC Settings option defines if a form feed
and/or a line feed is generated when the MPL (Maximum Page
Length) or BM (Bottom Margin) is reached in the data stream.
&%IDB_EDIT: OPTION 5:0:EXIT
Option Value IDB Value
Always FF * 0
FF Support (IDB
Always LF 1

(IDB Option 3) This SCS Options > MISC Settings option defines the replacement
character to substitute for an unprintable character found in the data
stream. Refer to “Appendix B - ASCII Character Table” on page 282
for a complete list of printable characters and their values.
&%IDB_EDIT: OPTION 3:45:EXIT
Option Value IDB Value
[0..255] 0 - 255
ASCII Value 45 * 45
ASCII Value

the SCS/TNe Emulation. The CSC is also used in front of the Lead-
in characters defined with option 171 and 172. Last of all the CSC is
also used for passing single hex values to the printer, e.g. &%1B =
The IDB option values are ASCII characters in the decimal range 33
This SCS Options > MISC Settings option defines the Command
Emulation. It must be used every time IDB commands are sent to
- 126. Refer to “Appendix B - ASCII Character Table” on page 282
sequence, which opens the internal IDB editor in the SCS/TNe
String Characters (CSC). The CSC is a unique two-character
for a complete list of characters and their values.
&%IDB_EDIT: OPTION 8:38,37:EXIT
&% * 38 [ampersand (&)]
Option Value IDB Values
.
(IDB Options 8 &
9)
separating the values for the preceding options
Several options are set at the same time in the
IDB command line to the right. This is done by
writing the number of the first option and
with commas.
37 [percent (%)]

The IDB option value is an ASCII character in the decimal range 32
- 126. Refer to “Appendix B - ASCII Character Table” on page 282
(IDB Option 7) This SCS Options > MISC Settings option defines the delimiter
used in the Advanced IDB command language to separate pro-
for a complete list of characters and their values.
&%IDB_EDIT: OPTION 7:58:EXIT
: * 58 [colon (:)]
Option Value IDB Value
gramming commands.

Required (IR) reporting to the host. If the option is enabled, IR sig-
nals are sent when the printer reports a Paper Out, Paper Jam,
Option Value Value Description IDB Value
Off * No IR signals are sent 0
On IR signals are sent 1
&%IDB_EDIT: OPTION 21:0:EXIT
goes Off-line etc.

(IDB Option 177) This SCS Options > MISC Settings option defines the suppression
Normal * 0 Standard handling of control codes
direct print and Local Copy print. It
can be enabled with the -M
command. All host generated codes
No Codes 3 CR, LF, NL and FF codes from the
after Power On. It can be disabled
No AutoNL 1 Is disabled after Power On in Host
No AutoNL’ 2 Is diabled after Power On in Host
direct print. It can be enabled with
host are suppressed and the auto-
other commands which depend on correct
the -M command. All host
NL function is disabled. It can be
suppressed, horizontal/vertical tab and
with the +M command.
generated codes are still sent.
enabled with the -M
page format will not work correctly.
are still sent.
Option Value IDB Value Comments
command.
of control codes after Power On.
![Page 112 of the Lexmark SCTNE- user manual — <CSC> + M [m]:](/cdn/reader/46/46f354d929e908ba3693d9573f2591fd6b05113429319fc5ea2984e5b149e81a/images/page-112.webp?w=400)
After this command the auto-NL function is disabled. All
host generated control codes are still sent to the printer.
Normal’ 4 Standard handling of control codes
command is used, CR, LF, NL and
No Codes’ 5 CR, LF, NL and FF codes from the
Normal’’ 6 Standard handling of control codes
command is used, CR, LF, NL and
suppressed. The auto-NL function
after Power On. If the +M
after Power On. If the +M
host are suppressed. It can be
command. The auto-NL is still
suppressed and the auto-NL
FF codes from the host are
enabled with the -M
FF codes from the host are
function is disabled.
is still enabled.
Option Value IDB Value Comments
enabled.
NOTE: = &% is factory default.
If Option 177 = 0, 1 or 2:
![Page 113 of the Lexmark SCTNE- user manual — <CSC> - M [m]:](/cdn/reader/46/46f354d929e908ba3693d9573f2591fd6b05113429319fc5ea2984e5b149e81a/images/page-113.webp?w=400)
Control codes can only be sent to the printer with one of
All host generated CR, LF, NL and FF control codes are
NOTE: The effect of the +M command is reset per job.
After this command, all Host generated control codes
are processed and the auto-NL function operates as
suppressed and the auto-NL function is disabled.
Refer to “Appendix C - Special TN3270e IDB Commands” on
&%IDB_EDIT: OPTION 177:0:EXIT
the transparent commands.
page 284 for more commands.
If Option 177 = 3 or 4:
normal.

(IDB Option 2) This SCS Options > MISC Settings option defines the character
Dan/Nor (alt) 9 Danish/Norwegian Alternate
Aus/Ger (alt) 3 Austrian/German Alternate
Fin/Swe (alt) 12 Finnish/Swedish Alternate
English (US) * 1 English, U.S. See note.
Can Bilin 6 Canadian bilingual
Fre/Azerty 13 French/Azerty 105
Can French 7 Canadian French
English (UK) 10 English, U.K.
Option Value IDB Value Comments
set.

the default value of this option changes to English (UK). See
Ger/Fre (Swiss) 21 Swiss German/Swiss French
Spa/Text proc. 23 Spanish data/text processing
&%IDB_EDIT: OPTION 2:1:EXIT
Portugal (alt) 17 Portuguese Alternate
Spanish Speak. 19 Spanish speaking
Spanish (alt) 20 Spanish Alternate
the SCS3270 Defaults option.
Option Value IDB Value Comments
Jap/Eng 22 Japanese/English · Portugal 16 Portuguese · Spanish 18 Spanish

(IDB Option 32) This SCS Options > MISC Settings option controls whether or not
blank pages are printed. With this option enabled, pages containing
&%IDB_EDIT: OPTION 32:0:EXIT
only a CR, NL, LF or FF are skipped.
Option Value IDB Value
Do Not Skip * 0
Skip 1

&%IDB_EDIT: OPTION 100:10:EXIT
Option Value IDB Value
12 CPI 12
15 CPI 15
16.7 CPI 16
characters per inch.

&%IDB_EDIT: OPTION 102:132:EXIT
number of characters per line.
Option Value IDB Value
132 * [1..255] 132

&%IDB_EDIT: OPTION 105:6:EXIT
Option Value IDB Value
6 * [1..255] 6
lines per inch.

(IDB Option 106) This SCS Options > MISC Settings option defines the line spacing.
&%IDB_EDIT: OPTION 106:0:EXIT
Option Value IDB Value
Single * 0 · Double 1

the default value of this option changes to 66. See the
&%IDB_EDIT: OPTION 107:64:EXIT
SCS3270 Defaults option.
Option Value IDB Value
64 * [1..255] 64
lines per page.

(IDB Option 167) This SCS Options > MISC Settings option selects the transpar-
&%IDB_EDIT: OPTION 167:0:EXIT
Option Value IDB Value
Enable MPI feat 2
ency mode.
Intermate * 0 · Axis 1

(IDB Option 168) This SCS Options > MISC Settings option defines the lead in char-
The lead in character is an ASCII character in the decimal range 0 -
ASCII Value 0 * 0 Disable the Formatted String
Option Value IDB Value Comments
Utility.
acter for the Formatted String Utility.
[1..255] 1 - 255
Avoid using a character between 0 - 9 (ASCII 49
- 57), A - F (ASCII 65 - 70). Also, avoid using one
of the characters used as lead in for one of the
other CSC commands.
ASCII Value

This SCS Options > MISC Settings option defines how transparent
Normal * 0 Transparent data is translated
outside the range 40H - FEH is
Non-Print Char (IDB Option 3)
No Translation 1 Data within a transparent data
performed. All transparent data
is printed, even invalid data, ie
from EBCDIC to ASCII. Data
printed as a hyphen. See the
received. No translation from
stream (LU-1 (SCS) control
data in the range 40H - FEH.
code 35H) is printed as
EBCDIC to ASCII is
Option Value IDB bit option value Comments
option.
data is translated.
(IDB Option 169
bit 1)

This SCS Options > MISC Settings option defines the kind of lead
in characters are used without
See the CSC Characters (IDB
Without ’&%’ 1 User defined transparent lead
the pass through sequence.
Normal * 0 Normal user defined trans-
Options 8 & 9) option.
parent handling.
Option Value IDB bit option value Comments
in sequence used.
Sequence (IDB
Option 169 bit2)

(IDB Event 191) This SCS Options > MISC Settings option controls Euro character
186d (0xBAh) is converted to the Euro ASCII character 213d (0xD5h) in symbol set 13U.
Yes Enable Euro Support. The ASCII character
No * Disable Euro Support.
print support.
Option Value Comments

The BOLD PRINT menu is a sub-menu under the MISC SETTINGS
Bold On CR (IDB Option 22 bit 1) Yes *, No
Bold On BS (IDB Option 22 bit 2) Yes *, No
Bold On Multi BS (IDB Opt. 22 bit 3) Yes *, No
The following table lists menu options found under the BOLD
A description of each BOLD PRINT menu option follows.
PRINT menu.
menu.
MISC SETTINGS
> BOLD PRINT
Menu - Options
Overview
Option name Values

Option 22 bit 1) This SCS Options > MISC Settings > BOLD PRINT option defines
whether or not bold printing is enabled on a carriage return (CR).
&%IDB_EDIT: OPTION 22:7:EXIT
Option Value IDB bit option value
No 0 · Yes * 1

Option 22 bit 2) This SCS Options > MISC Settings > BOLD PRINT option defines
whether or not bold printing is enabled on a backspace (BS).
&%IDB_EDIT: OPTION 22:7:EXIT
Option Value IDB bit option value
No 0 · Yes * 1

This SCS Options > MISC Settings > BOLD PRINT option defines
whether or not bold printing is enabled on multiple backspaces.
&%IDB_EDIT: OPTION 22:7:EXIT
Option Value IDB bit option value
BS (IDB Opt. 22
bit 3)
No 0 · Yes * 1

OPTIONS menu. The following table lists menu options found under
Left Margin (IDB Option 103) 1 *, range: 1 - 255 Right Margin (IDB Option 104) 132 *, range: 1 - 255 Top Margin (IDB Option 108) 1 *, range: 1 - 255 Bottom Margin (IDB Option 109) 64 *, range: 1 - 255 Source Input (IDB Option 113) Tray 1 *, Prtr Setting, Tray 2,
Tray 1 Orient (IDB Option 123) COR *, Portrait, Landscape
Tray 2 Orient (IDB Option 124) COR *, Portrait, Landscape
Tray 3 Orient (IDB Option 125) Portrait *, Landscape, COR
Tray 4 Orient (IDB Option 126) Portrait *, Landscape, COR
Tray 5 Orient (IDB Option 127) Portrait *, Landscape, COR
The PAPER SETTINGS menu is a sub-menu under the SCS
Tray1 Paper Size (IDB Option 90) Letter *, A4 , B5, Legal
Tray2 Paper Size (IDB Option 91) Letter *, A4 , B5, Legal
Tray3 Paper Size (IDB Option 92) Letter *, A4 , B5, Legal
Tray4 Paper Size (IDB Option 93) Letter *, A4 , B5, Legal
Tray5 Paper Size (IDB Option 94) Letter *, A4 , B5, Legal
Tray 3, Tray 4, Tray 5
the PAPER SETTINGS menu.
PAPER
SETTINGS
Menu: Options
Overview
Option name Values

A description of each PAPER SETTINGS menu option follows.

Option 103) This SCS Options > Paper Settings option defines the left margin
position in characters. The character width depends on the setting
&%IDB_EDIT: OPTION 103:1:EXIT
of the CPI (IDB Option 100) option.
Option Value IDB Value
1 * [1..255] 1

(IDB Option 104) This SCS Options > Paper Settings option defines the right margin
position in characters. The character width depends on the setting
&%IDB_EDIT: OPTION 104:132:EXIT
of the CPI (IDB Option 100) option.
Option Value IDB Value
132 * [1..255] 132

position of the top margin. The line height depends on the setting of
&%IDB_EDIT: OPTION 108:1:EXIT
the LPI (IDB Option 105) option.
Option Value IDB Value
1 * [1..255] 1

(IDB Option 109) This SCS Options > Paper Settings option defines the line number
position of the bottom margin. The line height depends on the set-
the default value of this option changes to 66. See the
&%IDB_EDIT: OPTION 109:64:EXIT
ting of the LPI (IDB Option 105) option.
SCS3270 Defaults option.
Option Value IDB Value
64 * [1..255] 64

source selected in the printer
PAPER MENU Paper Source
Prtr Setting 0 Feed paper from the paper
(IDB Option 113) This SCS Options > Paper Settings option selects the input
Tray 1 * 1 Paper is fed from Tray 1
Tray 2 2 Paper is fed from Tray 2
Tray 3 3 Paper is fed from Tray 3
Tray 4 4 Paper is fed from Tray 4
Tray 5 5 Paper is fed from Tray 5
Option Value IDB Value Comments
menu.
source.

(IDB Option 123) This SCS Options > Paper Settings option selects the page orien-
&%IDB_EDIT: OPTION 123:2:EXIT
tation for source input tray 1.
Option Value IDB Value
Tray 1 Orient
Portrait 0 · Landscape 1

(IDB Option 124) This SCS Options > Paper Settings option selects the page orien-
&%IDB_EDIT: OPTION 124:2:EXIT
tation for source input tray 2.
Option Value IDB Value
Tray 2 Orient
Portrait 0 · Landscape 1

(IDB Option 125) This SCS Options > Paper Settings option selects the page orien-
&%IDB_EDIT: OPTION 125:0:EXIT
tation for source input tray 3.
Option Value IDB Value
Tray 3 Orient
Portrait * 0 · Landscape 1

(IDB Option 126) This SCS Options > Paper Settings option selects the page orien-
&%IDB_EDIT: OPTION 126:0:EXIT
tation for source input tray 4.
Option Value IDB Value
Tray 4 Orient
Portrait * 0 · Landscape 1

(IDB Option 127) This SCS Options > Paper Settings option selects the page orien-
&%IDB_EDIT: OPTION 127:0:EXIT
tation for source input tray 5.
Option Value IDB Value
Tray 5 Orient
Portrait * 0 · Landscape 1

(IDB Option 90) This SCS Options > Paper Settings option specifies the paper size
to be used when Source Input (IDB Option 113) Tray 1 is selected
and the APO/COR function has been activated. This paper size is
used to determine the print area for rotations of job text. See the
the default value of this option changes to A4. See the
&%IDB_EDIT: OPTION 90:2:EXIT
COR/APO Sett (IDB Option 122) option.
Letter * 2 See note below.
SCS3270 Defaults option.
Option Value IDB Value
B5 1
Tray1 Paper Size
Legal 3

(IDB Option 91) This SCS Options > Paper Settings option specifies the paper size
to be used when Source Input (IDB Option 113) Tray 2 is selected
and the APO/COR function has been activated. This paper size is
used to determine the print area for rotations of job text. See the
the default value of this option changes to A4. See the
&%IDB_EDIT: OPTION 91:2:EXIT
COR/APO Sett (IDB Option 122) option.
Letter * 2 See note below.
SCS3270 Defaults option.
Option Value IDB Value
B5 1
Tray2 Paper Size
Legal 3

(IDB Option 92) This SCS Options > Paper Settings option specifies the paper size
to be used when Source Input (IDB Option 113) Tray 3 is selected
and the APO/COR function has been activated. This paper size is
used to determine the print area for rotations of job text. See the
the default value of this option changes to A4. See the
&%IDB_EDIT: OPTION 92:2:EXIT
COR/APO Sett (IDB Option 122) option.
Letter * 2 See note below.
SCS3270 Defaults option.
Option Value IDB Value
B5 1
Tray3 Paper Size
Legal 3

(IDB Option 93) This SCS Options > Paper Settings option specifies the paper size
to be used when Source Input (IDB Option 113) Tray 4 is selected
and the APO/COR function has been activated. This paper size is
used to determine the print area for rotations of job text. See the
the default value of this option changes to A4. See the
&%IDB_EDIT: OPTION 93:2:EXIT
COR/APO Sett (IDB Option 122) option.
Letter * 2 See note below.
SCS3270 Defaults option.
Option Value IDB Value
B5 1
Tray4 Paper Size
Legal 3

(IDB Option 94) This SCS Options > Paper Settings option specifies the paper size
to be used when Source Input (IDB Option 113) Tray 5 is selected
and the APO/COR function has been activated. This paper size is
used to determine the print area for rotations of job text. See the
the default value of this option changes to A4. See the
&%IDB_EDIT: OPTION 94:2:EXIT
COR/APO Sett (IDB Option 122) option.
Letter * 2 See note below.
SCS3270 Defaults option.
Option Value IDB Value
B5 1
Tray5 Paper Size
Legal 3

The following table lists menu options found under the TEST
The TEST OPTIONS menu is a sub-menu directly under the
A description of each TEST OPTIONS menu item follows.
SCS3270 Hex Dump Normal Mode *, Hex Dump-Mode
SCS3270 Defaults Do Not Restore *, US-Default,
Print 3270 IDB Do Not Print *, Print
TN3270E SETUP menu.
OPTIONS menu.
Menu: Options
Overview
Non-US-Default · Option name Values

lems. When hex dump mode is selected, all data sent to the printer
The SCS Debug Trace option overrides this option. This means that
a hex dump is not produced even though this option is set to Hex
is printed in hexadecimal and character representation. Control
Hex Dump-Mode Print job as hex characters without executing
Normal Mode * Normal printer operation.
control codes.
codes are not executed.
Dump-Mode.
Option Value Comments

Print 3270 IDB This Test option prints a tabular report of the current IDB settings
using option numbers. Print this report when asked by technical
Do Not Print * Do not print the IDB settings. This performs the
same action as if Back had been pressed in the
Print Print the IDB settings.
operator panel.
support representatives.
Option Value Comments

Do Not Restore * Do not restore any settings. This performs the same
action as if Back had been pressed in the operator
Affected option US-Default Non-US-Default
US-Default Restore the factory default TN3270e SCS settings
Non-US-Default Restore the factory default TN3270e SCS settings
The table below summarizes the differences between the US and
their factory default settings. Other printer emulation defaults are
Country Code (IDB Option 2) English (US) English (UK)
The restored settings become active on the next SCS job.
Bottom Margin (IDB Option 109) 64 66 LPP (IDB Option 107) 64 66 Tray1 Paper Size (IDB Option 90) Letter A4
to non-US factory default settings.
to US default settings.
the Non-US factory default settings.
panel.
unchanged.
Option Value Comments

Affected option US-Default Non-US-Default
FF Support (IDB Option 5) Always FF Always FF
COR/APO Sett (IDB Option 122) Yes Yes
Tray2 Paper Size (IDB Option 91) Letter A4
Tray3 Paper Size (IDB Option 92) Letter A4
Tray4 Paper Size (IDB Option 93) Letter A4
Tray5 Paper Size (IDB Option 94) Letter A4

From a Ready status, touch Menus. Locate and touch the Option
Card Menu. Locate and touch SCS/TNe Menu. Locate and touch
menu structure and options. Settings under this menu are used
Settings are displayed under the sub-menus accessed from the
Operations Reference - TN5250E
SETUP TN3270E
when printing from an AS/400 or iSeries host.
MENU
SETUP COMMON
TN5250E SETUP menu.
TN5250E SETUP.
SETUP


Tree diagram of the TN5250E SETUP menu structure.

ing from a job, the SCS/TNe Emulation uses the value specified in
Menu Settings page. (“How to access the Menu Settings Page” on
ured display the text string "[undefined]" and show "[undefined]" on
Options using values as settings which are set outside their ranges
do not have an asterisk in the operator panel to indicate the current
setting. The Menu Settings page shows the text string "[invalid]" for
stalled. Select one of the currently installed features. Setting options
to values outside the ranges shown in the operator panel is possible
mands found in an SCS job. If one or more SCS settings are miss-
currently active. The current setting for each option is listed on the
Options using text strings as settings which have not been config-
tures which were selected as the option value but have been unin-
The SCS/TNe Emulation has default settings for most SCS com-
the SCS OPTIONS menu for the option. Settings specified in an
An asterisk (*) next to a value setting indicates that the setting is
options set outside their ranges. Invalid will print for installed fea-
SCS job override the SCS/TNe Emulation default settings.
via remote configuration and should be avoided.
the Menu Settings page.
page 78)

A User IDB command is shown at the end of menu options which
menu option to the factory default or how to perform the described
may be set by remote configuration. Following this are two com-
mand lines, one for the User IDB language and another for the
Advanced IDB language. These show how to remotely set the
action (cf. “IDB Basics” on page 248 ff. - and see “Additional
TN5250e Printer Commands Using IDB” on page 260 ff.)

The SCS/TNe Emulation supports four concurrent TN5250E ses-
The SCS OPTIONS (pp.177 ff) menu settings are common to all
The following table lists menu options found under the CONNEC-
Response Messages. Refer to Connect # Status
sions. Each session has its own unique set of network settings.
SERVER # INFO Sub-menu. See CONNECTION # > SERVER #
These are located in the CONNECTION#1 - CONNECTION#4
four sessions. This means that changes made under the SCS
OPTIONS menu settings affect the way all TN5250E jobs are
(page 162) for a description of each message.
A description of each CONNECTION## menu option follows.
Connect # Status Shows Primary Status Messages and Last
Default Do Not Restore *, Restore Defaults
Name / IPaddress # (page 166).
TION#1 - CONNECTION#4 menus.
Print # Active No *, Yes
menus.
printed.
Menu: Options
Overview
Option name Values

No * SCS printing is disabled for this connection. The
printer will attempt to establish a host connection.
Yes SCS printing is enabled for this connection. The
printer will not attempt to establish a host
Emulation for TN5250E communication and printing.
connection.
Option Value Comments

options for the current connection to factory default
settings. All TN sessions will be disconnected. All
TN sessions will be reconnected except for the
Do Not Restore * Do not restore to factory default settings. This
performs the same action as if Back had been
Restore Defaults Restore the TN5250 CONNECTION ## menu
#2, #3, or #4 factory default settings and resets all sessions.
session with restored factory defaults.
pressed in the operator panel.
Option Value Comments

connection followed by a last response message received from the
Negotiating with TN server The SCS/TNe Emulation has contacted the host succesfully and is
Not Configured The IP # Address, Hostname #, Device # Name, MSGQ # Name, or
MSGQ # Lib in the TN5250E SERVER # INFO menu has not been
1 Print Active = No. Solution: Set to Yes. (Path: Menus > Option Card Menu > SCS/TNe MENU > TN5250E SETUP > CONNECTION #).
2 NPA Mode = Off. Solution: Set to Auto. (Path: Menus > Network/Ports > print server to be used for SCS printing > NPA Mode).
Print Inactive * One of the following conditions exists and is preventing a session
Reconnecting session The Telnet session was disconnected. The SCS/TNe Emulation is
The first part of the line shows the primary status message of the
host. The complete status message text may not be displayed.
negotiating the Telnet communications parameters.
host. The option cannot be changed by the user.
3 Cable is not plugged into print server. Plug in cable.
4 Network is down. Check network.
attempting to reconnect.
Refer to the tables below.
from being estalished.
configured.

TNe MENU > COMMON SETUP > Reset TN Session > Reset TN
ready to receive print jobs. The [SYSTEM NAME] is the name of the
Lst Rsp:8901:Device not varied on The SCS/TNe Emulation device is not varied ON. Vary it on on the
Session established on system [SYSTEM NAME] A Telnet connection is established and the SCS/TNe Emulation is
Trying to connect The SCS/TNe Emulation is contacting the host to establish a TCP/
printer Off and On or select Menus > Option Card Menu > SCS/
Session Disconnected and Halted All active Telnet sessions have been disconnected. Power the
Response Record. A TN5250E session has been established.
Lst Rsp:I901:Less func. than source device The SCS/TNe Emulation has received a successful Startup
Response Record. There is a mismatch between the device
description created on the host and the actual virtual device.
Lst Rsp:I902:Session succesfully started The SCS/TNe Emulation has received a successful Startup
Lst Rsp:I906:Auto sign-on not allowed The SCS/TNe Emulation could not establish a session.
host to which the SCS/TNe Emulation is connected.
Lst Rsp:2702:Device description not found Check with system operator.
Lst Rsp:2703:Controller desc. not found Check with system operator.
Lst Rsp:2777:Damaged device description Check with system operator.
Ses. to reconnect.
IP connection.
host.

Lst Rsp:8922:Negative response received The SCS/TNe Emulation was not able to establish a Telnet session.
Lst Rsp:8916:No matching device found An exisisting device configuration was not found and the auto-
Lst Rsp:8920:Object partially damaged The device description object on the host has been damaged.
Lst Rsp:8925:Creation of device failed The SCS/TNe Emulation device was not created succesfully.
Lst Rsp:8902:Device not available The requested device is not available on the system. It has
configuration of virtual devices did not allow any new device
probably been assigned to another Telnet session.
It will try again automatically.
Lst Rsp:8903:Device not valid for session Check with system operator.
Lst Rsp:8906:Session initiation failed Check with system operator.
Lst Rsp:8907:Session failure Check with system operator.
Lst Rsp:8910:Controller not valid Check with system operator.
Lst Rsp:8917:Not authorized to object Check with system operator.
Lst Rsp:8918:Job canceled Check with system operator.
Lst Rsp:8921:Communication error Check with system operator.
Lst Rsp:8923:Start-up record incorrectly Check with system operator.
Lst Rsp:8928:Change of device failed Check with system operator.
Lst Rsp:8929:Vary on or vary off failed Check with system operator.
Lst Rsp:8930:Message queue does not exist Check with system operator.
descriptions to be created.

Each SERVER # INFO menu is a sub-menu under the correspond-
ing CONNECTION # menu. The following table lists menu options
IP # Address 0.0.0.0 *, IP address of host to contact Hostname # [undefined] *, ASCII name with up to 16
Server # TN Port 23 * or within the range 0 - 65000 Device # Name [undefined] *, ASCII name with up to 10
Name / IPaddress # Use IP# Address*, Use Hostname #
Keep Alive Type None *, Telnet NOP, Timing Mark
found under the SERVER # INFO menu.
Lst Rsp:8935:Session rejected Check with system operator.
Lst Rsp:8936:Security failure on session Check with system operator.
Lst Rsp:8937:Automatic sign-on rejected Check with system operator.
Lst Rsp:8940:Automatic config. failed Check with system operator.
Lst Rsp:I904:Source at incompatible release Check with system operator.
CONNECTION #
> SERVER #
INFO Menu:
Options
Overview

Use IP# Address* Use the IP address specified with the IP # Address
Use Hostname # Use the hostname specified with the Hostname #
MSGQ # Lib *LIBL *, ASCII name with up to 10 characters. IR # Reply Normal *, Offline, No Reply
A description of each SERVER # INFO menu option follows.
Keep Alive Time 45 *, range: 1 - 32000 [seconds] MSGQ # Name QSYSOPR *, ASCII name with up to 10
address the SCS/TNe Emulation uses to contact the host.
characters.
Auto Sense # END No *, Yes
option.
option.
Name /
Option Value Comments · Option name Values · Connection# >

IP # Address This Connection# > Server# Info option specifies the specific IP
address of the host to be contacted by the SCS/TNe Emulation.
0.0.0.0 * Contact your network administrator for the IP
address to use.
Option Value Comments

[undefined] * Any ASCII text string up to 16 characters. Contact
your system administrator for information on the
to identify the host to be contacted by the SCS/TNe Emulation.
hostname to use.
Option Value Comments

server port defined on the host. Check with your system administra-
according to RFC 1700. The RFC can be found on
If a value other than the default is selected, a value
Server # TN Port This Connection# > Server# Info option specifies the TCP Telnet
23 * This is the default port number for Telnet sessions
[0..65000] Any number within this range can be selected.
While a large range of port numbers can be
selected, due to security reasons not all port
between 1024 and 65000 is recommended.
numbers are available on the printer.
tor for the correct Telnet server port to use.
the Internet.
Option Value Comments

device and writer will be auto configured with this name if it does not
writer name associated with the SCS/TNe Emulation on the host. A
Device # Name This Connection# > Server# Info option specifies the device and
[undefined] * Any ASCII text string up to 10 characters.
already exist.
Option Value Comments

Keep Alive Type This Connection# > Server# Info option specifies the type of keep
Emulation to keep the Telnet session active. The option is normally
help determine the Keep Alive Type signal to be used and the Keep
None * Do not send keep alive signals. When this setting is
selected, the host should be configured to send a
receive and respond to a Telnet NOP or a Timing
Timing Mark Send a Telnet timing mark as the keep alive signal.
sent. Check the host parameters TIMMRKTIMO and INACTTIMO to
alive signal sent to the host. This signal is sent by the SCS/TNe
The Keep Alive Time setting determines how often this signal is
keep alive signal. The SCS/TNe Emulation can
Telnet NOP Send a Telnet No Operation as the keep alive
Mark keep alive signal.
signal.
left at its default setting.
Alive Time value to set.
signal type, try changing to another type. Check
with your system administrator to determine the
If the host has difficulty detecting the selected
type of signal to select.
Option Value Comments

The Keep Alive Type setting specifies the type of signal sent to the
If the Keep Alive Type signal setting is set to None, this option value
setting is ignored. If Telnet NOP or Timing Mark was selected, set
Keep Alive Time This Connection# > Server# Info option specifies the time in sec-
onds that expires between each keep alive signal sent to the host.
this option value to a value less than the INACTTIMO value on the
45 * [1..32000] The range is 1 to 32000 seconds.
host.
host.
Set this option to as big a value as possible. Be
timeout value defined on the host. This will help
sure it is smaller than the session’s inactivity
minimize network traffic.
Option Value Comments

queue name on the host to which Intervention Required conditions
are reported. The message queue name must already exist on the
host. It will not be auto created. The MSGQ # Lib option may be
Leave this option at the default if you do not know the message
QSYSOPR * Any ASCII text string with up to 10 characters.
used to set the message queue library.
queue name.
Option Value Comments

Name option. The message queue library must already exist on the
Leave this option at the default if you do not know the library name.
queue library for the message queue specified in the MSGQ #
*LIBL * Any ASCII text string with up to 10 characters.
host. It will not be auto created.
Option Value Comments

Normal * Use normal IR replies, i.e. send paper jam as paper
IR # Reply This Connection# > Server# Info option controls the reporting of
Offline Only send IR replies as offline messages without
specifying what kind of IR has occurred.
jam, paper out as paper out etc.
No Reply Disable the use of IR replies.
Intervention Required Replies to the host.
Option Value Comments

the SCS/TNe Emulation senses automatically if the host has ended
the Writer. This may be necessary due to the host’s management of
Yes Sense if writer ends, reconnect, and reconfigure
the print queue when more than one job is in the same queue.
No * Do not sense if writer ends.
automatically.
Option Value Comments

The following table lists menu options and sub-menus found under
All four TN5250E connections use the same SCS OPTIONS val-
Space + Escape, Linefeed + Esc
Move Hor/Ver (IDB Option 158) Use Escape *, Use Line feed,
One set of TN5250E SCS OPTIONS menu values are saved.
The SCS OPTIONS menu is a sub-menu directly under the
Format Ctrl Sup (IDB Option 177) Enabled *, Disabled
Download Font (IDB Option 244) Enabled *, Disabled
Prop Font Move (IDB Option 118) Do Not Use *, Use
Overlay Call (IDB Option 28) Disable *, Enable
Euro Support (IDB Option 139) No *, Yes
Compress CPI (IDB Option 128) Off *, On
the SCS OPTIONS menu.
TN5250E SETUP menu.
ues.
Menu: Options
Overview
Option name Values

CSC CHARACTERS Sub-menu. See SCS OPTIONS >
Options Overview (page 192) and
COR/APO SETTINGS Sub-menu. See SCS OPTIONS >
Options Overview (page 198) and
MISC SETTINGS Sub-menu. See SCS OPTIONS >
Overview (page 208) and Country
PAPER SETTINGS Sub-menu. See SCS OPTIONS >
Options Overview (page 231) and
Def Page Ori 1 (IDB Option 121)
Left Margin COR (IDB Opt. 78 &
Code (IDB Option 2) (page 210).
COR/APO SETTINGS Menu:
CSC CHARACTERS Menu:
PAPER SETTINGS Menu:
A description of each SCS OPTIONS menu item follows.
Overview (page192).
(page 199).
Option name Values

When the overlay call is enabled, either OVLDRW command 1 or 2 will
string) is printed on the top of each page. The overlay may contain a
executed if paper tray 1 has been selected and OVLDRW command 2
be executed at the top of each page. OVLDRW command 1 will be
OVLDRW command itself. It has a maximum of 255 characters. A
(IDB Option 28) This SCS Options option defines if an overlay call (predefined
call to an electronic form, a macro, or the string stated by the
string for paper tray 1 and paper tray 2 can be defined.
Option Value IDB Value User IDB parameter
will be executed if paper tray 2 has been selected.
&%IDB_EDIT: OVLCAL OFF:EXIT
Disable * 0 OFF
OVLCAL :
OFF, ON
Parameter:
Overlay Call
Enable 1 ON

&%IDB_EDIT: OPTION 28:0:EXIT

must correspond to the width value which the host expects the char-
acters to have. The SCS/TNe Emulation adjusts each character to
obtain the correct width value. This is necessary in order to use bold
fonts. If you need to enable the function for only a single font, it is
recommended to use the P value for the parameter in
The individual character width values of the printer's native fonts
Setting this option to Use enables Proportional Font Move on all
(IDB Option 118) This SCS Options option controls whether or not the SCS/TNe
Option Value IDB Value User IDB parameter
text, underscored text, and to align the right margin.
Emulation uses proportional font handling.
Do Not Use * 0 OFF
PRPFNTMOV :
the PRGFNT command.
OFF, ON
Parameter:
Prop Font Move
Use 1 ON

&%IDB_EDIT: PRPFNTMOV OFF:EXIT
&%IDB_EDIT: OPTION 118:0:EXIT
User IDB language to set factory default:

reduced printable area of the printer. The option makes it possible to
(IDB Option 128) This SCS Options option defines the compression of the horizontal
print 80 characters on a line using 10 CPI, 96 characters on a line
character spacing. The command is used to compensate for the
If the option is set to On, the CPI is compressed as shown.
using 12 CPI and 120 characters on a line using 15 CPI.
Option Value IDB Value User IDB parameter
12 CPI => 12.2 CPI
15 CPI => 15.3 CPI
Compress CPI CPI 50 ×
Off * 0 OFF
Formula for calculating other values:
49 = · On 1 ON

&%IDB_EDIT: OPTION 128:0:EXIT
User IDB language to set factory default:
&%IDB_EDIT: COMCPI OFF:EXIT
COMCPI :
OFF, ON
Parameter:

moves are performed. Refer to the IDB options 211 - 213 if escape
For VERMOV ESC uses escape sequences; LF uses line feeds
sequences (ESC) are used for horizontal movement and to option
For HORMOV ESC uses escape sequences; SP uses spaces
Use Escape * 1 HORMOV ESC: VERMOV ESC
Space + Escape 2 HORMOV SP: VERMOV ESC
Linefeed + Esc 3 HORMOV ESC: VERMOV LF
Use Line feed 0 HORMOV SP: VERMOV LF
Option Value IDB Value User IDB parameter
HORMOV / VERMOV :
238 if spaces (SP) are used.
Parameter:
Move Hor/Ver

&%IDB_EDIT: OPTION 158:1:EXIT

"Auto newline" feature of the SCS/TNe Emulation. If the printout is
incorrectly double spaced, disabling it will in most cases solve the
(IDB Option 177) This SCS Options option is used for enabling and disabling the
Option Value IDB Value User IDB parameter
&%IDB_EDIT: CTLCODSUP ON:EXIT
&%IDB_EDIT: OPTION 177:0:EXIT
User IDB language to set factory default:
Enabled * 0 ON
CTLCODSUP :
OFF, ON
Parameter:
problem.
Disabled 1 OFF

TNe Emulation by loading additional fonts into the printer memory.
Enabled means that these fonts will be downloaded to the printer’s
The additional fonts are listed in the table below. The fonts marked
Additional information is found in “Appendix F - Managing the SCS
(IDB Option 244) This SCS Options option extends the fonts available to the SCS/
Option Value IDB Value User IDB parameter
Font IBM font no. PCL font no.
Disabled 0 Not supported
Enabled * 1 Not supported
Boldface italic 159 + 10159
Essay 160 + 10160
Essay Bold 163 + 10163
Document 175 + 10175
with a + contain the Euro character.
TN5250e Font Table” on page 296.
memory at Power On.
Boldface 155 10155

&%IDB_EDIT: OPTION 244:0:EXIT
User IDB language to set factory default:
User IDB command:
Parameter:
Not supported · Not supported · Not supported

option is set to Yes, the normal code pages are re-mapped to code
pages containing the Euro character. This means that the interna-
(IDB Option 139) This SCS Options option controls Euro character printing. If the
tional currency symbol is replaced with the Euro character in the
Country Normal code pages Re-mapped code pages
EBCDIC code pages.

In order to be able to print the Euro character a font supporting the
character also has to be selected and available in the printer. See
the Download Font (IDB Option 244) option on page 188 and the
Font (IDB Options 242 and 243) option on page 215.
Option Value IDB Value User IDB parameter
&%IDB_EDIT: OPTION 139:0:EXIT
User IDB language to set factory default:
&%IDB_EDIT: EURSUP OFF:EXIT
No * 0 OFF
EURSUP :
OFF, ON
Parameter:
Yes 1 ON

The following table lists menu options found under the CSC CHAR-
IDB First Char (IDB Option 8) & * (ASCII character 38 [ampersand]),
The CSC CHARACTERS menu is a sub-menu directly under the
A description of each CSC CHARACTERS menu option follows.
any single ASCII character in the
any single ASCII character in the
any single ASCII character in the
IDB Second Char (IDB Option
SCS OPTIONS > CSC Characters
SCS OPTIONS menu.
ACTERS menu.
CSC
CHARACTERS
Menu: Options
Overview
Option name Values

acter in the CSC (Command String Characters) sequence. The CSC
(IDB Option 8) This SCS Options > CSC Characters option defines the first char-
used in front of the Lead-in characters defined with option 171 and
The IDB option value is an ASCII character in the decimal range 33
is a unique two-character sequence, which opens the internal IDB
- 126. Refer to “Appendix B - ASCII Character Table” on page 282
editor in the SCS/TNe Emulation. It must be used every time IDB
commands are sent to the SCS/TNe Emulation. The CSC is also
Option Value IDB Value User IDB parameter
& * 38 [ampersand] Not supported
for a complete list of characters and their values.
Parameter:
IDB First Char
Not supported · Not supported

&%IDB_EDIT: OPTION 8:38:EXIT
User IDB language to set factory default:
Not supported

character in the CSC (Command String Characters) sequence. The
CSC is a unique two-character sequence, which opens the internal
also used in front of the Lead-in characters defined with option 171
and 172. Last of all the CSC is also used for passing single hex val-
The IDB option value is an ASCII character in the decimal range 33
This SCS Options > CSC Characters option defines the second
- 126. Refer to “Appendix B - ASCII Character Table” on page 282
IDB editor in the SCS/TNe Emulation. It must be used every time
IDB commands are sent to the SCS/TNe Emulation. The CSC is
Option Value IDB Value User IDB parameter
for a complete list of characters and their values.
% * 37 [percent] Not supported
ues to the printer, e.g. &%1B = .
Parameter:
IDB Second
Char (IDB
Option 9)
Not supported · Not supported

&%IDB_EDIT: OPTION 9:37:EXIT
User IDB language to set factory default:
Not supported

(IDB Option 7) This SCS Options > CSC Characters option defines the delimiter
The IDB option value is an ASCII character in the decimal range 33
- 126. Refer to “Appendix B - ASCII Character Table” on page 282
used in the User IDB and Advanced IDB command languages to
Option Value IDB Value User IDB parameter
for a complete list of characters and their values.
: * 58 [colon] Not supported
User IDB language to set factory default:
separate programming commands.
Parameter:
IDB Delimiter
Not supported · Not supported · Not supported

The COR/APO SETTINGS menu is a sub-menu directly under the
The following table lists menu options found under the COR/APO
Def Page Ori 1 (IDB Option 121) Portrait *, Prtr Setting, Landscape
Def Page Ori 2 (IDB Option 122) Portrait *, Prtr Setting, Landscape
A description of each COR/APO SETTINGS menu option follows.
COR Action 1 (IDB Option 123) Enable Auto COR *, Disable,
COR Action 2 (IDB Option 124) Enable Auto COR *, Disable,
Enable APO, Disable STO
Enable APO, Disable STO
COR LSI Reduc (IDB Option 127) 70% *, range: 1 - 100 [%]
PPM Quality Dis (IDB Opt.126) Off *, On, Enable APO
SCS Options > COR/APO Settings
SCS OPTIONS menu.
SETTINGS menu.
COR/APO
SETTINGS
Menu: Options
Overview
Option name Values

orientation for paper tray 1. The option setting is only used when the
(IDB Option 121) This SCS Options > COR/APO Settings option defines the page
APO/COR (Automatic Page Orientation / Computer Output Reduc-
tion) function is disabled with the COR Action 1 (IDB Option 123)
Option Value IDB Value User IDB parameter
User IDB language to set factory default:
Portrait * 1 POR
Prtr Setting 0 DEF
ORTDRW 1 :
User IDB command:
Parameter:
option.
Landscape 2 LAN

used when the APO/COR (Automatic Page Orientation / Computer
Output Reduction) function is disabled with the COR Action 2 (IDB
(IDB Option 122) This SCS Options > COR/APO Settings option defines the page
orientation for paper tray 2 and above. The option setting is only
Option Value IDB Value User IDB parameter
&%IDB_EDIT: ORTDRW 2 POR:EXIT
&%IDB_EDIT: OPTION 122:1:EXI
User IDB language to set factory default:
Portrait * 1 POR
Prtr Setting 0 DEF
ORTDRW 2 :
User IDB command:
Option 124) option.
Def Page Ori 2
Landscape 2 LAN

or it can be stated that automatic reduction (COR) is performed after
also possible to select between Landscape and Portrait (APO) only,
When Enable APO is selected, the SCS/TNe Emulation calculates
The Enable Auto COR function is an extension of the Enable APO
function. If the page does not fit after the APO has been performed,
the COR function is activated. This is done using the CPI compres-
(IDB Option 121) option is used together with the compressed CPI.
APO/COR function (Automatic Page Orientation/Computer Output
With this option it is possible to disable the APO/COR function so
that the page orientation change only can be made manually. It is
sions specified with the Compress CPI (IDB Option 128) option. If
(IDB Option 123) This SCS Options > COR/APO Settings option defines how the
the print area required for printing the document. If the document
the page cannot be made to fit, the setting of the Def Page Ori 1
does not fit on the page in portrait orientation, the orientation is
the APO as well. Refer to “Appendix D - COR/APO Logic
Reduction) works for paper tray 1.
(TN5250e)” on page 287.
changed to landscape.

When the Disable STO function is selected, all STO commands in
the data stream are ignored, i.e. all text orientation commands.
Option Value IDB Value User IDB parameter
&%IDB_EDIT: CORDRW 1 COR:EXIT
&%IDB_EDIT: OPTION 123:2:EXIT
Disable STO 3 STODIS
Enable APO 1 APO
Enable Auto COR * 2 COR
CORDRW 1 :
User IDB command:
Parameter:
Disable 0 OFF

or it can be stated that automatic reduction (COR) is performed after
also possible to select between Landscape and Portrait (APO) only,
When Enable APO is selected, the SCS/TNe Emulation calculates
The Enable Auto COR function is an extension of the Enable APO
function. If the page does not fit after the APO has been performed,
the COR function is activated. This is done using the CPI compres-
(IDB Option 122) option is used together with the compressed CPI.
APO/COR function (Automatic Page Orientation/Computer Output
With this option it is possible to disable the APO/COR function so
that the page orientation change only can be made manually. It is
sions specified with the Compress CPI (IDB Option 128) option. If
(IDB Option 124) This SCS Options > COR/APO Settings option defines how the
the print area required for printing the document. If the document
the page cannot be made to fit, the setting of the Def Page Ori 2
does not fit on the page in portrait orientation, the orientation is
the APO as well. Refer to “Appendix D - COR/APO Logic
Reduction) works for paper tray 2 and above.
(TN5250e)” on page 287.
changed to landscape.

When the Disable STO function is selected, all STO commands in
the data stream are ignored, i.e. all text orientation commands.
Option Value IDB Value User IDB parameter
&%IDB_EDIT: CORDRW 2 COR:EXIT
&%IDB_EDIT: OPTION 124:2:EXIT
Disable STO 3 STODIS
Enable APO 1 APO
Enable Auto COR * 2 COR
CORDRW 2 :
User IDB command:
Parameter:
Disable 0 OFF

mode used in the APO/COR function. In the APO/COR function, the
To print in computer output reduction mode, the print quality must be
As it will not always be possible to control the print quality of the jobs
print quality parameter is used (text mode on/off) to disable/enable
set to Data Processing (Text mode off). If "Letter Quality" or "Draft"
(Text mode on) is selected, the computer output reduction mode will
printed from the host, this option is used to disable text mode. When
quality parameter and print all print jobs fulfilling the requirements in
computer output reduction mode. Refer to “Appendix D - COR/APO
be disabled and the print job will be printed in Portrait orientation
text mode is disabled, the APO/COR function will ignore the print
computer output reduction mode.
Logic (TN5250e)” on page 287
(Text mode).

Off * 0 OFF Normal IBM
Option Value IDB Value User IDB parameter Comments
On 1 ON Ignore the
Enable APO 2 APO Observe
Advanced IDB language to set factory default:
&%IDB_EDIT: OPTION 126:0:EXIT
User IDB language to set factory default:
&%IDB_EDIT: TXTMOD OFF:EXIT
TXTMOD :
User IDB command:
Parameter:

spacing in Computer Output Reduction mode. The spacing is nor-
(IDB Option 127) This SCS Options > COR/APO Settings option defines the line
Option Value IDB Value User IDB parameter
mally set to 70% of the normal line spacing (100%).
&%IDB_EDIT: OPTION 127:70:EXIT
User IDB language to set factory default:
70% * [1..100] 70 70
LINSPRED :
Parameter:
COR LSI Reduc

The following table lists menu options and sub-menus found under
Codepage (IDB Options 240 and 241) Multi 500 *, USA/Can 37, Math 259, Ger/Aus 273, Belgium 274, Brazil 275,
284, Eng (UK) 285, France 297, OCR 340, Iceland 871, Turkey 1023, USA/ Can 1140, Ger/Aus 1141, Den/Nor 1142, Fin/Swe 1143, Italy 1144, Spain
1145, Eng (UK) 1146, France 1147, Multi. 1148, Iceland 1149 Font (IDB Options 242 and 243) 11 *, 3, 18, 39, 40, 46, 66, 68, 69, 85, 87, 110, 111, 112, 155, 159, 160, 163, 175, 204, 221, 222, 223, 230, 244, 245, 252, 253, 281, 290, 751, 1051, 1053, 1056, 1351, 1653, 2103 CPI (IDB Option 100) 10 CPI *, 5 CPI, 12 CPI, 15 CPI, 16.7 CPI Max Print Pos (IDB Option 102) 80 *, range: 1 - 254 Left Margin (IDB Option 103) 1 *, range: 1 - 255 Right Margin (IDB Option 104) 1 *, range: 1 - 255 LPI (IDB Option 105) 6 LPI *, 3 LPI, 4 LPI, 8 LPI, 9 LPI
Country Code (IDB Option 2) International *, Belgium, Brazil, Can/Fre, Den/Nor, English (UK), Fin/Swe,
France, Ger/Aus, Italy, Jap (Latin), Latin America, Portugal, Spain, USA/
Den/Nor 277, Fin/Swe 278, Italy 280, Jap/Eng 281, Portugal 282, Spain
The MISC SETTINGS menu is a sub-menu under the SCS
the MISC SETTINGS menu.
OPTIONS menu.
Can, USA/Can bil.
MISC SETTINGS
Menu: Options
Overview
Option name Values

Non-Print Char (IDB Option 3) ASCII Value 45, any single ASCII character in the decimal range: 0 - 255
A description of each MISC SETTINGS menu option follows.
Output Bin (IDB Option 115) Prtr Setting *, Output Bin 1, Output Bin 2, Output Bin 3
Simplex/Duplex (IDB Option 116) Prtr Setting *, Simplex, Duplex, Duplex (Tumble)
Forms Media (IDB Option 114) Prtr Setting *, Paper Media, Envelope Med
Lines Per Page (IDB Option 107) 68 *, range: 1 - 255 Top Margin (IDB Option 108) 1 *, range: 1 - 255 Source Input (IDB Option 113) Tray 1 *, Tray 2, Tray 3, Tray 4, Tray 5
Option name Values

System 36 and 38, and applications migrated from these systems.
codes. In country codes other than International country specific
(IDB Option 2) This SCS Options > Misc Settings option defines the character
set. Country definition by Country Code was commonly used on
The International country code forms the basis for all country
Option Value IDB Value User IDB parameter
characters replace selected characters.
Jap (Latin) 10 10
USA/Can bil. 11 11
International * 0 0

Option Value IDB Value User IDB parameter
&%IDB_EDIT: DEFCNTCOD 0:EXIT
User IDB language to set factory default:
&%IDB_EDIT: OPTION 2:0:EXIT
Latin America 14 14
English (UK) 15 15
DEFCNTCOD :
Parameter:
Spain 13 13

This SCS Options > Misc Settings option defines the code page to
Option Value IDB Values (Option 240 and 241) User IDB parameter
be used. Country definition by "Code Page" is commonly used by
Option 139) option, code pages 37, 273, 277, 278, 280, 284, 285,
297, 500 and 871 are remapped to the code pages 1140 - 1149.
If Euro Support has been enabled with the Euro Support (IDB
Math 259 3 + 1 259
Ger/Aus 273 17 + 1 273
Belgium 274 18 + 1 274
Brazil 275 19 + 1 275
Den/Nor 277 21 + 1 277
Fin/Swe 278 22 + 1 278
Italy 280 24 + 1 280
Jap/Eng 281 25 + 1 281
Portugal 282 26 + 1 282
Spain 284 28 + 1 284
Eng (UK) 285 29 + 1 285
France 297 41 + 1 297
USA/Can 37 37 + 0 37
AS/400 and iSeries computers.
Options 240 and
241)

Option Value IDB Values (Option 240 and 241) User IDB parameter
Code pages with Euro support below this line
Turkey 1023 255 + 3 1023
USA/Can 1140 116 + 4 1140
Ger/Aus 1141 117 + 4 1141
Den/Nor 1142 118 + 4 1142
Fin/Swe 1143 119 + 4 1143
Italy 1144 120 + 4 1144
Spain 1145 121 + 4 1145
Eng (UK) 1146 122 + 4 1146
France 1147 123 + 4 1147
Multi. 1148 124 + 4 1148
Iceland 1149 125 + 4 1149
Multi 500 * 244 + 1 500
Iceland 871 103 + 3 871
DEFCODPAG :

Advanced IDB language to set factory default:
&%IDB_EDIT: DEFCODPAG 500:EXIT
User IDB language to set factory default:

This SCS Options > Misc Settings option selects the current font
Option Value (Font ID) Font Name IDB Value (Option 242 and 243) User IDB parameter
using the Font ID. This option setting is usually overwritten by the
Fonts in shaded rows may be loaded into printer memory. See the
110 Let.Got. Bld 12 110 + 0 110
111 Pres. Bold 12 111 + 0 111
112 Pres. It 12 112 + 0 112
11 Courier 10 * 11 + 0 11
18 Courier It. 10 18 + 0 18
39 Got.Text Bld 10 39 + 0 39
40 Got.Text 10 40 + 0 40
46 Courier Bold 10 46 + 0 46
66 Got.Text 12 66 + 0 66
68 Got.Text Italic 68 + 0 68
69 Got.Text Bld 12 69 + 0 69
85 Courier 12 85 + 0 85
87 Let.Got. 12 87 + 0 87
Download Font (IDB Option 244) option.
first control buffer from the system.
Options 242 and
243)

Option Value (Font ID) Font Name IDB Value (Option 242 and 243) User IDB parameter
1051 Son.Ser. 10 27 + 4 1051
1053 Son.Ser.Bld 10 29 + 4 1053
155 Boldface It 155 + 0 155
159 Boldface 159 + 0 159
160 Essay 160 + 0 160
163 Essay Bold 163 + 0 163
175 Document 175 + 0 175
204 Got.Text 13 204 + 0 204
221 Prestige 15 221 + 0 221
222 Gothic 15 222 + 0 222
223 Courier 15 223 + 0 223
230 Gothic-Text 15 230 + 0 230
244 Courier 5 244 + 0 244
245 Courier Bld 5 245 + 0 245
252 Courier 17 252 + 0 252
253 Courier Bld 17 253 + 0 253
281 Got.Text 20 25 + 1 281
290 Got.Text 27 34 + 1 290
751 Son.Ser. 7 239 + 2 751

Option Value (Font ID) Font Name IDB Value (Option 242 and 243) User IDB parameter
1056 Son.Ser.It 10 32 + 4 1056
1351 Son.Ser. 12 71 + 5 1351
1653 Son.Ser.Bld 16 117 + 6 1653
2103 Son.Ser.Bld 24 35 + 8 2103
User IDB language to set factory default:
&%IDB_EDIT: DEFFNT 11:EXIT
DEFFNT :
Parameter:

Option Value IDB Value User IDB parameter
&%IDB_EDIT: OPTION 100:10:EXIT
User IDB language to set factory default:
&%IDB_EDIT: DEFCPI 10:EXIT
10 CPI * 10 10
12 CPI 12 12
15 CPI 15 15
16.7 CPI 16 16
5 CPI 5 5
DEFCPI :
5, 10, 12, 15, 16
ters per inch).
CPI (IDB Option

(IDB Option 102) This SCS Options > Misc Settings option defines the maximum
Option Value IDB Value User IDB parameter
&%IDB_EDIT: OPTION 102:80:EXIT
User IDB language to set factory default:
&%IDB_EDIT: DEFMPP 80:EXIT
80 * [1..254] 80 80
DEFMPP :
horizontal print position.
Max Print Pos

Option 103) This SCS Options > Misc Settings option defines the left margin in
characters. The character width depends on the setting of the CPI
Option Value IDB Value User IDB parameter
&%IDB_EDIT: OPTION 103:1:EXIT
&%IDB_EDIT: DEFLFTMRG 1:EXIT
User IDB language to set factory default:
DEFLFTMRG :
1 * [1..255] 1 1
(IDB Option 100) option.
Left Margin (IDB

in characters. The character width depends on the setting of the CPI
(IDB Option 104) This SCS Options > Misc Settingsoption defines the right margin
Option Value IDB Value User IDB parameter
&%IDB_EDIT: OPTION 104:1:EXIT
&%IDB_EDIT: DEFRGTMRG 1:EXIT
User IDB language to set factory default:
DEFRGTMRG :
1 * [1..255] 1 1
(IDB Option 100) option.
Right Margin

Option Value IDB Value User IDB parameter
&%IDB_EDIT: OPTION 105:6:EXIT
User IDB language to set factory default:
&%IDB_EDIT: DEFLPI 6:EXIT
3 LPI 3 3
4 LPI 4 4
6 LPI * 6 6
8 LPI 8 8
9 LPI 9 9
DEFLPI :
3, 4, 6, 8, 9
lines per inch (LPI).
LPI (IDB Option

(IDB Option 107) This SCS Options > Misc Settings option defines the number of
Option Value IDB Value User IDB parameter
&%IDB_EDIT: OPTION 107:68:EXIT
User IDB language to set factory default:
&%IDB_EDIT: DEFLPP 68:EXIT
68 * [1..255] 68 68
DEFLPP :
lines per page.
Lines Per Page

Option 108) This SCS Options > Misc Settings option defines the top margin in
lines. The line height depends on the setting of the LPI (IDB Option
Option Value IDB Value User IDB parameter
&%IDB_EDIT: OPTION 108:1:EXIT
&%IDB_EDIT: DEFTOPMRG 1:EXIT
User IDB language to set factory default:
DEFTOPMRG :
1 * [1..255] 1 1
Top Margin (IDB

(IDB Option 113) This SCS Options > Misc Settings option selects the paper source
panel. They can only be chosen via IDB commands. The IDB com-
mands trigger the events 76 - 78, which correspond to the parame-
string pointed to should contain a string which selects a specific tray
in the printer. Refer to the IDB Technical Reference guide, available
input tray. This setting will trigger definitions made by the Source
ter values 6 - 8. The events can be set to point to any string. The
The parameter values 6 - 8 cannot be selected via the operator
on the internet site with manual updates listed in “Support” on
&%IDB_EDIT: OPTION 113:1:EXIT
&%IDB_EDIT: DEFSRCDRW 1:EXIT
DEF, 1, 2, 3, 4, 5, 6, 7, 8
DEFSRCDRW :
Drawer (SRCDRW) command.
Parameter:
page 4.

(IDB Option 114) This SCS Options > Misc Settings option selects the paper tray.
The setting will trigger definitions made by the Select Media (SLT-
Option Value IDB Value User IDB parameter
&%IDB_EDIT: DEFFRMSEL DEF:EXIT
&%IDB_EDIT: OPTION 114:0:EXIT
User IDB language to set factory default:
Envelope Med 2 ENV
Prtr Setting * 0 DEF
Paper Media 1 PAP
DEFFRMSEL :
User IDB command:
MED) command.
Forms Media

Option 115) This SCS Options > Misc Settings option selects the paper output
bin. The setting will trigger definitions made by the Destination
Option Value IDB Value User IDB parameter
&%IDB_EDIT: DEFDSTDRW DEF:EXIT
&%IDB_EDIT: OPTION 115:0:EXIT
User IDB language to set factory default:
Prtr Setting * 0 DEF
DEFDSTDRW :
Output Bin 1 1 1
Output Bin 2 2 2
Output Bin 3 3 3
Drawer (DSTDRW) command.
User IDB command:
Parameter:
Output Bin (IDB

duplex as the print setting. The setting will trigger definitions made
by the Select Simplex/Duplex Printing (SLTSIMDUP) command. The
tumble setting is used for pages connected or bound at the top.
(IDB Option 116) This SCS Options > Misc Settings option selects simplex or
Option Value IDB Value User IDB parameter
User IDB language to set factory default:
Duplex (Tumble) 3 TUM
Prtr Setting * 0 DEF
DEFSIMDUP :
printers with duplex support.
User IDB command:
Parameter:
Simplex/Duplex
Duplex 2 DUP · Simplex 1 SIM

&%IDB_EDIT: OPTION 116:0:EXIT

stream. The character is printed when the host sends an unprintable
(IDB Option 3) This SCS Options > Misc Settings option defines the replacement
character to substitute for an unprintable character found in the data
character or a character not supported by the SCS/TNe Emulation.
printable ASCII hexadecimal value.
Refer to “Appendix B - ASCII Character Table” on page 282 for a
[0..255] 0 - 255 All EBCDIC characters or a
All EBCDIC characters or a printable ASCII hex value
complete list of printable characters and their values.
Option Value IDB Value User IDB parameter
&%IDB_EDIT: OPTION 3:45:EXIT
User IDB language to set factory default:
&%IDB_EDIT: UNPCHR /2D:EXIT
ASCII Value 45 * 45 45
UNPCHR :
Parameter:
Non-Print Char
ASCII Value

The following table lists menu options found under the PAPER SET-
Left Margin COR (IDB Opt. 78 & 79) 634 *, range: 0 - 2880 Top Margin COR (IDB Opt. 80 & 81) 0 *, range: 0 - 2880 Left Margin Lan (IDB Opt. 86 & 87) 0 *, range: 0 - 2880 Top Margin Lan (IDB Opt. 88 & 89) 147 *, range: 0 - 2880 Page Length (IDB Opt. 82 & 83) 16848 *, range: 1 - 65535 Page Width (IDB Opt.84 & 85) 11908 *, range: 1 - 65535
A description of each PAPER SETTINGS menu option follows.
The PAPER SETTINGS menu is a sub-menu under the SCS
SCS Options > Paper Settings
OPTIONS menu.
TINGS menu.
PAPER
SETTINGS
Menu: Options
Overview
Option name Values

This SCS options > Paper Settings option defines the offset to be
Value in inches [0.00 .. 2.009 or centimeters [0.00 .. 5.08]
added to the left margin when printing in Computer Output Reduc-
Option Value (1/1440 inch) IDB Values (Option 78 and 79) User IDB parameter
tion mode (COR). COR is a feature that allows data processing
LFTOFFCOR :
634 * [0..2880] 122 + 2 0.44
Advanced IDB language to set factory default:
reports to fit on A4 size paper. 1 inch = 1440.
I for inches, C for centimeters
Parameter 1:
Parameter 2:
Left Margin COR
(IDB Opt. 78 &
79)
with 2 decimals

The option values for option 78 and 79 are calculated using the for-
The values stored in option 78 and 79 for a left margin offset of
Marg. inch 1440 × ( ) 256 Value stored in option 79 × ( ) –
0.440 1440 × ( ) 256 2 × ( ) – 122 ≈
0.440 inch are calculated like this:
nearest whole number.
Marg. inch 1440 ×
256 2 ≈
0.3937 inch/cm.
0.440 1440 ×
mulas below.
79:
78:
256

This SCS options > Paper Settings option defines the offset to be
added to the top margin when printing in Computer Output Reduc-
Value in inches [0.00 .. 2.00] or centimeters [0.00 .. 5.08]
Option Value (1/1440 inch) IDB Values (Option 80 and 81) User IDB parameter
tion mode (COR). COR is a feature that allows data processing
TOPOFFCOR :
0 * [0..2880] 0 + 0 0.00
Advanced IDB language to set factory default:
reports to fit on A4 size paper. 1 inch = 1440.
I for inches, C for centimeters
Parameter 1:
Parameter 2:
Top Margin COR
(IDB Opt. 80 &
81)
with 2 decimals

The option values for option 80 and 81 are calculated using the for-
The values stored in option 80 and 81 for a top margin offset of 1
Marg. inch 1440 × ( ) 256 Value stored in option 81 × ( ) –
1 1440 × ( ) 256 5 × ( ) – 160 =
nearest whole number.
inch are calculated like this:
Marg. inch 1440 ×
0.3937 inch/cm.
256 5 ≈
mulas below.
81:
80:
256 · 1 1440 ×

This SCS options > Paper Settings option defines the offset to be
added to the left margin when printing in Landscape mode. 1 inch =
Option Value (1/1440 inch) IDB Values (Option 86 and 87) User IDB parameter
Value in inches [0.00 .. 2.00] or centimeters [0.00 .. 5.08]
LFTOFFLAN :
0 * [0..2880] 0 + 0 0
User IDB language to set factory default:
I for inches, C for centimeters
Parameter 1:
Parameter 2:
Left Margin Lan
(IDB Opt. 86 &
87)
with 2 decimals

The option values for option 86 and 87 are calculated using the for-
The values stored in option 86 and 87 for a left margin offset in
Marg. inch 1440 × ( ) 256 Value stored in option 87 × ( ) –
Landscape of 1 inch are calculated like this:
1 1440 × ( ) 256 5 × ( ) – 160 =
nearest whole number.
Marg. inch 1440 ×
0.3937 inch/cm.
256 5 ≈
mulas below.
87:
86:
256 · 1 1440 ×

This SCS options > Paper Settings option defines the offset to be
added to the top margin when printing in Landscape mode. 1 inch =
Value in inches [0.00 .. 2.00] or centimeters [0.00 .. 5.08]
Option Value (1/1440 inch) IDB Values (Option 88 and 89) User IDB parameter
TOPOFFLAN :
147 * [0..2880] 147 + 0 0.10
Advanced IDB language to set factory default:
User IDB language to set factory default:
I for inches, C for centimeters
Parameter 1:
Parameter 2:
Top Margin Lan
(IDB Opt. 88 &
89)
with 2 decimals

The option values for option 88 and 89 are calculated using the for-
The values stored in option 88 and 89 for a top margin offset in
Marg. inch 1440 × ( ) 256 Value stored in option 89 × ( ) –
Landscape of 0.102 inch are calculated like this:
0.102 1440 × ( ) 256 0 × ( ) – 147 ≈
nearest whole number.
Marg. inch 1440 ×
256 0 ≈
0.3937 inch/cm.
0.102 1440 ×
mulas below.
89:
88:
256

This SCS options > Paper Settings option defines the page length
Paper size Length in cm Length in inch. Option value
used by the APO/COR (Automatic Page Orientation function/Com-
Option Value (1/1440 inch) IDB Values (Option 82 and 83) User IDB parameter
Letter 27.94 11.00 15840
Legal 35.56 14.00 20160
Executive 26.67 10.50 15120
puter Output Reduction) to calculate page orientation.
PAGLNG :
16848 * [1..65535] 208 + 65 11.70
Values for common page lengths include:
I for inches, C for centimeters
Parameter 1:
Page Length
(IDB Opt. 82 &
83)

The option values for option 82 and 83 are calculated using the for-
The values stored in option 82 and 83 for a page length of 11.70
Value in inches [0.00 .. 45.51] or centimeters [0.00 ..
Length inch 1440 × ( ) 256 Value stored in option 83 × ( ) –
Advanced IDB language to set factory default:
User IDB language to set factory default:
11.70 1440 × ( ) 256 65 × ( ) – 208 =
115.60] with 2 decimals
nearest whole number.
Length inch 1440 ×
256 65 ≈
inch are found like this:
0.3937 inch/cm.
11.70 1440 ×
mulas below.
83:
82:
256

Opt.84 & 85) This SCS options > Paper Settings option defines the page width
Paper size Width in cm Width in inch. Option value
used by the APO/COR (Automatic Page Orientation function/Com-
Option Value (1/1440 inch) IDB Values (Option 84 and 85) User IDB parameter
Letter 21.59 8.50 12240
Legal 21.59 8.50 12240
Executive 18.42 7.25 10440
puter Output Reduction) to calculate page orientation.
PAGWDT :
11908 * [1..65535] 132 + 46 8.27
Values for common page widths include:
I for inches, C for centimeters
Parameter 1:
Page Width (IDB

The option values for option 84 and 85 are calculated using the for-
The values stored in option 84 and 85 for a page width of 8.27 inch
Value in inches [0.00 .. 45.51] or centimeters [0.00 ..
Width inch 1440 × ( ) 256 Value stored in option 85 × ( ) –
&%IDB_EDIT: PAGWDT I 8.27:EXIT
User IDB language to set factory default:
8.27 1440 × ( ) 256 46 × ( ) – 132 ≈
115.60] with 2 decimals
nearest whole number.
Width inch 1440 ×
256 46 ≈
0.3937 inch/cm.
8.27 1440 ×
are found like this:
mulas below.
85:
84:
256

The following table lists menu options found under the TEST
The TEST OPTIONS menu is a sub-menu directly under the
A description of each TEST OPTIONS menu option follows.
SCS5250 Defaults Do Not Restore *, Restore Defaults
Dump Normal Mode *, Hex Dump-Mode
Print 5250 IDB Do Not Print *, Print
TN5250E SETUP menu.
OPTIONS menu.
Menu: Options
Overview
Option name Values · SCS5250 Hex

lems. When hex dump mode is selected, all data sent to the printer
The SCS Debug Trace option overrides this option. This means that
a hex dump is not produced even though this option is set to Hex
is printed in hexadecimal and character representation. Control
Hex Dump-Mode Print job as hex characters without executing
Normal Mode * Normal printer operation.
control codes.
codes are not executed.
Dump-Mode.
Option Value Comments

Print 5250 IDB This Test option prints a report listing the current IDB settings. Print
Do Not Print Do not print the IDB settings. This performs the
same action as if Back had been pressed in the
this report when asked by technical support representatives.
Print Print the IDB settings.
operator panel.
Option Value Comments

Do Not Restore * Do not restore any settings. This performs the same
action as if Back had been pressed in the operator
Restore Defaults Restore to factory default TN5250E SCS option
menu settings.
their factory default values.
panel.
Option Value Comments

emulation expands the possibilities for adapting the SCS/TNe Emu-
This chapter reviews how to use IDB commands to change the SCS
guage to access and configure/customize the SCS options found in
The SCS options are programmed using the IDB language. IDB is
short for Intermate Data Base and refers to the SCS/TNe Emula-
should only be carried out by authorized technical personal.
A complete description is given in the IDB Technical Reference
guide, available on the internet site with manual updates listed in
option settings remotely. Configuration of the IDB settings
tion’s storage of all SCS protocol conversion tables.
the protocol conversion tables.
lation to existing applications.
“Support” on page 4.
The IDB

In addition, the TN5250E users have a second language available.
The IDB languages are to be used during initial setup or re-config-
The IDB languages should not be used to control settings on a job
An IDB language is used directly from the AS/400, iSeries or Main-
frame host by printing IDB command line sequences on the printer.
This is typically done by embedding the unique IDB commands in a
Alternatively, you can retrieve the SCS options as an IDB Configura-
Several sections in this chapter discuss the management of such a
This is the User IDB Language, which is somewhat easier to use.
However, the User IDB Language is only available for working on
the other options requires the use of the Advanced IDB Language.
approximately 20 of the most common IDB options. Working with
tion File via FTP, edit the file with a utility program and upload it.
configuration file (see “IDB Configuration File Management” on
normal text document which is printed like any normal job.
uration of the SCS/TNe settings.
by job basis.
page 254 ff.)

settings, are written after each option description in chapter “Opera-
The chapter on “Additional TN5250e Printer Commands Using IDB”
on page 260 covers IDB commands which can be embedded in the
tions Reference - TN3270E SETUP” on page 85 and in chapter
The descriptions include the available options and their values.
“Operations Reference - TN3270E SETUP” on page 85 and
“Operations Reference - TN5250E SETUP” on page 155.
“Operations Reference - TN5250E SETUP” on page 155.
“Understanding the Control Panel” on page 10 ff.
SCS data stream, including details on syntax.
Detailed references are found in:

IDB Languages Usage The two IDB languages work in similar ways. The differences lie in
the syntax. When an option is altered with one of the IDB command
word processing system (eg OfficeVision) or simply by typing
out error messages, it could be because the characters used
the SCS/TNe Emulation prints out the commands, or prints
languages, the configuration data is sent as text to the SCS/TNe
Sending the programming sequence as ASCII text has no
must reset the SCS OPTIONS to their factory defaults.
at the command prompt and making a "print screen".
2 IDB command strings are not printed.
effect.
Emulation.

The commands used for entering and leaving configuration mode
This causes the changed options to be saved. The new option set-
All configuration options must be separated by a colon. Line feed,
form feed etc. should be avoided, but are accepted in some cases.
and leave configuration mode, by sending the trailer string:
Enter configuration mode by sending the command:
tings are active on the next SCS job.
are common to the two languages.
EXIT
Syntax

Refer to the option descriptions in chapter “Operations Reference -
The chapter on “Additional TN5250e Printer Commands Using IDB”
on page 260 covers IDB commands which can be embedded in the
&%idb_edit:DEFCODPAG 37:EXIT
TN3270E SETUP” on page 85 and in chapter “Operations Refer-
&%IDB_EDIT:DEFCNTCOD 13:
&%IDB_EDIT:
DEFCODPAG 37:
DEFLFTMRG 5:EXIT
Advanced IDB (TN3270E + TN5250E) User IDB (TN5250E)
&%IDB_EDIT:
SCS data stream, including details on syntax.
ence - TN5250E SETUP” on page 155.
&%idb_edit:OPTION 2:2:EXIT
&%IDB_EDIT:OPTION 2:2EXIT
Programming examples
&%IDB_EDIT:OPTION 2:13:
Valid &%IDB_EDIT:
OPTION 103:5:EXIT
OPTION 2:2:<LF>
Invalid &%IDB_EDIT:
Option values

IDB options and events are viewed and edited on a PC screen. After
This approach is perhaps the most convenient as the contents of all
resulting IDB Configuration File can then be downloaded to one or
the editing is done, it is possible to save the settings in a file. The
more printers containing an SCS/TNe Emulation providing easy,
fast, and uniform setups.
Configuration
File
Management

The IDB settings controlling how SCS jobs print can be retrieved via
ftp 201.1.12.123 (Sample IP address)
3 Set the FTP client to binary mode. This is necessary as data
get tn3270e.idb c:\tn3270e.idb (TN3270E users)
get tn5250e.idb c:\tn5250e.idb (TN5250E users)
This stores the file on the PC in the root directory c:.
FTP. The name of the file is fixed and cannot be changed.
The procedure below uses a Microsoft FTP client.
4 Retrieve the IDB configuration file.
is transferred in binary mode.
2 Enter the "/lti" directory.
1 Start a FTP session.
Configuration File
cd /lti · binary

5 End the FTP session.
bye

The utility program used for editing the IDB configuration file is DOS
TN3270E P01-xxxx.zip This contains the 3270 IDB configuration file editor
TN5250E P02-xxxx.zip This contains the 5250 IDB configuration file editor
described in this guide. Only options and events described in this
guide should be configured.The IDB configuration file is edited by
The retrieved IDB file contains additional options and events not
starting the relevant utility program and loading the retrieved IDB
based and is available on the internet site with manual updates
listed in “Support” on page 4. Look for the following files.
program, also known as IDBT.exe.
program, also known as IDB.exe.
file.
Configuration File
asterisk appears in the operator panel to indicate
Option settings should not be set outside their
operator panel ranges. If this is done, then no
the current setting. The Menu Settings Page
shows the text string "[invalid]" for options set
outside their ranges.
Protocol File Comments

The download file name is fixed. Downloading a file with a different
ftp 201.1.12.123 (Sample IP address)
3 Set the FTP client to binary mode. This is necessary as data
name will result in an unreadable printout. No IDB settings will be
When the IDB configuration file has been edited it can be down-
The procedure below uses a Microsoft FTP client.
is transferred in binary mode.
loaded to the SCS/TNe Emulation.
2 Enter the "/lti" directory.
1 Start a FTP session.
changed.
Configuration File
cd /lti · binary

put c:\tn3270e.idb (TN3270E users)
put c:\tn5250e.idb (TN5250E users)
The downloaded IDB settings are active on the next SCS job.
This stores the file from a PC’s root directory.
4 Store the IDB configuration file.
5 End the FTP session.
bye

which must be sent from the AS/400 or iSeries in order to be recog-
This chapter presents the syntax for creating these commands,
See “IDB Basics” on page 248 ff. for background information on
The commands you may work with fall into three groups:
nized, i.e. included in the SCS data stream.
for controlling the printer.
3 Miscellaneous
Using IDB
IDB.

Text, decimal numbers, and hexadecimal numbers can be mixed by
261 TN5250e Printer Commands Using IDB: Input Data String Syntax
slash in front followed by two hex digits. Use
Decimal: Decimal numbers are entered normally.
Text: Text has to be put in quotation marks.
separating each element with a comma. Example:
Use commas to separate.
commas to separate.
"This is a text"
numbers.
/0A,/0D, "Text",12,/0D,10,"More text",- · 12,34,24,67,12,3,45,6,7,90,255 · 45,"Last text",/0C

Before working with the additional commands, you need to familiar-
The events can be used to download a small logo or set the printer
262 TN5250e Printer Commands Using IDB: Initializing - Power On Initialize
ize yourself with the Power On Initialization. This is used to set up
7 DEFSRCDRW (Source drawer) is selected depending on the
With the Power On events, it is possible to set up four strings of
1024 bytes each which are sent to the printer at power On.
1 Power On, events 0, 1 and 2 are triggered.
2 DEFMPP (Max print positions) is selected.
6 DEFPRTQLT (Print quality) is selected.
5 DEFLPP (Form length) is selected.
SCRDRW (source drawer definition).
the printer each time it is powered On.
4 DEFLPI (LPI) is selected.
to a specific emulation.
Initializing -
Power On
Initialize

263 TN5250e Printer Commands Using IDB: Initializing - Power On Initialize
The rest of this chapter is devoted to a run-through of the com-
POWON 3 "Power initialize 3":
The command corresponds to event 0 - 3.
POWON :
mands you can work with.
Command:
Parameter:
Example:

and to event 74 - 78 for parameters 4 - 8. The events 74 - 78 require
> Source Drawer This is triggered by the AS/400 or iSeries command PPM (Page Pre-
be triggered by the DEFSRCDRW command at Power On. See section
programming before they can be used to select a specific input tray.
264 TN5250e Printer Commands Using IDB: Paper Handling > Source Drawer
sentation Media) when a specific input tray is selected. It can also
Refer to the IDB Technical Reference guide, available on the inter-
The command corresponds to event 66 - 68 for parameters 1 - 3
net site with manual updates listed in “Support” on page 4.
“Source Input (IDB Option 113)” on page 225.
SRCDRW -:
Parameter:
Example:
Paper Handling
drawer 1 · drawer 3

This is triggered by the AS/400 or iSeries command PPM (Page Pre-
setting dest.drawer 2 to bin 1
dest.drawer 1
265 TN5250e Printer Commands Using IDB: Paper Handling > Destination Drawer
sentation Media) when a certain output drawer (bin) is selected. It
can also be triggered by the DEFDSTDRW command at Power On.
See section “Output Bin (IDB Option 115)” on page 227.
The command corresponds to event 59 - 61.
DSTDRW :
Parameter:
Example:
Paper Handling
> Destination
Drawer

This is triggered by the AS/400 or iSeries command PPM (Page Pre-
sentation Media) when printing on paper or envelopes is selected. It
PAP Select paper media
ENV Select envelope media
266 TN5250e Printer Commands Using IDB: Paper Handling > Select Paper / Envelope Media
can also be triggered by the DEFFRMSEL command at Power On.
See section “Forms Media (IDB Option 114)” on page 226.
The command corresponds to event 62 - 63.
SLTMED :
SLTMED PAP "Paper media":
Command:
Parameter:
Example:
Paper Handling
> Select Paper /
Envelope Media

This is triggered by the AS/400 or iSeries command SPSU (Set Print
CON Select continuous paper feed
CUT Select cutsheet feed
MAN Select manual feed
267 TN5250e Printer Commands Using IDB: Paper Handling > Select Paper Feed
Setup) when a certain kind of paper feed is selected.
SLTPAPFED :
The command corresponds to event 64 - 65.
SLTPAPFED MAN /1B,"&l2H":
Command:
Parameter:
Example:
Paper Handling
> Select Paper
Feed

tation Media) when simplex or duplex printing is selected. It can also
It is triggered by the AS/400 or iSeries command PPM (Page Presen-
be triggered by the DEFSIMDUP command at Power On. See section
DUP Select duplex long edge binding
TUM Select duplex short edge binding
268 TN5250e Printer Commands Using IDB: Paper Handling > Select Simplex/Duplex Printing
This is used when simplex or duplex printing is selected. The com-
mand can only be used if the printer supports duplex printing.
“Simplex/Duplex (IDB Option 116)” on page 228.
SLTSIMDUP :
The command corresponds to event 57 - 58.
SLTSIMDUP DUP /1B,"&l1S":
Command:
Parameter:
Example:
Paper Handling
> Select
Simplex/Duplex
Printing
SIM Select simplex · (tumble)

Before/After Code page 259 is a character set which only contains symbols and
With this command it is possible to switch to another character set
in the printer each time code page 259 is used. This can be used to
It is also possible to select another font in the printer, e.g. a special
The COD259 BEF command is executed each time there is a switch
to code page 259 from another code page. It is not executed if code
The COD259 AFT command is executed each time there is a switch
269 TN5250e Printer Commands Using IDB: Code Page 259 > Before/After
signs. Most of the symbols and signs are not contained in the nor-
switch to a symbol character set or a special "symbol font" if it has
from code page 259 to another code page. It is not executed if the
mal character set of the printer which means that they cannot be
The command corresponds to event 140 - 141.
previous code page was not code page 259.
COD259 :
been downloaded to the printer.
page 259 is selected repeatedly.
used from AS/400 or iSeries.
mathematical font.
Code Page 259 >

BEF Before code page 259 selection
AFT After code page 259 selection
270 TN5250e Printer Commands Using IDB: Code Page 259 > Before/After
COD259 BEF "Command":
Parameter:
Example:

When overlay call is enabled with the OVLCAL command, command
1 or 2 is executed at the top of each page immediately before the first printable character. See section “Overlay Call (IDB Option 28)”
on page 179. OVLDRW command 1 is executed when paper tray 1 is
selected and OVLDRW command 2 is executed when paper tray 2 is
macro no. 3
271 TN5250e Printer Commands Using IDB: Miscellaneous > Overlay Command
The command corresponds to event 55 - 56.
OVLDRW :
Command:
Parameter:
selected.
Miscellaneous
> Overlay
Command

272 TN5250e Printer Commands Using IDB: Miscellaneous > Before / After Formfeed
BEFAFTFED :
BEFAFTFED BEF "Command":
Command:
Parameter:
Example:
Miscellaneous
> Before / After
Formfeed
BEF Before formfeed · AFT After formfeed

Event 69 and 70 are always triggered. Events 147 and 148 provide
additional triggering capacity if triggering of event 69 or 70 is insuffi-
POR Before portrait selection
LAN Before landscape selection
PCL command for setting top
margin to 0 and moving print
position to line 0
273 TN5250e Printer Commands Using IDB: Miscellaneous > Before Portrait/Landscape Selection
This command corresponds to events 147 and 148. Event 147 is
triggered after event 69. Event 148 is triggered after event 70.
BEFPORLAN POR /1B,"&l0E",/1B,"&a0V":
BEFPORLAN :
Command:
Parameter:
Example:
cient.
> Before
Portrait/
Landscape
Selection

This is used as an extra headline when printing IDB and hex dumps
used for stating specific information on the front page. This could be
IDB Status printout subtitle
HEX Hexdump printout subtitle
274 TN5250e Printer Commands Using IDB: Miscellaneous > IDBdump/Hexdump Subtitle
The command is executed on the top of the first page. It may be
information describing which IDB profile is used, printer type, or
SUBTIT HEX "Setup for test 05-18-99":
SUBTIT IDB /0A,/0D,"SCS Printer":
The command corresponds to event 96 - 97.
SUBTIT :
company name.
Parameter:
Example:
Miscellaneous
> IDBdump/
Hexdump
Subtitle

the top margin. The string is only sent if the print position is placed
setting top margin to 0
and moving print position to line 0
275 TN5250e Printer Commands Using IDB: Miscellaneous> Move to Uppermost Line
at line 1 and no characters have been printed. The contents of the
This is used if a movement upwards is needed in order to reduce
The command corresponds to event 79.
MOVUPRLIN :
string could be PCL codes like:
Command:
Example:
Miscellaneous
> Move to
Uppermost
Line

terms and conditions. For warranty information, refer to your printer
documentation.
included with

optional firmware connector; the Card also provides IPDS emulation
Description The SCS/TNe Emulation is an option which is installed in the printer
The SCS/TNe Emulation autodetects installed features to set initial
With the Card and a Standard Network or a MarkNet internal print
server (Ethernet), the printer becomes an IBM AS/400, iSeries, or
With the appropriate AS/400, iSeries, or Mainframe host software
and this option, the printer can emulate an IBM 3287/3812 in LU1
Mainframe host workstation printer capable of printing SCS docu-
settings for options such as duplex support (TN5250e only).
mode (3270 SCS) or an IBM 3812-01 (5250 SCS) printer.
Up to four TN5250e connections are supported.
ments received over a LAN connection.
One TN3270e connection is supported.
(see separate documentation).
Appendix - Specifications, Requirements, Features: Product Description
Product

278 Appendix - Specifications, Requirements, Features: Compatibility
Compatible Print Servers

279 Appendix - Specifications, Requirements, Features: Print Platforms
R5, or V5R1-R3 or greater.
tion level 310 or greater
AS/400 and iSeries Software
with PTFs installed.
V3R2 or greater

280 Appendix - Specifications, Requirements, Features: Features List: 3270 SCS
and use.

281 Appendix - Specifications, Requirements, Features: Features List: 5250 SCS
and use.
tion (APO)

Hex ASCII Decimal Hex ASCII Decimal Hex ASCII Decimal Hex ASCII Decimal
20 space 32 38 8 56 50 P 80 68 h 104
21 ! 33 39 9 57 51 Q 81 69 i 105
23 # 35 3B ; 59 53 S 83 6B k 107
24 $ 36 3C < 60 54 T 84 6C l 108
25 % 37 3D = 61 55 U 85 6D m 109
26 & 38 3E > 62 56 V 86 6E n 110
27 ’ 39 3F ? 63 57 W 87 6F o 111
28 ( 40 40 @ 64 58 X 88 70 p 112
2A * 42 42 B 66 5A Z 90 72 r 114
2B + 43 43 C 67 5B [ 91 73 s 115
2C , 44 44 D 68 5C \ 92 74 t 116
Characters The table shows all ASCII printable characters.

283 Appendix - ASCII Character Table: Printable Characters
Hex ASCII Decimal Hex ASCII Decimal Hex ASCII Decimal Hex ASCII Decimal
2D - 45 45 E 69 5D ] 93 75 u 117
2E . 46 46 F 70 5E ^ 94 76 v 118
2F / 47 47 G 71 5F _ 95 77 w 119
30 0 48 48 H 72 60 ‘ 96 78 x 120
31 1 49 49 I 73 61 a 97 79 y 121
32 2 50 4A J 74 62 b 98 7A z 122
33 3 51 4B K 75 63 c 99 7B { 123
34 4 52 4C L 76 64 d 100 7C | 124
35 5 53 4D M 77 65 e 101 7D } 125
36 6 54 4E N 78 66 f 102 7E ~ 126
37 7 55 4F O 79 67 g 103

IDB Report 1 From a Ready status in the operator panel press the MENU
MENU > TN3270E SETUP > TEST OPTIONS > SCS IDB
Special TN3270e IDB Commands
Dump > Print.
button.
How to Print an

285 Appendix - TN3270e IDB Commands: List of Commands
3 {X}YYY[,ZZZ] Formatted string (X = Option 168, YYY = String #, ZZZ = Parameters)
5 {XY} Enter special transparent mode (X = option 171, Y = option 172)
Commands Larger numbers indicate higher precedence.
5 -M Standard handling of format control codes
5 HEXDUMP Enter hex-dump mode (small format)
5 HEXDUMP_FULL Enter hex-dump mode (large format)
5 /... Enter Intermate transparent mode
5 L{xx} Reserved, active if option 31 = 0
5 W{xx} Reserved, active if option 31 = 0
5 O{xx} Reserved, active if option 31 = 0
5 = Reserved, active if option 31 = 0
5 REG Dump House Keep information
5 +M Suppress format control codes
5 IDB_PRINT Dump IDB (small format)
5 IDB_PRINT_FULL Dump IDB (large format)
5 IDB_EDIT Enter IDB edit mode
5 NOHEXDUMP Exit hex dump mode
Precedence Command Comments

286 Appendix - TN3270e IDB Commands: List of Commands
Refer to the chapter on Understanding the Control Panel (page 10) if necessary.
2 Double CSC (prints )
1 {XY} Single transparent character
Precedence Command Comments

The distinction is between control of text, orientated according to a
format control buffer) and control of the text orientation from the text
usually printed in landscape and compressed if the automatic page
orientation (APO) and computer output reduction (COR) in the SCS/
The focus of this discussion is on how the printer automatic controls
operate, as the user does not always have the possibility of defining
whether a printout is to be rotated and compressed in the system. It
set text orientation command (STO) in the data stream (the FCB -
Emulation is reacting to the page format stated in the FCB. This is
found in fanfold lists which are normally printed on matrix printers
with wide platens. The automatic controls can easily be tested by
using the "Print Screen" key from the system. The screen dump is
orientation automatic of the SCS/TNe Emulation. The SCS/TNe
TNe Emulation is switched on with the CORDRW command.
portrait to landscape based on menu option settings.

Length (IDB Opt. 82 & 83)” on page 240 and to section “Page
is assumed that no STO commands are present in the data stream
from the system. The STO commands always take priority over the
288 Appendix - COR/APO Logic (TN5250e): Details
Details The following points refer to the flowchart in the end of this appen-
PAGLNG and PAGWDT option settings. Refer to section “Page
These two measures are compared with values set in the
Width (IDB Opt.84 & 85)” on page 242, which together
characters per inch (pitch) =
page width (inches) characters per line
lines per inch (LPI) =
Use an A4 page format as valid page.
page length line per page
specify the maximum valid page size.
automatic controls of the printer.
found in the FCB.
Example:
dix.

2 If the page format stated in the FCB is within (or equal to) the
page size settings of the PAGLNG and PAGWDT option settings,
landscape provided the page length is smaller than the width,
otherwise it will be in portrait. In both cases the font selected
exceeds the page size stated in the SCS/TNe Emulation the
page size is "invalid". The result is a compressed landscape
option setting. Refer to section “COR LSI Reduc (IDB
289 Appendix - COR/APO Logic (TN5250e): Details
3 If either the page width or the page length from the system
and TOPOFFCOR option settings. Refer to section “Top
Margin COR (IDB Opt. 80 & 81)” on page 234 and to
the page size is "valid". In that case the printout will be in
printout by means of the COR algorithm in the SCS/TNe
to a percentage value according to the LINSPRED
section “Left Margin COR (IDB Opt. 78 & 79)” on
PAGLNG = A4 and PAGWDT = A4
Option 127)” on page 207.
by the system is used.
page 232.
Emulation.

characters. Therefore a final control exists, which allows the
user to prevent a compressed landscape printout and force it
290 Appendix - COR/APO Logic (TN5250e): Details
number of characters per line, which is normally set to 132
printout into landscape. The ROTATE/PAGRTT forces
values for page length, characters per line etc. The user
might have few or no possibilities off changing, e.g., the
Portrait can be forced with one of the statements below.
options the statements TEXT/PRTQLTY forces the
the printout into portrait if only APO is enabled.
into portrait with a font selected by them.
smaller font.
or iSeries.

iSeries it is possible to affect the system print parameters in the FCB
by changing the printer file containing default settings for the device.
information on this subject. Defining the printer file to make the COR
The previously mentioned "screen dump" will use the default printer
landscape print job controlled by the STO command is received, and
job. The result is a landscape printout. This is the only way an origi-
nal IBM 3812 can operate. However, a default page orientation can
(IDB Option 121)” on page 199 and to section “Def Page Ori 2 (IDB
291 Appendix - COR/APO Logic (TN5250e): Details
QSYSPRT (CHGPRTF FILE(QSYSPRT)) or creating your own printer
file (CRTPRTF). Please consult your AS/400 or iSeries manuals for
second job is affected by the STO command received with the first
be set with the ORTDRW # option. Refer to section “Def Page Ori 1
profile on the AS/400 or iSeries for the device. On the AS/400 or
is normally done in connection with IPDS page printers as these
mand will control the rotation of the printout. This means that if a
this is followed by a print job without the STO command, then the
If the APO/COR is disabled (CORDRW 1/2 = OFF), the STO com-
This is done by either changing the existing system printer file
Option 122)” on page 200 for paper tray 1 and 2, respectively.
printers do not support the APO/COR function.

292 Appendix - COR/APO Logic (TN5250e): Flowchart
Disable COR and set Portrait as default orientation for
CORDRW 2 = OFF and ORTDRW 2 = POR
drawer 2 only.
Example:
Flowchart See next page.

293 Appendix - COR/APO Logic (TN5250e): Flowchart

Page Orientation Logic Flowchart

IDB Report 1 From a Ready status in the operator panel press the MENU
MENU > TN5250E SETUP > TEST OPTIONS > Print IDB
Special TN5250e IDB Commands
Dump > Print.
button.
How to Print an

295 Appendix - TN5250e IDB Commands: List of Commands
5 {XY} Enter special transparent mode (X = Option 171, Y = Option 172)
Commands Larger numbers indicate higher precedence.
1 {XY} Single or Multibyte transparent character
5 - Standard handling of format control
5 /... Enter Intermate transparent mode
Refer to the chapter on Understanding the Control Panel (page 10) if necessary.
5 + Suppress format control codes
2 Double CSC (prints )
5 IDB_PRINT Dump IDB (small format)
5 IDB_PRINT_FULL Dump IDB (large format)
5 IDB_EDIT Enter IDB edit mode
5 IDB_STATUS Print status dump
5 -X Trig event no. X
5 IDB_FONT Print font list
Precedence Command Comments

When attempts to program more than 50 IBM fonts are made, it will
print out a message and a font table status sheet. This status sheet
Alternatively, an existing IBM font definition can be overwritten with
The PRGFNT DEL command deletes an IBM font defined in the font
programmed in the font table. It is not necessary to use the PRGFNT
limit of 50 fonts + 3 fonts used for COR (Computer Output Reduc-
tion). The SCS/TNe Emulation will detect free font table positions.
has the IBM IDs indicated in the second column. To free font posi-
table. This is necessary if more than 50 different IBM font IDs are
tains the conversion between the IBM font IDs (sent from the sys-
tem) to the internal fonts used in the printer. The font table has a
tions the DEL parameter in the PRGFNT command has to be used.
DEL command if an existing IBM font ID is used. In that case, the
PRGFNT command overwrites all information attached to the previ-
TN5250e Font Table
the PRGFNT command.
ous font definition.

D10159, D10160, D10163 and D10175. The loading of these fonts
297 Appendix - SCS TN5250eFont Table: Introduction
which may be loaded into printer memory at Power On. The font
table is prepared for using these fonts. The fonts are loaded with
can be disabled via the operator panel using the Download Font
fonts. The font FGIDs are 3 (OCR-B), 155 (Boldface Italic), 159
(Boldface), 163 (Essay Bold), 160 (Essay) and 175 (Document)
The SCS/TNe Emulation has six PCL soft fonts emulating IBM
code page PC-850 (12U) and with font ID D10003, D10155,
(IDB Option 244) option. See page 188.

the status printout (&%IDB_STATUS), as these
fonts represent the substitution font IDs set
298 Appendix - SCS TN5250eFont Table: The "Font" Programming Command
This command corresponds to the advanced IDB language FONT
PRGFNT :
by the SETSUBFNT command.
PRGFNT DEL :
command.
Programming
Command

This value indicates the IBM font sent from the sys-
299 Appendix - SCS TN5250eFont Table: The "Font" Programming Command
tem. Note that the IBM font numbers are divided
751-...
into the groups below.
proportional:
typographic:
10 pitch:
12 pitch:
13 pitch:
15 pitch:
17 pitch:
20 pitch:
27 pitch:
5 pitch:

This can contain all characters and has a maximum
length of 255 characters. It has to be programmed
the same way as printer command input data. The
parameter is optional. No string definition
always sends a character spacing command
has no effect. It is overwritten by a
character spacing command corresponding
to the font areas described under .
300 Appendix - SCS TN5250eFont Table: The "Font" Programming Command
after the entire font command. This means
Emulation or the printer has to control the spacing
when using proportional fonts (Fonts with IBM no.
N This value is used whenever the font is not
The spacing determines whether the SCS/TNe
that a spacing command entered in the
will delete the definition of an existing font.
with the correct character spacing.
proportional.

ter spacing is expected. Please note that this
When selecting a font, a predefined string (String no. 100) is printed
before . The predefined string contains the symbol set and
1 The Letter Gothic PCL font is selected when IBM font ID 87
301 Appendix - SCS TN5250eFont Table: The "Font" Programming Command
P Selection of "P" causes the printer to handle
connection with programming of a font in the
IBM proportional spaced area (154-200), the
portional spaced fonts. If a PCL proportional
spaced font is placed in the IBM proportional
should be used if the PCL font’s own charac-
gives no support for justification, bolding and
SCS/TNe Emulation prepares itself for sup-
ensures correct spacing of downloaded pro-
spaced area (154-200), then this parameter
the character spacing. If "P" is selected in
port for downloaded IBM PS fonts. This
(Letter Gothic 12 pitch) is sent from the system.
PRGFNT 87 N /1B,"(s0p12h0b4102T":
underlining.
is normally /1B,"(12U".

"proportional spaced" font area, and font 10175 is expected
302 Appendix - SCS TN5250eFont Table: The "Font" Programming Command
(Essay) is sent from the system. Font ID 160 is within the
to be 100% IBM compatible as to the character spacing:
PRGFNT 160 P /1B,"(s1p12.72v0s0b202T":
PRGFNT DEL 244
PRGFNT DEL 160
new font definitions:

font is substituted with a similar font defined in a special area of the
303 Appendix - SCS TN5250eFont Table: Set Substituted Font ID
Font ID If a font ID sent from the system is not found in the font table, the
(&%IDB_STATUS) represent the substitution fonts for the following
font table. The first 7 font positions listed in the status printout
Pitch area IBM font area Font table position
SETSUBFNT :
in the font table.
areas.

this command. The entire font definition (incl. string
before/after etc.) is transferred to font table position
another position in the font table. It is, however, still
304 Appendix - SCS TN5250eFont Table: Set Substituted Font ID
available with font ID 67, but all font IDs sent from
present in the SCS/TNe Emulation with a specific
font ID, are printed with the definition of font 86.
the system in the range 66-153, which are not
Example:

The following paragraph does not apply to any country where such provisions
PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied
This publication could include technical inaccuracies or typographical errors. Changes
are periodically made to the information herein; these changes will be incorporated in
later editions. Improvements or changes in the products or the programs described
PROVIDE THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND,
warranties in certain transactions, therefore, this statement may not apply to you.
EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
© Copyright 2009 Lexmark International, Inc.
Fourth Edition July 2009, Rev 004.
© Copyright 2009 Kodak
may be made at any time.
All rights reserved.
Emulation
User’s Guide

AFP, AIX, AS/400, IBM, iSeries, MVS, OS/2, OS/400, Print Services
tered trademarks of Ricoh Co., Ltd in the United States, other coun-
sion are trademarks of Lexmark International, Inc. registered in the
International Business Machines Corporation in the United States,
Lexmark and Lexmark with diamond design, MarkNet and MarkVi-
Intelligent Printer Data Stream and IPDS are trademarks or regis-
Facility, PSF, System/390, zSeries, and z/OS are trademarks of
PCL is a registered trademark of the Hewlett-Packard Company.
PostScript is a registered trademark of Adobe Systems Incorpo-
Other trademarks are the property of their respective owners.
United States and/or other countries.
Intermate is a trademark of Kodak.
other countries, or both.
tries, or both.
rated.









Pages referenced in this manual — manufacturer, support and downloads.
Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.