Paxar Monarch 6015 User Manual

Size:
809.72 Kb
Download

Monarch

6015 Printer

TC6015PM Rev. AC 2/01 ©1999 Monarch Marking Systems, Inc. All rights reserved.

Each product and program carries a respective written warranty, the only warranty on which the customer can rely. Monarch reserves the right to make changes in the product, the programs, and their availability at any time and without notice. Although Monarch has made every effort to provide complete and accurate information in this manual, Monarch shall not be liable for any omissions or inaccuracies. Any update will be incorporated in a later edition of this manual.

©1999 Monarch Marking Systems, Inc. All rights reserved. No part of this publication may be reproduced, transmitted, stored in a retrieval system, or translated into any language in any form by any means, without the prior written permission of Monarch Marking Systems, Inc.

WARNING

This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense.

CANADIAN D.O.C. WARNING

This digital apparatus does not exceed the Class A limits for radio noise emissions from digital apparatus set out in the Radio Interference Regulations of the Canadian Department of Communications.

Le présent appareil numérique n’émet pas de bruits radioélectriques dépassant les limites applicables aux appareils numériques de la classe A prescrites dans le Réglement sur le brouillage radioélectrique édicte par le ministère des Communications du Canada.

Trademarks

MONARCH is a registered trademark of Monarch Marking Systems, Inc. Paxar is a trademark of Paxar Corporation.

6015 is a trademark of Monarch Marking Systems, Inc.

3Com and Palm Computing are registered trademarks of Palm Computing, Inc., 3Com Corporation, or its subsidiaries.

Monarch Marking Systems

P.O. Box 608

Dayton, Ohio 45401

T A B L E O F C O N T E N T S

 

Introduction...............................................................................................

1

Creating Data Streams..............................................................................

1

Conventions Used in this Manual................................................................

2

Creating Formats .......................................................................................

3

Creating Text Fields .................................................................................

3

Selecting Character Sets .......................................................................

3

Formatting Text ....................................................................................

4

Creating Graphic Fields ............................................................................

5

Creating Bar Code Fields ..........................................................................

6

Specifying Particular Bar Codes .............................................................

7

Positioning Fields ....................................................................................

8

Configuring the Printer...............................................................................

9

Selecting Operating Modes ........................................................................

9

Setting the Print Contrast ..........................................................................

9

Setting the Power Mode ..........................................................................

10

Checking the Battery Voltage...................................................................

11

Using the Power-OffTimer ......................................................................

12

Checking Version Information ..................................................................

13

Communicating with the Organizer ...........................................................

13

Miscellaneous Control Characters ............................................................

14

Sample Data Stream .................................................................................

15

i

I N T R O D U C T I O N

1

The Monarch® 6015™ printer works with application programs written for the Palm III™ series of organizers or the Symbol® SPT 1500. With these Palm Computing® connected organizers, the printer can print

receipts for retail, healthcare, or industrial environments. Palm Computing is a subsidiary of 3Com® Corporation.

