Advertisement

Quick Links

The
Experts in Small Printer Solutions
Ap1200
Thermal Printer
Programmer Guide
Also covers the ATB102, ATB1200 and Ap863
Able Systems Limited Denton Drive, Northwich, Cheshire CW9 7TU England
Tel: +44 (0) 1606 48621 Fax: +44 (0) 1606 44903 Web: www.able-systems.com

Advertisement

Table of Contents
loading

Summary of Contents for ABLE AP1200

  • Page 1 Experts in Small Printer Solutions Ap1200 Thermal Printer Programmer Guide Also covers the ATB102, ATB1200 and Ap863 Able Systems Limited Denton Drive, Northwich, Cheshire CW9 7TU England Tel: +44 (0) 1606 48621 Fax: +44 (0) 1606 44903 Web: www.able-systems.com...
  • Page 2: Table Of Contents

    Contents INTRODUCTION ....................3 Notes on Printer Firmware Revisions (Including Flash) .............. 3 Copyright Notice and Disclaimer ....................4 MODES OF OPERATION ................... 5 Paper Feed Button ........................5 Printing Method ......................... 5 Built-In Fonts..........................6 User Font ..........................6 Multiple Code Page Fonts ......................
  • Page 3: Introduction

    Notes on Printer Firmware Revisions (Including Flash) Able Systems reserves the right to modify and improve the firmware in its products at any time. Whilst every effort is made to ensure backward compatibility, no guarantee in this respect is given or implied.
  • Page 4: Copyright Notice And Disclaimer

    Copyright subsists in all Able Systems intellectual property, including controller firmware (embedded software) and circuit diagrams, pin connection lists and application data. No warranty in respect of patent rights of Able Systems Limited or of third parties is given. Unauthorised reproduction or amendment of controller firmware may result in prosecution.
  • Page 5: Modes Of Operation

    Modes Of Operation Please refer to the User Guide for an overview of the modes of operation, including waking, sleeping, idle mode and spool mode (where applicable). Some of the host-selectable features may be retained during sleep mode by storage in non-volatile memory (FLASH), but the others are lost.
  • Page 6: Built-In Fonts

    User Font is subsequently removed, then the Built-In Fonts are re-enabled automatically. Several fonts, covering a variety of code pages are available at www.able-systems.com Multiple Code Page Fonts N.B. Multiple Code Page Fonts are only available for the Ap1300 and Ap1310 printer range.
  • Page 7  Twenty-four (24) dot high graphics are also aligned with the top of text characters, and are printed dot-for-bit as sent by the host. The nominal dot size is 0.125 mm square. Successive blocks can be vertically contiguous only if Font Mode 3 is selected. ...
  • Page 8: Serial Interface

    Other formats can be programmed into the printer at the factory or in the field, from the host. A setup program, suitable for use with a PC, is available from Able Systems to simplify this process. Serial data is expected on Rx in RS-232C format with -12V meaning 'mark' or logical '1', and +12V meaning ‘space’...
  • Page 9: Paper Out, Paper Low And Head Up Sensors

    By default   Ap1310 FTP-628MCL103 By default   Ap863-F M-T102 Selectable  Ap1200 ELM205 Selectable   ATB102 M-T102 Selectable  ATB1200 ELM205 Selectable In all the products a reflective optical Paper Out sensor within the mechanism detects an out-of-paper condition, and/or senses black marks to register with pre-printed forms.
  • Page 10: Control Code Tables

    Control Code Tables General Notes: All codes from 00 to 1F which are not listed below are ignored. An ESC, GS etc code followed by an unrecognised command is ignored, but any following parameters are interpreted as normal characters. Any ESC, GS etc sequence which is described below but which has an illegal parameter is abandoned at that point.
  • Page 11: Command Codes Received

    To assist programmers in converting existing host software, the following codes are used:  Fully supported as in EPSON ESCPOS + Altered functionality compared with ESCPOS Able special code, no ESCPOS equivalent exists Setting may be retained in non-volatile [FLASH] memory  + ESC,"L" 1BH,4CH...
  • Page 12: Graphics Commands

    Graphics Commands  + ESC,"*",.. 1BH,2AH,m,n1,n2,d1...dk Dot-Addressable (Bit) Graphics Several modes of Dot Addressable Graphics are possible: In all modes dot patterns are coded as 1= dot, 0= space, patterns are arranged in dot-columns, and the MSBit of each byte is printed at the top. The number of dot columns is given by (n1+ 256*n2). When the third byte, m=0 or 2 (00H or 02H): Doubled-up 8 dot graphics [ k = n1+ 256*n2 ]...
  • Page 13 Formatting Commands  + ESC,"-".. 1BH,2DH,n Turn underline on/off If n=0: Underlining is turned off; otherwise is turned on.  ESC,"2" 1BH,32H Set default Row Height Set default row height. ie:-30 (0.125mm) dots in Font Mode 0,1 and 2; 24 dots in Font Mode 3; and 16 dots in Font Mode 4.
  • Page 14: Formatting Commands (Continued)

    Formatting Commands (Continued)  HTAB Horizontal Tab Default positions: 8,16,24,32,40; 6 positions available; programmed using ESC,D command. Ignored if off the end of a line. The first HTAB does not move from a HTAB position to the next: e.g. 1234567890123456 123456 T (1 Tab before "T") 1234567T...
  • Page 15 Initialise and Request Status Commands  ESC,"@" 1BH,40H Initialise printer Clears print parameters to power-on default, ie normal width and height, no underline, no extra space, and default tabs. Does not affect the inverted mode. Not real-time, executed in data sequence (unlike CAN).
  • Page 16 Initialise and Request Status Commands (Continued)  +N GS,"a",.. 1DH,61H,n Enable/Disable automatic status Defines the conditions under which the STATUS byte is transmitted without explicit request from the host. A bit set in ‘n’ causes the STATUS to be sent whenever the corresponding bit in the STATUS byte changes state (see CODES TRANSMITTED for format).
  • Page 17: Barcode Commands

    Barcode Commands  GS,"H",n 1DH,48H,n Select automatic text in barcode n is encoded so: bit 0 cleared No barcode text above barcode symbol (default) bit 0 set Print barcode text above barcode symbol bit 1 cleared No barcode text below barcode symbol (default) bit 1 set Print barcode text below barcode symbol This setting is retained and used for all subsequent barcodes, but is cleared to the default when the...
  • Page 18: Reserved Commands

    However, some additional EPSON ESCPOS commands are recognised, and an attempt is made to decode them, so that following commands will remain in synchronism and correctly interpreted. Please refer to Able Systems in case of difficulty. Ref: "ProgGuide1_7.docx"...
  • Page 19: Codes Transmitted

    Other values are either not defined or represent internal controller hardware errors. N.B. The ATB102 and Ap1200 differ in the use of bits 0 and 3 of the STATUS byte. These two printers report the "Paper Out" status via bit 0. The ATB102 (only) also provides for an additional "Head Up"...
  • Page 20: Settings And Configuration

    The printer maintains a large number of internal settings and configuration information which is not derived from ESCPOS control codes, and is unique to Able Systems printers. In general, the ESC,"X",m,... command is used to set these values, and the GS,"I",m command is used to query them.
  • Page 21 (See Spool Sleep Period [m=50] for details). The direct powered products (Ap1200, ATB102 and ATB1200) cannot enter sleep mode, but this timeout period can be used to initiate an auto-purge of the buffer if required.
  • Page 22: Saving Configuration Information

    m=23 Set AUXFLAGS value. The command ESC,"X",17H,n sets the internal values according to individual bits in the value of n. In each case, a bit set(1) means the following statement is true: Bit 0 Select Short Demo Print Bit 1 Select swapping '#' (23H) and '£' (9CH) chars Bit 2...
  • Page 23 Note that during the saving procedure the printer effectively performs a full system reset. Therefore, it is advised that the save command be issued in isolation (i.e. not embedded in a stream of printable data). Ref: "ProgGuide1_7.docx" Page 23 of 26 Document Revision: “1.7”...
  • Page 24: Querying Configuration Information

    1 Reserved bit 2 Battery voltage is low (normally indicated by Red LED) m=18 Report LED patterns. Please refer to Able for details if required. m=19 Report MT102FLAGS value. m=20 Report MarkFeed and EjectFeed values. m=23 Report AUXFLAGS value.
  • Page 25: Command Summaries

    Command Summaries Summary of Print Format Commands and Volatile Settings Function Command Clear Print Settings and Buffer ESC,”@” (Select single width, single height, no underlining, no extra inter- (real-time) character space, and default HTAB positions) Font Mode, Double Height, Double Width, Underlining ESC,"!",n Underlining only ESC,"-",n...
  • Page 26: Summary Of Non-Volatile Settings

    AUTO_STATUS settings GS,”a”.. A simple Windows setup program is available from Able on request, and when connected to a printer with a suitable data cable, gives easy access to the settings in the tables above. Please refer to Able Systems or visit our website at www.able-systems.com for more information.

This manual is also suitable for:

Atb102Atb1200Ap863

Table of Contents