Unitech MP300 Скачать руководство пользователя страница 18

Copyright 2008 Unitech Electronics Co., Ltd. All rights reserved. Unitech is a registered trademark of Unitech Electronics Co., Ltd.

34

Copyright 2008 Unitech Electronics Co., Ltd. All rights reserved. Unitech is a registered trademark of Unitech Electronics Co., Ltd.

35

STEP 2 – Enter flash font program mode: 

Send  <ESC> <‘D’> <‘A’> <0> to select ASCII flash font upload and wait for the printer 

to deactivate the CTS line. For the 2500/1500 or the 3750 printers the last number can 

be anything between 0..7

STEP 3 – Wait for the printer ready indicators:

Wait for the printer to reactivated the CTS line and transmitted the character ‘?’

STEP 4 – Load new the character:

Upload the user defined ASCII ‘A’ character. 

The basic command format and an actual command string are shown below:

<ESC> <‘D’> <ASCII TABLE 0>  <Character Code> <46 byte dot matrix data>   //for 

the 2500/1500 or 3750 the table # does not matter as long as you specified the bank 

number.

 <ESC> <‘D’>            <0>                          <0x41>                                                                                                                

<0x00> <0x00> <0x00> <0x40> <0x00> <0xE0> <0x00> <0xA0>                                                                                

<0x01> <0xB0> <0x01> <0x10> <0x01> <0x10> <0x01> <0x10> 

<0x01> <0x10> <0x03> <0x18> <0x03> <0x18> <0x03> <0xF8> 

<0x03> <0xF8> <0x02> <0x08> <0x02> <0x08> <0x06> <0x0C> 

<0x06> <0x0C> <0x04> <0x04> <0x04> <0x04> <0x04> <0x04>

<0x0E> <0x0E> <0x0E> <0x0E> <0x00> <0x00> 

STEP 5 – Save the modified character to flash:

Sending the command <ESC>-‘D’- <0xFF>  {CHR$(27) + ‘D’ + CHR$(255)}, copies 

the revised character to the printer flash location. 

The printer will transmit the character ‘D’ and then proceed to save the fonts to flash 

memory.  THE PRINTER POWER MUST REMAIN ACTIVE AT THIS TIME.

STEP 6 – Cycle the printer power:

Once the fonts have been saved into flash memory, the printer will transmit the 

character ‘!’. 

At this time, the printer will transmit an ‘X’ every 500 milliseconds.

To ensure optimal operation of the printer, remove the battery cartridge from the 

printer for several seconds.  Replace the battery cartridge and the new fonts will be 

ready for use.

To ensure optimal operation of the printer, remove the battery cartridge from the 

printer for several seconds.  Replace the battery cartridge and the new fonts will be 

ready for use.

A.2.0 Graphic Logo Print Option

The following paragraphs summarize the operation of the Graphic Logo feature for the 

Unitech MP300 printer. The Graphic Logo feature enables the storage of formatted 

Bitmap file in nonvolatile memory. Up to eight memory sectors of up to 8,544 bytes 

each, are reserved to store Graphic Logo in the printer upon receipt of a Graphic 

Logo print command, the Graphic Logo data is sent to the printer. The feature enables 

printing of a stored graphic image as part of a receipt.

A.2.1 Specification

Printer

Number of 

Logos

Bytes per 

logo

Dot lines 

per logo

Dots per line

MP300

8 (FLASH)

8,544

178

384

                                                                                               

Table A.6 – Printer Specifications

A.2.2 Graphic Logo Operation MP300 

• 

On initial power-up, the Host application selects the  Flash Logo Mode by    

 

sending the command String:

 

   

   <ESC  - D – L-n>.

        Printer responds by sending? Character to the host application indicating that  

 

the Flash Logo Mode is enabled.

• 

The Host application selects the Graphic Logo record  mode by sending the load  

 

command:

 

   

   <ESC - L - G - n>.

• 

Once printer is placed in record mode, the Graphic Logo is downloaded using   

 

8-bit graphic command: 

 

  <ESC> <V> <0x01> <0x00> <48 bytes of Graphic data>

• 

The Graphic Logo record mode is terminated automatically after receiving 178  

 

graphic lines, or upon receiving the Graphic Logo record terminate command  

        string.

 

   

  ESC - L - G - < 0xff >

• 

Printer saves the received Logo data in flash and sends D!X characters to the  

 

host, indicating that logo data was saved. 

       The printer power must be cycled to return to normal operating mode. 

Содержание MP300

Страница 1: ...MP300 Mobile Printer Developer s Manual Rev A Copyright 2008 Unitech Electronics Co Ltd All rights reserved Unitech is a registered trademark of Unitech Electronics Co Ltd...

Страница 2: ...ical related issues Should an equipment problem occur please contact the Unitech regional service representatives nearest you For complete contact information please visit the Web sites listed below U...

Страница 3: ...int Contrast Control Command 21 5 2 Printer Peak Power Control Command 21 5 3 Printer Battery Voltage Monitor Commands 22 5 4 Auto Power Down Command 22 5 5 Printer Operating Mode Commands 23 5 6 Supe...

