Character Strings - Kyocera C8100DN - Color Laser Printer Technical Reference Manual

Prescribe commands
Hide thumbs Also See for C8100DN - Color Laser Printer:
Table of Contents

Advertisement

For computer code values beyond four decimal places, the fifth and subsequent decimal
places are ignored.
Examples:
Number output by computer Number used by printing system
1234.1234
-1234.1234
0.123456
Some commands have angle parameters. Angles are specified in degrees. (The printing
system does not recognize radians). The printing system rounds off all angles to the near-
est integral degree. Only angles in the range from -360 degrees to 360 degrees are recog-
nized. Angles less than -360 degrees are ignored, and angles greater than 360 degrees are
treated as the remainder of the angle divided by 360.
Examples:
Angle output by computer Angle used by printing system (degrees)
90
-90
90.4
90.5
-400
The printing system does not accept the exponential notation used in some computer lan-
guages. For example, do not specify 1E-3 instead of 0.001.

Character Strings

PRESCRIBE text-printing commands have parameters that consist of character strings.
A character string is any string of characters enclosed by quotation marks or apostrophes,
such as shown in the example below.
TEXT 'You are about to enter PRESCRIBE.';
PRESCRIBE allows character strings to be enclosed in either single quotation marks
(apostrophes) or double quotation marks. The following example has exactly the same
meaning as the one above.
TEXT "You are about to enter PRESCRIBE.";
The beginning of a character string is recognized when the first single or double quota-
tion mark appears. If the beginning quotation mark is a single quotation mark, the string
does not end until the next single quotation mark. If the beginning quotation mark is a
double quotation mark, the string does not end until the next double quotation mark.
Whatever comes in the middle of a character string, including commas, semicolons, and
even PRESCRIBE command names, is recognized as part of the character string, and not
as part of the PRESCRIBE command language. For example, the expression EXIT; in
the following string is just text; it does not cause the printing system to exit from the
PRESCRIBE mode.
TEXT 'NO EXIT; NO RETURN.';
When the string itself contains one type of quotation mark, the quotation mark must be
enclosed in quotes of the other type. Here are two examples:
1234.1234
-1234.1234
0.1234
90
-90
90
91
Ignored
Command Parameters
1-11

Advertisement

Table of Contents
loading

Table of Contents