Option 3.2.1.1 General Purpose Tokens

General-purpose tokens have a constant value in ASCII forms.

General-purpose token types include:

Token Type

Use To

//

Create a comment Line.

All text following a // token until the end of the line will be ignored.

TEXT

Enter hard coded text.

Example

TEXT “Action Company”

CONCHAR

Define the device specific control sequence.

Example

CONCHAR “^MAH^^”

FORMNAME

Name the form. No other data is associated with this token. 

The form is stored in a file with the same name.

DATETIME

Print the current date and time

All current date and time formats supported by windows are available.

Example

DATETIME "Today is %A, day %d of %B in the year %Y.\n"

          The output will be

          Today is Tuesday, day 03 of May in the year 2003.

ASCIICH

Sends the non-printable Control characters that you cannot type in a text file to the printer.

Example

ASCIICH 13

Note: 13 is a decimal value of the Carriage return for a Printronix printer.

SEQNUM

Print the sequence number on the ASCII form.

This sequence number is generated on a per device basis.

User Defined Tokens

Add the control character tokens that are specific for your printer in the Control Character Token file. When the Control Character Token file is assigned to an ASCII form they will be used.

Example

More information

Step 3.2.1. Use pre-defined tokens.