# SP-TRANSLATE

Updated: 10/28/2020, 12:05:40 PM
Created: 10/28/2020, 12:05:40 PM
Last Updated By: Mike Street
Read Time: 1 minute(s)

# Description

The command changes the translation table entry for the specified formqueue. It takes the general form:

SP-TRANSLATE formqueue table-number
1

where:

  • formqueue is the formqueue to use the translation table.
  • table-number is the number of the translation table entry.

The translation table comprises characters or character strings which are to be translated to alternative characters or character strings.

For example, a printing device may not perform an automatic carriage return when a form feed is executed, or it may not be capable of printing lower case characters. In this example, the translation table can be used to map a form feed character to a form feed followed by a carriage return character, and all lower case characters can be mapped to their upper case equivalents. Like this \f ]\f \r map form feed to form feed followed by carriage return (using char definition). \141 ] \101 map ASCII lowercase “a” to uppercase “A” (using octal definition).

If used without arguments, the user will be prompted as follows:

FORMQUEUE TABLE#:
1

# Note

The translation table entry is only examined when the despooler is initiated. The despooling process must therefore be stopped and restarted to effect any changes made to either the formqueue assignment or the translation table.

Back to Spooler.