background image

i

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-Off Timer ...................................................................... 12

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

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

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

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

Содержание Monarch 6015

Страница 1: ...Monarch 6015 Printer TC6015PM Rev AC 2 01 1999 Monarch Marking Systems Inc All rights reserved ...

Страница 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 ...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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 ...

Страница 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...

Страница 19: ......

Страница 20: ......

Отзывы: