C o m m e n t s i n a S c r i p t

You must precede comments by a semicolon. The software treats them as a single white space and ignores them.

;*********************************************************

;*

;* Description

;* This is the main entry point of ;* the script. Gets the Date and ;* then starts processing.

;*

;*********************************************************

D a t a S t o r a g e

Although you can define a buffer field as being numeric or alphanumeric, the printer stores both kinds of data as ASCII characters, as follows:

Data Type

Description

 

 

Alphanumeric

Sequences of any ASCII characters.

 

 

Numeric

Sequences of numeric ASCII characters. For example, the printer

 

stores 91 as the two-byte alphanumeric string "91."

 

 

D a t a C o d i n g

To streamline the amount of data you store or pass to and from the printer, you can encode the data.

For example, you could encode a number as high as 255 by storing the corresponding character from the ASCII chart. For example, 91 (a two-byte character string, according to printer data storage rules) could appear as [, the ninety-first character on the ASCII chart.

There are two commands you can use in your script when encoding and decoding data according to this method.

Command

Description

 

 

ASC

Takes an ASCII character and returns the number corresponding to

 

it on the ASCII chart.

 

 

CHR

Takes a number from 0-255 and returns the corresponding

 

character on the ASCII chart.

 

 

Consider the following code sample.

 

 

 

DEFINE TEMPORARY, QTY1, 3, A

;

Alpha Temp. field

DEFINE TEMPORARY, QTY2, 3, N

;

Numeric Temp. field

MOVE

"}",

QTY1

;

Now contains "}"

ASC

QTY1,

QTY2

; Decodes "}" to

125

INC

QTY2

QTY1

; Increments 125

to 126

CHR

QTY2,

;

Encodes 126 to

"~"

This sample demonstrates how to decode a number, use the number in a computation, and encode the result back to a character.

4-4Program Structure

Page 22
Image 22
Monarch 9460 manual M m e n t s i n a S c r i p t, T a S t o r a g e, T a C o d i n g

9460 specifications

The Monarch 9460 is a cutting-edge printing solution designed to meet the needs of modern businesses and industries. This advanced printer combines high-performance capabilities with user-friendly features, making it an ideal choice for various applications, from industrial printing to high-volume document production.

One of the standout features of the Monarch 9460 is its exceptional printing speed. Capable of producing thousands of labels per hour, this printer is engineered to handle large-scale printing tasks efficiently. This speed does not compromise print quality; the Monarch 9460 delivers sharp, crisp images with precise color reproduction, ensuring that labels and documents are not only produced quickly but also look professional.

The Monarch 9460 employs advanced thermal transfer printing technology, which allows for high-resolution output that is resistant to smudging and fading. This durability is particularly important for labels that need to withstand harsh environments or extended periods of use. Additionally, the printer supports a variety of media types and sizes, making it versatile and adaptable to different printing needs.

Another key characteristic of the Monarch 9460 is its robust connectivity options. The printer supports multiple connectivity methods, including USB, Ethernet, and wireless options, allowing seamless integration into existing workflows and systems. This flexibility is crucial for organizations looking to streamline operations and improve productivity.

User convenience is also a priority with the Monarch 9460. Its intuitive control interface, complete with a color touchscreen display, simplifies the printing process, reducing the learning curve for new users. The printer also offers easy maintenance features, such as straightforward access to replace consumables, minimizing downtime and ensuring consistent performance.

In terms of software integration, the Monarch 9460 is compatible with a variety of printing software solutions, making it simple to incorporate into any automated system. It can also connect to various databases for dynamic label printing, enhancing efficiency in applications such as inventory management and shipping.

In summary, the Monarch 9460 stands out as an exceptional printing solution that combines speed, quality, versatility, and user convenience. Its advanced technologies and features make it a valuable asset for businesses looking to enhance their printing capabilities in a competitive landscape. Whether for high-volume label production or professional document printing, the Monarch 9460 is engineered to deliver remarkable performance consistently.