MtP400 Series Programmer’s Manual Printek, Inc. 1517 Townline Road Benton Harbor, MI 49022 269-925-3200 www.printek.com Printek P
Printek Emulation Control Codes and Escape Sequences Grouped by Function Communications This section describes various methods of controlling the flow
Printek Emulation Transmitter Off (Transmitted by Printer, Serial Only) XOFF (DC3) When transmitted by the printer, this character indicates that th
Printek Emulation Set Printer to 22.6 cpi SI Sets the character size to 22.6 cpi. This is equivalent to sending ESC k 4. This command must be sent
Printek Emulation Character Attributes Select Emphasized Mode ESC U n Selects emphasized printing mode. Emphasized mode may be used to highlight tex
Printek Emulation Horizontal Position Carriage Return CR Causes the current line to be printed and the paper to advance to the next line. The curren
Printek Emulation Variable Size Line Feed ESC J n Causes paper to be moved forward n x 0.125mm. 0 ≤ n ≤ 255. A Carriage Return is also performed whi
Printek Emulation Bar Codes The MtP400 will automatically print several types barcode symbols using the following command. The specification for each
Printek Emulation Code 128 Specifications Description: Each symbol starts with Leading Quiet Zone, followed with Start Symbol, Data Symbols, ending
Printek Emulation Example 2: The following escape sequence will print a bar code using numeric pairs of numeric characters containing “123456” that i
Printek Emulation Elements per symbol: 4 (2 bars, 2 spaces) Character density: 14.5 CPI Bar width: 0.25mm Characters Note: When specifying t
Acknowledgements Printek is a registered trademark of Printek, Inc. Bluetooth is registered trademark of Bluetooth SIG, Inc. O’N
Printek Emulation Example: The following escape sequence will print a bar code containing “123456” that is 10mm high followed by human readable text.
Printek Emulation Variable Value Description h 1 ≤ h ≤ 255 Number of graphic lines in the data to follow. w 0 ≤ w ≤ 104 Number of bytes per graphi
Printek Emulation Multiple “sets” of counters and data may be sent to the printer as necessary to describe the graphic pattern to be printed. The va
Printek Emulation The graphic data is sent using Graphic commands as described on page 16. The image may consist of up to 2,436 graphic lines. The l
Printek Emulation The Black Mark must be printed on the front side of the paper for MtP400 and MtP400 SL models. It may optionally be printed on the
Printek Emulation Black Mark should span width of paper for best results. Front (thermal printed) side of form. Tear edge. 0.15” 0.9” Opt
Printek Emulation Command sent to printer: Escape Sequence: ESC Q F 200 Hexadecimal: 1B 51 46 C8 Response from printer: Escape Sequence: ESC Q
Printek Emulation Printer Controls Bell BEL Causes the printer's bell to sound. Control code: BEL Hexadecimal: 07 CANCEL CAN Deletes all data
Printek Emulation Buffer Mode ESC P # ESC P $ Buffer Mode may be used to force the printer to “hold” data until the entire print job is received.
Printek Emulation Query Printer Status STX SYN Each of these commands returns character strings which provide information regarding the current pr
TABLE OF CONTENTS Acknowledgements...
Printek Emulation Example: The following control code will return the status of the print buffer, the magnetic card reader, and the battery voltage.
Printek Emulation Example: This escape sequence requests the printer’s model and revision level. Escape Sequence: ESC P ) Hexadecimal: 1B 50 29
Printek Emulation in either direction. If the read is successful, the MCR indicator will stay lit momentarily (not flashing) and the printer will tr
Printek Emulation Control Code and Escape Sequence Summary Communications (RS-232C Serial Interface Only) End of Text ETX Acknowledge (Transmitted
Printek Emulation Black Mark Sensing Set Paper Out Sensitivity ESC Q Q n Forward Seek Black Mark ESC Q F n Reverse Seek Black Mark ESC Q B n Print
Mt3 Emulation Selecting Mt3 Emulation allows applications written for the Printek Mt3 series printers to operate properly when printing to an MtP400.
Mt3 Emulation Bar Codes Print Bar Code ESC z t n h data Print Bar Code With Human Readable Text ESC Z t n h data Graphics 8-Bit Graphics ESC V n1
O’Neil Emulation O’Neil Emulation allows the Printek MtP400 series printers to respond to commands designed to operate an O’Neil microFlash4t printe
O’Neil Emulation Easy Print Mode Move Paper Forward {AHEAD:n} Move Paper Backward {BACK:n} Select Line Printer Mode {LP} Print Test Page {TP} Save
O’Neil Emulation Font Mapping Line Printer Mode Easy Print Mode Font Used 0x20 MF102 10.2 cpi Sans Serif A 0x21 MF204 20.3 cpi
ZPL-II Emulation ZPL-II Emulation supports a subset of the Zebra ZPL-II command set and allows the Printek MtP400 series printers to respond to comma
ZPL-II Emulation Bar Code and Font Indices Bar Code Index Interleaved 2 of 5 2 Code 39 3 PDF417 7 EAN-8 8 UPC-E 9 Code 128 C EAN-13 E Codabar (AN
Hex Dump Mode Hex Dump provides a way to print, in a readable form, all the data received by the printer. This tool is useful to programmers for deb
Print & Font Samples Print Samples 41
Print & Font Samples Courier Font With International Extended Character Set Courier Font PC Line Drawing Extended Character Set 42
Print & Font Samples Sans Serif Font 43
ASCII Character Tables ASCII Control Code Definitions The following table is provided as a reference to the control character descriptions as provide
Introduction This manual is intended to be used by software developers for the purpose of creating and/or modifying applications to make use of the s
ASCII Character Tables Decimal to Hexadecimal TO ASCII Conversion Table Dec Hex ASCII 0 00 NUL 1 01 SOH 2 02 STX 3 03 ETX 4 04 EOT 5 05
Printer Reset Conditions The following list describes what conditions are assumed whenever the printer is powered on, the Setup Menus are exited, or
Glossary 802.11 Wireless networking communication standards created by IEEE. access point An interface between a wireless network and a wired netwo
Glossary IP Internet Protocol. A specification for packets, or datagrams, of data and an addressing method to allow the exchange of data with anothe
Introduction Hex Dump describes the printer’s output while in Hex Dump mode, and how it may be used to debug software problems. Print & Font Sampl
Selecting Emulations The emulations offered by Printer Mobile Thermal Printers allow for a great deal of language commonality between the various ser
Printek Emulation Introduction This section describes the control codes and escape sequences comprising Printek emulation. This emulation may be sel
Commentaires sur ces manuels