The application writes a data stream of commands (in the printer's control language) to the printer. It writes these commands either directly or through the Symbol Application Programming Interface (API). For information about the API, refer to Symbol's Web site (www.symbol.com).

Refer to the 3Com/Palm Computing Web site (www.palm.com) for more information about the Palm III series of organizers. Also, refer to the Stevens Creek Web site (www.stevenscreek.com) for various organizer applications.

The purpose of this manual is to describe the printer's control language. The commands can be either of the following:

control characters (in hex format) that control the printer directly (physically manipulating the print buffer's contents, for example).

character sequences that adjust the printer's performance or help you design the receipts to print.

C r e a t i n g D a t a S t r e a m s

Creating a data stream involves coding a sequence of commands in the printer's control language. Then, you embed the data stream in the application, which writes it to the printer.

To create a data stream:

1.Draw a rough sketch of how you want the receipt to look. For example, a graphic may appear at the top, followed by the name of your organization, followed by a list of items purchased. Your receipt could be organized any number of ways.

2.Code the commands to implement your receipt design. See "Creating Formats" for more information.

1

3.Add any commands to the data stream related to how the printer performs. For example, at the data stream's beginning, enter the command to choose the operating mode. See "Configuring the Printer" for more information.

4.Embed the data stream in the application and test what you have written.

C o n v e n t i o n s U s e d i n t h i s M a n u a l

Following are the conventions used in the syntax descriptions of each

command.

Symbol

Description

 

 

-

Separates items in the command sequence.

 

 

< >

Indicates a variable with a single-bytevalue.

'' Indicates the value is a literal. Enter the value as it appears or use the ASCII hex values for the same characters.

( )

Indicates a variable of any length.

# #

Indicates a variable of an exact length.

 

 

ESC

Indicates the beginning of a command sequence. Enter 1B hex

 

for this item.

 

 

CR-LF

Indicates the end of a response from the printer. In the

 

response, it is represented as 0D 0A hex.

These conventions make it easier for you to read the commands' syntax

descriptions. They are not part of the data streams. For example,

ESC-'F'-'1'may be the syntax description, but the application writes 1BF1 (1B 46 31 hex) to the printer.

The printer ignores commands with syntax errors.

2

C R E AT I N G F O R M AT S

2

 

 

A format is the design of a receipt that the application prints with the printer. It consists offields placed at various places on the format. Fields can contain text, graphics, and bar codes.

This chapter describes the commands used to create formats.

C r e a t i n g T e x t F i e l d s

Text fields can contain letters, numbers, and symbols. To specify text appearing on the format you create, write the text directly to the printer. There is no special command to use. There are, however, commands/control characters to select a character set to use and to format the text.

Selecting Character Sets

The printer can use the ANSI or ASCII character sets. These character sets are preloaded in the printer. ANSI characters are the default.

Command

Description

 

 

ESC-'F'-'1'

Selects ANSI characters.

 

 

ESC-'F'-'2'

Selects ASCII characters.

 

 

3

Formatting Text

For the text on your format, you can choose the font and its size, spacing,

and style (normal or bold).

Command

Description

 

 

1C hex (Extend)

Prints characters twice as high as normal.

 

 

1D hex (Extendoff)

Stops printing characters twice as high as

 

normal.

 

 

ESC-'U'-<mode>

Turns bold printing on or off.

<mode>

0

Turn off bold printing.

 

1

Turn on bold printing.

ESC-'k'-<font>

Selects a font.

<font>

0

Large Rotated (90 degrees clockwise) -

 

1

24 columns per line

 

Large Normal - 24 columns per line

 

2

Standard Bold - 32 columns per line

 

3

Standard Normal - 38 columns per line

 

4

Reduced Bold - 42 columns per line

 

5

Reduced Normal - 48 columns per line

ESC-'A'-<space>

Sets the space to leave between lines of text

 

when they are printed.

<space>

0-10

The amount of space (in increments of

 

 

.125 mm). The default is 3 (.375 mm).

Example:

Sets the space between lines of text to .25

ESC-A-2

mm.

 

(1B 41 02 hex)

 

 

4

C r e a t i n g G r a p h i c F i e l d s

You print data stream graphics one line at a time. To create a line, you specify bits to turn off or on. Bits turned off represent white space, and bits turned on represent part of the graphic. There is a .125 mm gap between consecutive lines.

Command

Description

 

 

 

 

ESC -'V'-01hex-00hex-

Prints a graphic line.

#data#

 

 

 

#data#

48 hex bytes, indicating the dots to turn on or

 

off. For example, if a specified byte is FF, all

 

the dots are on. If it is 01, only one dot is on,

 

and the other 7 are off.

 

If you accidentally specify less than 48 bytes,

 

the printer does not print the graphic. If you

 

specify more than 48 bytes, a fatal exception

 

occurs.

 

 

 

 

 

 

 

 

You do not directly specify the bits turned on or off. You specify the bits in groups of eight by using hex values.

Example

This line of code prints a solid horizontal line of dots.

ESC -V-1-0-FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

5

C r e a t i n g B a r C o d e F i e l d s

The printer can print the following bar codes, with or without humanreadable data.

Code 39

Codabar

Interleaved 2 of 5

Code 128 (UCC/EAN-128)

UPC/EAN/JAN

Command

Description

 

 

ESC-'z'-<bctype>-

Prints a bar code without human-readable

<length>-<height>-

data.

 

<data>

 

 

 

 

ESC-'Z'-<bctype>-

Prints a bar code with human-readabledata.

<length>-<height>-

 

 

<data>

 

 

<bctype>

The type of bar code to print (values are the

 

ASCII representation, not hex).

 

'1'

Code 39

 

'2'

Code 128 (UCC/EAN-128)

 

'3' Interleaved 2 of 5

 

'4'

UPC/EAN/JAN

 

'5'

Codabar

<length>

The length of the bar code data (in hex). This

 

value is dependent on the bar code you

 

choose with <bctype> (see below).

<height>

The height of the bar code (in hex) in

 

increments of .125 mm. <height> can be no

 

smaller than 14. For example,14 = 2.5 mm,

 

15 = 2.625 mm, etc.

 

For UPC/EAN/JAN bar codes, the height you

 

specify will include a 1.25 mm drop bar

 

pattern after the bar code.

<data>

The data for the bar code. Its length must

 

equal <length>. See the following table for

 

data restrictions, which vary by bar code.

6

Specifying Particular Bar Codes

Values for the <length> and <data> parameters depend on the type of bar code you choose with <bctype>.

Bar Code

<length>

<data>

 

 

 

Code 39

9 (maximum)

0-9,A-Z,-,(space), $,

 

 

/, +, and %

 

 

 

Interleaved 2 of 5

16 (maximum)

Pairs of numeric

 

 

characters (0-9)

 

 

 

UPC/EAN/JAN

UPCA: 12

0-9

 

UPCE: 7

 

 

EAN/JAN-8:8

 

 

EAN/JAN-13:13

 

 

These lengths are fixed

 

 

and all include a check

 

 

digit.

 

 

 

 

Codabar

15 (maximum) plus start

Data: 0-9,$,-, :, /, .,

 

and stop characters.

and +.

 

The printer adds the

Start: a (the default),

 

stop character

 

b, c, or d.

 

automatically.

 

 

 

 

 

Code 128 (UCC/EAN-128)Details

<length> can be a maximum of 13 (with alphanumeric/control code data) or 26 (if subset C and numeric pairs are used).

Each subset enables the bar code to contain different characters. Subset A uses 20-3Fhex and40-7Fhex (read by the bar code reader as00-7Fhex), subset B uses20-7Fhex, and subset C uses30-39hex.

The first character of <data> must specify the subset to be used: A, B, or C (listed as 87, 88, and 89 hex, respectively). The rest of the data can be all 256 ASCII characters by using a combination of the subsets. The data must appear as numeric pairs corresponding to the hex values for the ASCII character in question.

7