Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 1 of 5

Mt Series Programmer's Manual, pages 1 to 9

Pages 1 to 9 of 44

The original document is the PDF (673 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Printek Mt3

Page 1

Mt Series Programmer’s Manual

Printek, Inc. 1517 Townline Road Benton Harbor, MI 49022 269-925-3200 www.printek.com Printek Part Number 5993 Rev B

Page 2

Acknowledgements Printek is a registered trademark of Printek, Inc. Bluetooth is registered trademark of Bluetooth SIG, Inc. O’Neil is a trademark of O’Neil Product Development, Inc. Palm OS is a trademark of PalmSource, Inc. PrintBoy is a registered trademark of Bachmann Software PrinterCE is a registered trademark of FieldSoftware Products Wi-Fi is a registered trademark of the Wi-Fi Alliance Windows is a registered trademark of Microsoft Corporation All other trademarks are the property of their respective owners.

© 2003, 2004 By Printek, Inc., 1517 Townline Road, Benton Harbor, MI 49022. All rights reserved. Specifications subject to change without notice.

ii

Page 3

Table Of Contents Printer Characters................................................................................................................................................1 Control Characters ............................................................................................................................................1 ASCII Print Characters .....................................................................................................................................2 Extended Print Characters ................................................................................................................................3 Resident Character Sets ....................................................................................................................................4 Flash Based Font Download ................................................................................................................................7 Normal ASCII Font Download.........................................................................................................................7 Extended Font Download .................................................................................................................................8 Graphic Commands ...........................................................................................................................................10 8-Bit Dot Addressable Graphics .....................................................................................................................10 8-Bit Compressed Graphics ............................................................................................................................10 Graphic Logo Commands...............................................................................................................................11 Bar Codes ............................................................................................................................................................13 Code 39 Specifications ...................................................................................................................................13 Code 128 Specifications .................................................................................................................................14 UCC/EAN-128 Specifications ........................................................................................................................15 Interleaved 2 of 5 Specifications.....................................................................................................................16 UPC/EAN/JAN Specifications .......................................................................................................................16 Codabar Specifications ...................................................................................................................................17 Black Mark Sensing ...........................................................................................................................................19 Black Mark Operation ....................................................................................................................................19 Black Mark Printer Commands ......................................................................................................................19 Printer Controls..................................................................................................................................................21 Print Contrast Control.....................................................................................................................................21 Printer Peak-Power Control ............................................................................................................................21 Auto Power Down Feature .............................................................................................................................22 Operating Mode ..............................................................................................................................................22 Printer Status Commands .................................................................................................................................23 Print Battery Voltage ......................................................................................................................................23 Supervisory Commands..................................................................................................................................23 Magnetic Card Reader.......................................................................................................................................25 Card Specifications.........................................................................................................................................25 Magnetic Card Read Command Strings .........................................................................................................25 Magnetic Card Data Output Format ...............................................................................................................26 Magnetic Card Read Error Messages .............................................................................................................26 Interfacing to the Magnetic Card Reader........................................................................................................27 Serial Communications ......................................................................................................................................28 Serial Busy Protocol .......................................................................................................................................28 XON/XOFF Protocol......................................................................................................................................28 RS232C Connections......................................................................................................................................28 iii

Page 4

Printer Configuration.........................................................................................................................................30 Mt2 Series.......................................................................................................................................................30 Mt3 Series.......................................................................................................................................................31 Mt3-II Series ...................................................................................................................................................32 Command Quick Reference...............................................................................................................................33 Glossary of Terms...............................................................................................................................................37 iv

Page 5

Printer Characters For the purposes of software development, there are three types of characters, which may be transmitted to or from the printer: Control Characters • Defined as character encoding {0x00..0x1F} • Designed to control the printer operation ASCII Print Characters • Defined as character encoding {0x20..0x7F} • Factory default – ISO defined US-ASCII alpha-numeric character set Extended Print Characters • Defined as character encoding {0x80..0xFF} • Factory default – “International” and “PC Line Draw” character sets Note: ONLY ONE of the Extended Character Sets may be selected per print line

Control Characters {0x00..0x1F} The following set of characters is reserved, to assist in printer control. The printer also provides single byte responses to inform the host of the printer status. Character EOT

Control ^D

Hex / Dec 04 / 04

BS

^H

08 / 08

HT

^I

09 / 09

LF

^J

0A / 10

VT

^K

0B / 11

FF

^L

0C / 12

CR

^M

0D / 13

SO

^N

0E / 14

SI

^O

0F / 15

CONTROL ACTION End Of Text Printer sends an EOT character when buffer is empty; tells the host device that printer is in idle mode. Back Space Remove previous character in print buffer. Horizontal Tab Tab to 5,9,13,17,21,25,29,33,37 or to the beginning of next line. Line Feed Advance to beginning of next line. Vertical Tab Advance 5 lines. Form Feed Advance 10 lines. Carriage Return Advance to beginning of next line. Shift Out Printer defaults to 24 column mode Shift In Printer defaults to 42-column mode.

1

Page 6

Printer Characters Character XON

Control ^Q

Hex / Dec 11 / 17

AUXON

^R

12 / 18

XOFF

^S

13 / 19

NORM AUXOFF

^T ^U

14 / 20 15 / 21

CANCEL

^X

18 / 24

ESC

^[

1B / 27

EXTEND

^\

1C / 28

EXTEND OFF

^]

1D / 29

CONTROL ACTION Transmitter On Printer to Host: Ready to receive data. Host to printer: The host is ready to receive data. Printer on Printer to Host: Printer is on line. Transmitted after initial power up or clearing of printer jam or paper reload. Printer receiver is off Printer to Host: Print Buffer is full or other error condition. Host to Printer: host device transmitter off. Return to default 42 column mode Printer to Host: printer is off Transmitted to host before power down or paper out. Cancel and reset printer Print buffer is reset and printer placed in initial power-up default settings. Escape Escape character precedes graphics and printer operating modes. Refer to escape command section. Extended print All characters following these commands are printed double high. Extended print off/Normal print All characters following this command are printed normal height.

ASCII Print Characters The printer is delivered with a single factory installed ASCII character set. The factory default is based on the ISO defined US-ASCII table. The printable characters in the lower half of the character set (0x20-0x7F) are shown below.

2

Page 7

Printer Characters

Extended Print Characters The Extended Print Characters are the upper half of the character set (0x80-0xFF). There are two extended character sets which may be selected using the ESC F n command. The character representations for each set are shown below. ESC F 1 Selects the International character set

ESC F 2 Selects PC Line-draw character set

3

Page 8

Printer Characters

Resident Character Sets

Typefaces For each resident character set, several font typefaces, or sizes, are available. This provides the character pitches with the associated columns-per-line as shown in the following table. A total of four different font tables are used to generate the typefaces. At power up, the default selection is Courier Mode 2.

FONT NAME

PITCH

Courier Mode 5 Courier Mode 4 Courier Mode 3 Courier Mode 2 Courier Mode 1 Courier Mode 0 (Rotated)

24 CPI 21 CPI 19 CPI 16 CPI 12 CPI 13 CPI

COLUMNS PER LINE Mt2 Mt3/3-II 48 72 42 63 57 57 32 48 24 36 24 (rows) 32 (rows)

SIZE (WxH)

COMMAND

8x23 9x23 10x23 12x23 16x23 14x16

ESC k 5 ESC k 4 ESC k 3 ESC k 2 ESC k 1 ESC k 0

Example: Select Courier Mode 4 Escape Sequence: ESC Hexadecimal: 1B k 6B

4 34

Emphasized Print For the normal typeface characters, the individual lines or strokes of each character are finer, giving a more airy feel to the typeface. Emphasized characters have a heavier or thicker line width, putting more emphasis on the text. A line of text using a resident font may be emphasized using the following command: ESC U 1

Enable emphasized print starting with the current text line.

ESC U 0

Disable emphasized print starting with the current text line.

Example: Select Emphasized Escape Sequence: ESC Hexadecimal: 1B

4

U 55

1 31

Page 9

Printer Characters

Line Spacing The line spacing between successive printed text lines may be set using the text line spacing command (ESC a n). While printing PC Line-draw characters, the line spacing must be set to zero by issuing the ESC a 0 command string, this setting allows connection of graphic characters on successive lines. During text print, line feeds may be performed at 0.125mm resolution using the graphic linefeed command (ESC – 'J' – n). ESC a n

Where n is the number of graphic-line-spacing, in increments of 0.125mm. n = 0…10. The printer default setting is 3-dot line spacing after each printed text line (n = 3)

ESC J n

Where n is the number of desired 0.125mm graphic line feeds. n = 0…255.

Example 1: Set line spacing to 5 dot lines between character rows. Escape Sequence: ESC Hexadecimal: 1B a 61

5 05

Example 2: Perform 50 graphic line feeds. Escape Sequence: ESC J Hexadecimal: 1B 4A

50 32

5