The text of a manual · part 5 of 7
MtP Series & FieldPro Programmer's Manual: Introduction, pages 35 to 44
Pages 35 to 44 of 63, from MtP Series & FieldPro Programmer's Manual
The original document is the PDF (923 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 MtP300
Page 35
Printek Emulation If for any reason the MCR is unable to read the card’s data, the printer will transmit an error message string in the format shown below. The characters n1 n2 represent an error number and error message is a description of the error. Possible values are described in the subsequent table. ASCII: ESC Hexadecimal: 1B n1 n2 05 06 07 08 09
E 45
, 2C n1 … n2 …
, 2C error message …
, 2C
CR 0D
LF 0A
Error Message Time-out Expired Invalid Character Invalid Track Number Unsupported Track Selected Cancel Request
Cancel Read Magnetic Card Data Command
ESC C
This command will cancel a pending MCR read command. The printer will transmit an “error” message indicating that it has processed the cancel request and turn off the MCR indicator. Escape Sequence: ESC Hexadecimal: 1B
C 43
31
Page 36
Printek Emulation
Control Code and Escape Sequence Summary Communications (RS-232C Serial Interface Only) End of Text ETX Acknowledge (Transmitted by Printer) ACK Printer Idle (Transmitted by Printer) EOT Transmitter On (Transmitted by Printer) XON (DC1) Transmitter Off (Transmitted by Printer) XOFF (DC3) Character Size and Line Spacing Select Character Pitch Set Printer to 12.7 cpi Set Printer to 22.6 cpi Set Printer to 22.6 cpi Double High On Double High Off Double High/Wide On Double High/Wide Off Set Text Line Spacing
ESC K n SO SI NORM (DC4) FS GS DC2 D DC2 d ESC a n, ESC A n
Character Attributes Select Emphasized Mode
ESC U n
Character Sets Select Extended Character Set
ESC F n
Horizontal Position Carriage Return Backspace Horizontal Tab Set Horizontal Margins
CR BS HT ESC H l r
Vertical Position Line Feed Variable Size Line Feed Variable Size Reverse Line Feed Vertical Tab Form Feed
LF ESC J n ESC Q J n VT FF, ESC E
Bar Codes Print Bar Code Print Bar Code With Human Readable Text
ESC z t n h data ESC Z t n h data
Graphics 8-Bit Graphics 8 Bit Compressed Graphics Vector Graphics
ESC # h w data ESC v h w c data [c data] [c data] … ESC > id lines size data, ESC > id p data t
Storing and Printing Graphic Logos Load Graphic Logo Store Graphic Logo Print Graphic Logo
ESC L G n ESC L G DEL ESC L g n
32
Page 37
Printek Emulation
Black Mark Sensing Set Paper Out Sensitivity Forward Seek Black Mark Reverse Seek Black Mark
ESC Q Q n ESC Q F n ESC Q B n
Printer Controls Sound Bell Cancel Print Contrast Enable Buffer Mode Disable Buffer Mode Print Buffer Contents (Buffer Mode) Select Format Select Emulation Store Printer Command File Reset Printer Turn Printer Off
BEL CAN ESC P n ESC P $ ESC P # EOT ESC l n ESC ESC n ESC T type id size name data ESC c, ESC * 0 ESC * 1
Printer Status Commands Print Battery Status ESC P ^ Query Print Buffer & MCR Status STX Query Print Buffer, MCR, & Battery Voltage Status SYN Query Printer Firmware Version ESC P ( Query Printer Model and Hardware Revision Level ESC P ) Magnetic Card Reader Read Magnetic Card Data Cancel Magnetic Card Data Read Command
ESC M n1 n2 t CR ESC C
33
Page 38
Page 39
Mt3 Emulation Selecting Mt3 Emulation allows applications written for the Printek Mt3 series printers to operate properly. When using this emulation in an MtP400 or FieldPro RT43, the printer matches the print width of the Printek Mt3. For information on selecting emulations using Escape Sequences, please refer to “Selecting Emulations” on page 3. For information selecting emulations through the printer’s control panel set up, please refer to the printer’s Operator’s Manual. The following summary lists the commands supported when Mt3 Emulation is selected. For more detailed information, please refer to the Mt3 Programmer’s Manual. Note: Items marked with an asterisk (*) are Printek extensions. Refer to the Printek Emulation section of this manual. Communications (RS-232C Serial Interface Only) End of Text ETX Acknowledge (Transmitted by Printer) ACK Printer Idle (Transmitted by Printer) EOT Transmitter On (Transmitted by Printer) XON (DC1) Transmitter Off (Transmitted by Printer) XOFF (DC3) Character Size and Line Spacing Select Character Pitch Set Printer to 12 cpi Set Printer to 21 cpi Set Printer to 21 cpi Double High On Double High Off Set Text Line Spacing
ESC k n SO SI NORM (DC4) FS GS ESC a n, ESC A n
Character Attributes Select Emphasized Mode
ESC U n
Character Sets Select Extended Character Set
ESC F n
Horizontal Position Carriage Return Backspace Horizontal Tab Set Horizontal Margins *
CR BS HT ESC H l r
Vertical Position Line Feed Variable Size Line Feed Variable Size Reverse Line Feed Vertical Tab Form Feed (ESC E *)
LF ESC J n ESC Q J n VT FF, ESC E
35
Page 40
Mt3 Emulation Bar Codes Print Bar Code Print Bar Code With Human Readable Text
ESC z t n h data ESC Z t n h data
Graphics 8 Bit Graphics 8-Bit Graphics * 8 Bit Compressed Graphics
ESC V n1 n2 data ESC # h w data ESC v h w c data [c data] [c data] …
Storing and Printing Graphic Logos Enter Flash Logo Mode Load Graphic Logo Store Graphic Logo Print Graphic Logo
ESC D L ESC L G 0 ESC L G DEL ESC L g 0
Black Mark Sensing Set Paper Out Sensitivity Forward Seek Black Mark Reverse Seek Black Mark
ESC Q Q n ESC Q F n ESC Q B n
Printer Controls Sound Bell * Cancel Print Contrast Peak Power Mode Enable Buffer Mode Disable Buffer Mode Print Buffer Contents (Buffer Mode) Select Emulation * Reset Printer * Turn Off Printer *
BEL CAN ESC P n ESC P n ESC P # ESC P $ EOT ESC ESC n ESC * 0 ESC * 1
Printer Status Commands Print Battery Status ESC P ^ Query Print Buffer & MCR Status STX Query Print Buffer, MCR, & Battery Voltage Status SYN Query Printer Firmware Version ESC P ( Query Printer Model and Hardware Revision Level ESC P ) Magnetic Card Reader Read Magnetic Card Data Cancel Magnetic Card Data Read Command
36
ESC M n1 n2 t CR ESC C
Page 41
O’Neil Emulation O’Neil Emulation allows Printek printers to respond to commands designed to operate an O’Neil microFlash printer. The commands that are supported are listed below. Note: Items marked with an asterisk (*) are Printek extensions. Refer to the Printek Emulation section of this manual.
Communications Same as Printek Emulation
Line Printer Mode Character Size and Line Spacing Double Wide On Double Wide Off Double High/Wide On * Double High/Wide Off * Multiply Character Height Select Double High and Double Wide
SO SI DC2 D DC2 d ESC H n ESC ! n
Character Sets Select Font (See Font Mapping, below.)
ESC w n
Horizontal Position Backspace * Horizontal Tab * Carriage Return
BS HT CR
Vertical Position Line Feed Vertical Tab * Form Feed (ESC E *) Set Interline Spacing Set Form Length Advance From Q Mark
LF VT FF, ESC E ESC A n ESC C n ESC Q n1 n2
Graphics Select Graphics Mode Begin Graphics End Graphics
ESC V n1 n2 ESC B ESC E
37
Page 42
O’Neil Emulation Printer Controls Sound Bell * Cancel Line Buffer Reset Select Easy Print Mode
BEL CAN ESC @ ESC E Z
Easy Print Mode Move Paper Forward Move Paper Backward Select Line Printer Mode Print Test Page Save Graphic
{AHEAD:n} {BACK:n} {LP} {TP} {SAVE:n} This command has been added to provide a mechanism for storing graphic images. The image defined in the PRINT command that immediately follows will be stored as a graphic named “n”, where n is a string of up to five characters in length.
Print Text Line/Bar Code/Graphic Image/Line {PRINT,GlobalOptions:@row,column:name,FieldOptions|data|} GlobalOptions: BACK, DEMAND, QUANTITY, QSTOP, STOP, ROT270 FieldOptions: Fonts – HMULTn (HMn), VMULTn (VMn) Bar Codes – HIGHn (Hn), WIDEn (Wn) Graphics – HMULTn (HMn), VMULTn (VMn) Lines – length n (Ln), thick n (Tn) Note: In addition to the standard fonts, specifying “MFDEF” will select the printer’s default font for the currently selected Format. Refer to the printer’s operator’s manual for more information.
Line Printer and Easy Print Modes Query Commands Print Status Request Configuration Request Battery Condition Request Version Request Memory Information/Status Request Print Head Information Request IrDA Configuration Information Request Font List Request Graphic List Request Format List Request Demand Quantity Remaining Request Cancel Demand Printing Reset Printer
38
ESC{ST?} ESC{CF?} ESC{BT?} ESC{VR?} ESC{MY?} ESC{PH?} ESC{IR?} ESC{FN?} ESC{GR?} ESC{FM?} ESC{DQ?} ESC{CN!} ESC{RE!}
Page 43
O’Neil Emulation Magnetic Card Reader Commands Configure Reader Configure MCR Enable MCR Disable MCR Zero MCR Data Read MCR Status Read MCR Data
ESC{CCR:n} ESC{CMR:n} ESC{ME!} ESC{MD!} ESC{MZ!} ESC{RS?} ESC{MR?}
Printer Controls Select Emulation
ESC ESC n
Font Mapping Line Printer Mode 0x20 0x21 0x22 0x23 0x24 0x25 0x26 0x28 0x29 0x2a 0x2b 0x41 0x42 0x43 0x44 0x45 0x46 0x47 0x48 0x49 0x4a 0x4b 0x5b 0x5d 0x60 0x61 0x62 0x63 0x7a
Font Used 10.2 cpi Sans Serif A Bold 20.3 cpi Sans Serif A 10.2 cpi Sans Serif A 5.5 cpi Sans Serif A 18.5 cpi Sans Serif A 22.6 cpi Courier 10.7 cpi Sans Serif A Bold 10.7 cpi Sans Serif A 10.7 cpi Sans Serif A 15.6 cpi Courier 20.3 cpi Sans Serif A 34.0 cpi Sans Serif A 34.0 cpi Sans Serif A 25.4 cpi Courier 18.5 cpi Sans Serif A 14.5 cpi Courier Bold 12.7 cpi Courier Bold 12.7 cpi Courier Bold 10.2 cpi Courier Sans Serif A 10.2 cpi Courier Sans Serif A Bold 10.2 cpi Courier Sans Serif A Bold 10.2 cpi Courier Sans Serif A 22.6 cpi Courier 12.7 cpi Courier 10.7 cpi Sans Serif A 12.7 cpi Courier 12.7 cpi Courier 12.7 cpi Courier 25.4 cpi Courier
Notes: 1. In Easy Print Mode, the font used will be equal to, or smaller than, the font requested with preference given to the Sans Serif font. 2. Any downloaded font with and ID of an internal font will override the internal font.
39