Xerox 3270 User Manual

Rank Xerox Electronic Documentation
Solution for Xerox Printers
Laser 3270
Programmer’s Guide
Doc. no. D62077 Revision 00
WARNING:
This equipment generates, uses, and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual, may cause interference to radio communications. It has been tested and found to comply with the limits for a Class A computing device pursuant to Subpart B of Part 15 of FCC Rules, which are designed to provide reasonable protection against such inter­ference when operated in a commercial environment. Operation of this equipment in a residential area is likely to cause interference in which case the user at his own expense will be required to take whatever measures may be required to correct the interference.
This product observes the rules and regulations of the EMC directive. If so required, a declaration of conformity in local language stipulating the applied rules and regulations can be obtained.
Trademarks:
Company and product names mentioned in this datasheet are trademarks or registered trademarks of their respective owners.
3270 Programmer’s Guide Preface

Preface

August 1997
Please note that all products will be referred to as the “3270 protocol converter” or simply the “converter”. This manual applies to the 3270 Protocol Converter - the advanced use and programming of it.
NOTE: Not all FSL functions and functionality described in this programmer’s guide may be supported in the products referring to this manual. Please refer to your respective user’s guide for a precise definition of supported functionality.
This section contains a description of all the features and functions which are identical in FSL, PCL and XES mode. Please note that some features will be briefly introduced in this section and then elaborated on in the separate printer driver Programmer’s Guides listed below.
NOTE: As the printer drivers vary somewhat in functionality, on the diskette supplied you will find two separate documents describing the differences:
D62071: FSL 3270 Programmer’s Guide D62030: PCL 3270 Programmer’s Guide D62067: XES 3270 Programmer’s Guide
FSL 3270 Programmer’s Guide
A description of how to program the product in FSL mode. The
manual contains a full list and description of the supported setup functions (i.e. FSL functions).
PCL 3270 Programmer’s Guide
A description of how to program the product in PCL mode. The manual contains a full list and description of the supported PCL setup functions.
- 2 -
3270 Programmer’s Guide Preface
XES 3270 Programmer’s Guide
A description of how to program the product in XES mode. The manual contains a full list and description of the supported XES setup functions.
The manuals describe the configuration of the 3270 Protocol Converter to a specific printer or a specific application.
The reader must have basic knowledge and understanding of IBM computer systems, especially the IBM 3270 Information Display System. The reader should also be familiar with the printer that will be connected to the specific product in question.

Related Manuals:

The original manuals for the PCL printer. The original manuals for the IBM printers
"IBM 3268 Printer Models 2 and 2C Description" IBM Order No. GA27-3268
Contains information on the IBM 3268 printer emulated.
- 3 -
3270 Programmer’s Guide Table of Contents

Table of Contents

Preface..............................................................................................2
Table of Contents............................................................................4
1. Introduction..................................................................................5
1.1. FSL Printer Driver............................................................... 6
1.2. PCL Printer Driver .............................................................. 6
1.3. XES Printer Driver .............................................................. 7
1.4. Features .............................................................................7
1.5. 3270 Protocol Converter Programming .............................. 8
1.6. Serial Input/Output ............................................................. 9
2. Function Selection via the Line..................................................10
2.1. Escape Character............................................................... 10
2.1.1. Defining Temporary Escape Character ................12
2.1.2. Removing Temporary Escape Character..............13
2.1.3. Defining Permanent Escape Character ................13
2.1.4. Removing Permanent Escape Character .............14
2.2. Sending HEX Codes................................ ........................... 14
2.3. Apostrophe Notation........................................................... 15
2.4. Testing via the Line ............................................................16
3. Manipulation of Temporary and Permanent Memory Areas.....17
3.1. The Three Levels of Settings ................................ .............17
3.2. Commands for Storing and Restoring Settings .................. 19
3.2.1. Functions where power off/on is needed ..............20
3.2.2. Functions with no need for %X1 storing ...............20
3.3. Action at Power On................................ ............................. 20
3.4. Restricting Access.............................................................. 21
4. IBM 3270 Related Functions - Special Settings.......................22
4.1. Page Presentation Media Command ..................................23
4.2. Functions Read by the IBM Controller ............................... 23
4.3. IBM RPQ Settings .............................................................. 24
4.4. IRQ Time ............................................................................25
5. Serial Input...................................................................................27
6. Printer Sharing.............................................................................28
7. Printer Initialization by User Strings..........................................29
7.1. The User Strings ................................................................ 29
7.1.1. User String as Input ..............................................30
Appendix A: RS 232/V24 Cable Connection (serial support).......32
Appendix B: List of Abbreviations.................................................33
Index..................................................................................................34
- 4 -
3270 Programmer’s Guide Introduction

1. Introduction

The 3270 Protocol Converter enables any Xerox laser printer to be connected to an IBM computer system.
Printer Drivers - FSL, PCL and XES
With the 3270 Protocol Converter you have the option of selecting between three printer drivers, the FSL, the PCL and the XES printer driver (only up to two drivers supported at a time in any given product).
All printer drivers may not be supported in all the products. Please check your User’s Guide supplied with the product for the exact printer driver(s) supported.
For selection/changing of printer driver, you are referred to your specific User’s Guide as well.
NOTE:
- 5 -
3270 Programmer’s Guide Introduction
In case the converter is equipped with a serial connector, it supports serial input or output.
In all three printer drivers, centronics input and output is supported. The 3270 Protocol Converter can be used with most Xerox printers.
NOTE: The printer driver must be selected before you start the operation of the device.

1.1. FSL Printer Driver

To select the FSL printer driver, see the User’s Guide originally supplied with your product.
This printer driver is a user specific printer driver ready for program­ming.
You will have to program the internal setup of the protocol converter to suit your printing requirements. See the FSL 3270 Programmer’s Guide, D62071 for further configuration in FSL mode.
When to use the FSL driver:
If you need serial output from the converter to connect a printer or
other device that needs serial input.
If you want to send printer commands directly to the printer
If a printer without PCL4 or PCL5 emulation should be connected.

1.2. PCL Printer Driver

To select the PCL printer driver, see the User’s Guide originally supplied with your product.
The default configuration of the converter will suffice for most application programs and uses. You should only change the configuration if you have special requirements.
If you should wish to change the configuration, the options may be set from the line as described in this manual. See the PCL 3270
- 6 -
3270 Programmer’s Guide Introduction
Programmer’s Guide, Doc. no. D62030
- 7 -
3270 Programmer’s Guide Introduction
Full IBM 3268/87 and 4214 emulations including the APL feature
and all applicable RPQs (subject to restrictions of the ASCII printers).
Serial input or output (in case of serial connector)
Access to all the special facilities on your Xerox printer from the
host.
Automatic input sharing between Coax, Centronics and RS (in
case of serial connector) input.
Coax FSL setup via Centronics.
Support of up to 8 user strings of variable length can be transmit-
ted to the printer from the converter - automatically at power on and before and after Local Copy from the host system.
Up to 16 translate tables (8 for text and 8 for APL) which may be
modified as you wish. Each character from the host may be transmitted to up to 12 ASCII characters.
Flash PROM allowing the downloading of new firmware via the
coax or the Centronics port.
Full backwards compatibility with existing products.
Support of ida PSS software package

1.5. 3270 Protocol Converter Programming

The 3270 Protocol Converter uses a large number of internal setup functions. See Chapter 2. Function Selection via the Line. When the converter is installed and connected to a printer, you may have to consider the use of these settings.
NOTE: (If running in FSL mode)' The converter should be programmed to make your decentralized printer as fully 3268/3287 compatible as possible. This is particularly important in an SNA/LU1 environment.
- 8 -
3270 Programmer’s Guide Introduction
The settings can be downloaded as special commands from your IBM system or from a PC to the Centronics or RS 232 (in case of serial connector) input port. The converter uses these commands for its own internal setup.
Initially, the settings can be downloaded to the temporary memory area (see Chapter 3. Manipulation of Temporary and Permanent Memory Areas) of the converter, where they take immediate ef fect. The settings in the RAM area may be saved permanently in the permanent memory area, if specified by a special command. The permanent memory area is read each time power is turned on to the converter or when you give a special command.

1.6. Serial Input/Output

NOTE: This section only applies if your product is equipped with a serial connector
The serial port can be configured as input or output.
SERIAL OUTPUT
For serial output, the FSL printer driver has to be used. For details on this, please see doc. no. D62071.
SERIAL INPUT
For serial input, you can use both FSL and PCL printer drivers. For details on serial input, please refer to relevant chapters in D62071 (FSL) and D62030 (PCL) for details.
- 9 -
3270 Programmer’s Guide Function Selection via the Line

2. Function Selection via the Line

Function Selection via the Line (FSL) sequences are special com­mands used for the downloading of settings to the 3270 Protocol Converter .
The syntax of an FSL command is shown below. "%" is the defined escape character (i.e. ESC character). See the section on "Escape Character" in the following.
%Y<Function number>, <parameter>%
Syntax of an FSL command
When you send the FSL syntax to the converter via the line, the "Y" and the following number will select an FSL Function.
All spaces and IBM control codes between the leading and the trail­ing ESC characters will be ignored.
The FSL Functions are used for setting up the printer to special applications, to carry out a special print job, or to gain access to special facilities in the printer. A complete description of the sup­ported FSL Functions for the printer drivers FSL , PCL and XES are found in documents no. D62071, D62030 and D62067 respectively.
The Function numbers and parameters are listed as data options along with a description of the results of selecting each option. The parameters set the selected Function as required.

2.1. Escape Character

If you wish to program the converter, you must first define an "ESC character "1. An ESC character is a signal to the converter that the characters following the ESC character form a command sequence.
1
In this manual, the ESC character is synonymous with the defined escape character. Do not
confuse it with the ASCII escape control code (1B HEX).
- 10 -
3270 Programmer’s Guide Function Selection via the Line
Once a character has been defined as the ESC character, it cannot be printed or used as a normal character. However, it is not neces­sary to have an ESC character defined permanently. When the ESC character has served its purpose, it can be deleted.
When you have defined an ESC character in the converter, the following facilities will be available to you:
Sending HEX codes (00 to FF) directly to the printer
Changing the settings of the converter
Sending special commands to the converter (e.g. to save the
contents of the temporary memory in the permanent memory).
When the converter receives the characters following the ESC character, it will use them for special purposes.
Below you will find examples of FSL commands, where "%" is the defined ESC character :
Escape Sequence Function
%Y6,100% Set Function 6: Maximum Print Posi-
tion (MPP) to 100
%Y8,04% Set Function 8, LU1 Language, to
Belgian
%Y61,1,1B,26,6C,32,58% Define user string 1 with the PCL
command "print 2 copies"
NOTE: In FSL mode, the notations ":" and ";" have special meanings in the FSL Functions 75 and 80. See D62071, the section "Overwriting the Translate Tables" for more information.
- 11 -
Loading...
+ 23 hidden pages