User string as input – Xerox 3270 User Manual

Page 30

Advertising
background image

3270 Programmer’s Guide
Translate Tables

- 30 -

been programmed, you only need to enter 3 characters in the data-
stream to send the user string to your printer.

%Z<user string no. >

Sending user string under host control

Several functions relate to the user string facility. Among these func-
tions are:

Function Y61, Setup of User Strings, used for the defining of the
user strings.

Function Y51, User Defined Strings at Power On, used for
specifying the "Power On" string

Function Y52, User Defined Strings at Printer Power On/Printer
Error, specifying the Error Recovery strings.

Examples:

Escape Sequence

Function

%Y61,3,1B,45%

Defines string 3 with the PCL com-
mand for "RESET".

%Y51,1,5,7%

Send strings 1,5,7 at power on

%Y52,4%

Send string 4 at printer error

%Z6

Send string 6

Fig. 7-1 User string commands

7.1.1. User String as Input

Function Y90, User Escape String Definition is used to define a
string which can be sent to the interface as input. Since the string is
sent as input to the interface it can be used to change FSL setup
functions.
In Function 90, you may define strings with "identifiers" in HEX de-
pending on the available memory area in the permanent memory
area. These strings are sent as input to the interface when escape
"identifier" is received via the line.

%Y90,1A,'ABCD':8F,'%Y2,8%'%

Advertising