Страница 4: ...ack Space Remove previous character in print buffer HT I 0x09 09 Horizontal Tab Tab to 5 9 13 17 21 25 29 33 37 or to the beginning of next line LF J 0x0A 10 Line Feed Advance to beginning of next lin...

Страница 5: ...ter Font Control 2 0 Unitech MP300 Printer Font Control Four commands are defined with the Unitech MP300 printer which allow the user to select different typefaces change the character height width as...

Страница 6: ...line feeds desired at the beginning of a line use the three character commands from the table below It is important to mention that while printing PC Line Draw characters the line spacing must be set...

Страница 7: ...each to be received Valid Graphic character sets are from 0x00 to 0xFF Hex using bits 0 7 Esc J n Performs n 0 125mm feed Esc V 0x01 0x00 72 bytes of data This code prints a single line of graphic Ta...

Страница 8: ...Graphic Logo none Esc L G OxFF Stop Loading Graphic Logo D X Esc L g n Print Graphic Logo Printer Prints Logo n Table 3 3 Graphic Logo Commands Chapter 4 0 Bar Codes 4 0 Bar Codes The Unitech MP300 pr...

Страница 9: ...IRS 0x030 through 0x039 ASCII 48 57 PAIRS 0x030 through 0x039 ASCII 48 57 Table 4 2 Code 128 Start Character Code 128 Data Bytes DATA The data bytes are defined by which character set is defined The p...

Страница 10: ...tered Example Command String Printer Output Esc Z 3 0x0A 0x50 1234567890 Prints interleaved 2 of 5 12345678 10 mm high Table 4 4 Interleaved 2 of 5 Example 4 4 UPC EAN JAN specifications Description E...

Страница 11: ...d text or graphics depends on the type of the thermal paper used the printer battery voltage and the printer contrast setting selected by the host application Ten levels of printer contrast settings a...

Страница 12: ...5 2 Printer Battery Voltage Monitor Commands 5 4 Auto Power Down Command In order to conserve battery life the printer features an auto power down timer The power down timer defaults to 20 seconds on...

Страница 13: ...se ESC P Enable Buffer Empty response printer ready for more data EOT D transmitted on buffer empty EOT D 0x04 Buffer Empty Response Transmitted if printer buffer empty and the printer is ready for mo...

Страница 14: ...h bits n2 holds the low four bits 0x30 4 low bits n1 and n2 can have values 0x30 through 0x3f Table 6 0 Black Mark Printer Commands Chapter 7 0 Appendix A A 1 0 Flash Font Download for MP200 and MP300...

Страница 15: ...certain font Please note that character is not part of the string The default Printer setting is Courier International 21CPI decimal code 27 107 4 Font Type Command String Font Name Font Print Command...

Страница 16: ...International and PC Line Graphic Font 08x23h Graphic 08w x 23h Command String to Select esc F1 esc k4 or esc k5 File Name TB A 08 DW2 TBXn0823 DW1 A 08 DW2 TBXi0823 DW1 PC Line esc F2 esc k4 or esc...

Страница 17: ...s replaced with user designed character A STEP 1 Describe the Bitmap This is best done within a font editing program Characters must be right justified within the 16 x 23 bit cell To ensure the charac...

Страница 18: ...operation of the printer remove the battery cartridge from the printer for several seconds Replace the battery cartridge and the new fonts will be ready for use To ensure optimal operation of the pri...

Страница 19: ...e use the MP300 driver Use Wordpad or any Windows application to prepare your logo document From printer Setup of Wordpad application Set the paper margins to 0 12 Print your logo document to a file n...

Страница 20: ...d 6 Wait for D X response to come back from the printer This indicates that file transmission and storage is completed 7 Cycle power 8 To test the LOGO prn file issue print commands Esc L g n Chapter...

Страница 21: ...M nn 6 CR Read Tracks 1 2 and 3 simultaneously ESC C Cancel MC Read process nn ASCII 01 through 99 seconds nn 00 disables the MC reader timer Table B 2 Magnetic Card Read Command Strings Details B 3 0...

Страница 22: ...enablethe magnetic card reader e g Esc m004 cr The printer turns on the GREEN READY LED Once the operator swipes the magnetic card the printer transmits in ASCII format the tracks information found on...

Страница 23: ...erial Interface to the host computer A minimum of two connections is required for operation RXD pin 3 and Common pin 1 The proper baud rate and protocol settings are required to communicate with the h...

Страница 24: ...ll wake up and print the requested data Pressing the power switch again will turn the printer OFF The printer can be either in Set IrDA mode which is fixed at 9600 bps baud rate or in Variable IrDA mo...

Страница 25: ...r will remain active waiting for the wireless print command Pressing the ON switch Again will turn the printer OFF For each wireless demonstration again turn the printer on by pressing the ON switch O...

Страница 26: ...eceived 5 5 ESC P Select Buffer mode characters are printed on D 5 5 ESC V n1 n2 data 8 bit Graphic command 3 1 ESC v n1 n2 data 8 bit Compressed Graphic Command 3 2 Table QR4 Printer Graphic Commands...

Отзывы: