Monarch 9460 Printer User Manual


 
5-22 Command Reference
CHARTYPE
Purpose Allows you to limit the character type for an input buffer.
Syntax CHARTYPE
type
,
buffer-field1
Process The CHARTYPE command restricts the character type applied to an input buffer
using
type
and
buffer-field1
.
NOTE: This command does not affect the FETCH command.
Type
describes the contents of
buffer-field1
. It can be one of the following:
Type
Description
S Set of allowable characters for input field
T Template mask for input buffer
Buffer-field1
contains either a set of allowable characters for the input field or a
template mask. It can be one of the following:
Buffer-field1
Description
INPUT Input Buffer
Logical Field Name
(TEMP1)
Temporary Buffer
Field
Logical Field Name (LU1) Lookup Buffer Field
Logical Field Name (PR1) Printer Buffer Field
Logical Field Name
(Field1) [Index]
Array Buffer Field
Number
String
A number prefixed by
the number sign (#)
ASCII string delimited
by double quotes
Valid characters for a template mask are:
Type
Description
* Any valid character
# Numeric
@ Alpha character
- Skip input for fixed data
Example
This example restricts a template input field to accept one alphanumeric character,
four numeric characters, fixed data followed by two more numeric characters. For
example, $9999.99.
CHARTYPE T,"@####_##"
See Also FIXDATA