background image

8

You can change subsets in mid-stream by using certain hex values in the
data.  Use 85, 84, and 83 hex to switch to subsets A, B, and C,
respectively.  To change the next character only to another subset, use 82
hex.  With this option, you can only change between subsets A and B.

You can also insert Code 128 function characters into the data.  Function 1
uses the reserved Code 128 character (UCC/EAN128), function 2 appends
data, function 3 initializes the bar code reader, and function 4 extends
characters (for example, 'a' (97 decimal) is changed to '

β

' (225 decimal) by

adding 128 to it.  Use 86 hex to specify Function 1 (all three subsets).  Use
81 and 80 hex to specify Function 2 and Function 3, respectively (subsets
A and B only).  To specify Function 4, use 85 hex in subset A and 84 hex in
subset B.  Function 4 is unavailable in subset C.

P o s i t i o n i n g   F i e l d s

These commands/control characters help you move the supply through the
printer to position the fields on the receipt.  The application could also write
spaces to the printer before it prints text.

Command

Description

hex (CR)

Advances to the beginning of the next line and
turns bold printing off.

C

 hex (FF)

Advances 10 lines.

14 hex (Norm)/

F

 hex

 

(SI)

Sets the printer to 48-column mode.

E

 hex (SO)

Sets the printer to 24-column mode.

hex (VT)

Advances 5 lines.

hex (HT)

Tabs to the next position or the beginning of
the next line.

hex (LF)

Advances to the beginning of the next line.
The default amount of space between lines is
.375 mm for text and .125 mm for graphics.

ESC-'J'-<num>

Performs a specified number of line feeds.

<num>

1-FF

The amount of space (in hex).  The
default is 

1

 (.125 mm).

Summary of Contents for Monarch 6015

Page 1: ...Monarch 6015 Printer TC6015PM Rev AC 2 01 1999 Monarch Marking Systems Inc All rights reserved ...

Page 2: ...rcial 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 ...

Page 3: ...ing 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 Off Timer 12 Checking Version Information 13 Communicating with the Organizer 13 Miscellaneous Control Characters 14 Sample Data Stream 15 ...

Page 4: ...e 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 p...

Page 5: ...able with a single byte value 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 T...

Page 6: ...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 ...

Page 7: ...ng 1 Turn on bold printing ESC k font Selects a font font 0 Large Rotated 90 degrees clockwise 24 columns per line 1 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...

Page 8: ...ata 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...

Page 9: ...he 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 heigh...

Page 10: ... Start a the default b c or d 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 3F hex and 40 7F hex read by the bar code reader as 00 7F hex subset B uses 20 7F hex and subset C uses 30 39 hex The first character of data must s...

Page 11: ... B only To specify Function 4 use 85 hex in subset A and 84 hex in subset B Function 4 is unavailable in subset C Positioning Fields These commands control characters help you move the supply through the printer to position the fields on the receipt The application could also write spaces to the printer before it prints text Command Description D hex CR Advances to the beginning of the next line a...

Page 12: ...ints them upon receipt of an EOT control character 4 hex Command Description ESC P Selects online mode ESC P Selects buffer mode Setting the Print Contrast The print contrast depends on the battery voltage and the print contrast setting The print contrast setting also affects the print speed A high contrast indicates a slow speed and vice versa We recommend designing your applications so the user ...

Page 13: ...wer mode value The number of printhead sections to use specified in hex How you specify this value is dependent on the language the application is written in For example in C you would use 0x01 to select one printhead section 1 Prints using one printhead section 2 Prints using two printhead sections 3 Prints using three printhead sections 6 Prints using six printhead sections 7 Default Dynamically...

Page 14: ...ests the print buffer and battery statuses The printer responds with ESC B pbchars CR LF ESC V volts CR LF pbchars The number of characters currently in the print buffer volts Four ASCII characters The first three are the battery voltage form x x The fourth character categorizes the voltage listed to give it a reference Values are 1 4 where 1 is high and 4 is low We recommend designing your applic...

Page 15: ...escription ESC C Sets the inactivity period to the default 20 seconds ESC M digit1 digit2 0 CR Sets the power off timer Use D hex for the carriage return character CR digit1 and digit2 0 9 The number of seconds to set the timer to To disable the timer set both parameters to 0 Example ESC M 5 6 0 CR 1B 4D 35 36 30 OD hex Sets the inactivity period to 56 seconds Be careful when using buffer mode If ...

Page 16: ...SC 097 version CR LF version An ASCII character representing the hardware version Communicating with the Organizer The printer and organizer must use these values for the communication parameters Baud Rate 19200 Stop Bits 2 Parity None Data Bits 8 Have the organizer use hardware RTS CTS communications protocol when communicating with the printer These control characters are related to communicatio...

Page 17: ...8 hex Cancel Re initializes the printer 2 hex Ctrl B Requests the print buffer status The printer responds with ESC B pbchars CR LF pbchars The number of characters currently in the print buffer 8 hex BS Removes the last character entered in the print buffer ...

Page 18: ...eturns r new lines n and the C method for representing hex numbers x06 for example The data stream prints the label on the right x1bP r n r n Paxar Monarch n 170 Monarch Ln n Miamisburg OH 45342 n Phone 937 865 2123 r n r n SALES RECEIPT r n r n Description Qty Total n 1 Monarch 9490 5 3495 n 2 Monarch 9403 4 995 n 3 Monarch 6035 3 4995 n 4 Monarch 6030 2 2995 n 5 Monarch 9450 1 995 n n Total 1347...

Page 19: ......

Page 20: ......

Reviews: