beautypg.com

Brother HL 1270N User Manual

Page 112

background image

A-10

No.

String

Definition

0

(special)

Using this number causes printer not to be
automatically reset at the end of each job.

1

NULL

Null string

2

\1BE

PCL reset (E )

3

\04

PostScript reset (CTRL-D)

4

\1B%-12345X

PJL UEL

5

@PJL

Enter PJL mode

6

Enter Language=

PJL language switch

7

PCL\0A

PJL PCL command

8

Postscript\0A

PJL PostScript command

9

\FF\04\FF\05\FF\06\FF\07

Enter Language=PCL

10

\FF\04\FF\05\FF\06\FF\08

Enter Language=PostScript

11

\0C

Formfeed

To define a new string, use the command:

SET SERVER STRING

number “string”

where number is the number of the string (12 through 31) and string is the desired string
(must be enclosed in quotation marks).

A given string can include hexadecimal characters by preceding the value with a “\” character.
The next two characters after the “\” will then be interpreted as the hexadecimal value of a
character. For example, to specify E as string number 12, you would enter:

SET SERVER STRING 12 “\1BE”

Please note that when you associate a string number with a service, the new string number
completely replaces any previous string numbers. Also, if you are using one of the predefined
PostScript or PCL services, the new string will nullify the language switching function of
these services.

However, you can combine several string numbers together by preceding the string number
with “\FF”. For example, if you defined string number 21 as "\1B" (), and string
number 22 as “&l1O”, you can create a new string number 23 that contains &l1O (the
PCL landscape mode command) by entering:

SET SERVER STRING 23 “\FF\15\FF\16”

Note that the string numbers within the quotation marks are expressed in hexadecimal when
used with this command.

To associate a string with the service, use the following commands:

SET SERVICE

servicename BOT stringnumber

SET SERVICE

servicename EOT stringnumber

where servicename is the name of the service and stringnumber is the number of the string as
defined above. The first command (BOT) adds the specified string to the beginning of the job,
while the second command (EOT) adds the specified string to the end of the job. A given
service can have both a setup and reset string associated with it.

To clear a string number, type:

CLEAR SERVER STRING

stringnumber