06.12.2012 Views

Technical Reference - KYOCERA Document Solutions

Technical Reference - KYOCERA Document Solutions

Technical Reference - KYOCERA Document Solutions

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Command Parameters<br />

For computer code values beyond four decimal places, the fifth and subsequent decimal<br />

places are ignored.<br />

Examples:<br />

Number output by computer Number used by printing system<br />

1234.1234 1234.1234<br />

-1234.1234 -1234.1234<br />

0.123456 0.1234<br />

Some commands have angle parameters. Angles are specified in degrees. (The printing<br />

system does not recognize radians). The printing system rounds off all angles to the nearest<br />

integral degree. Only angles in the range from -360 degrees to 360 degrees are recognized.<br />

Angles less than -360 degrees are ignored, and angles greater than 360 degrees are<br />

treated as the remainder of the angle divided by 360.<br />

Examples:<br />

Angle output by computer Angle used by printing system (degrees)<br />

90 90<br />

-90 -90<br />

90.4 90<br />

90.5 91<br />

-400 Ignored<br />

The printing system does not accept the exponential notation used in some computer languages.<br />

For example, do not specify 1E-3 instead of 0.001.<br />

Character Strings<br />

PRESCRIBE text-printing commands have parameters that consist of character strings.<br />

A character string is any string of characters enclosed by quotation marks or apostrophes,<br />

such as shown in the example below.<br />

TEXT ’You are about to enter PRESCRIBE.’;<br />

PRESCRIBE allows character strings to be enclosed in either single quotation marks<br />

(apostrophes) or double quotation marks. The following example has exactly the same<br />

meaning as the one above.<br />

TEXT "You are about to enter PRESCRIBE.";<br />

The beginning of a character string is recognized when the first single or double quotation<br />

mark appears. If the beginning quotation mark is a single quotation mark, the string<br />

does not end until the next single quotation mark. If the beginning quotation mark is a<br />

double quotation mark, the string does not end until the next double quotation mark.<br />

Whatever comes in the middle of a character string, including commas, semicolons, and<br />

even PRESCRIBE command names, is recognized as part of the character string, and not<br />

as part of the PRESCRIBE command language. For example, the expression EXIT; in<br />

the following string is just text; it does not cause the printing system to exit from the<br />

PRESCRIBE mode.<br />

TEXT ’NO EXIT; NO RETURN.’;<br />

When the string itself contains one type of quotation mark, the quotation mark must be<br />

enclosed in quotes of the other type. Here are two examples:<br />

1-11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!