ABLE AP1200 Programmer's Manual

Summary of AP1200

  • Page 1

    The experts in small printer solutions programmer guide also covers the atb102, atb1200 and ap863 ap1200 thermal printer 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

    Ref: "progguide1_7.Docx" page 2 of 26 document revision: “1.7” document date: “11 sep. 2013” contents 1 introduction ................................................................................................. 3 notes on printer firmware revisions (including flash) ................................

  • Page 3

    Ref: "progguide1_7.Docx" page 3 of 26 document revision: “1.7” document date: “11 sep. 2013” introduction this programmers guide provides a description of the software commands supported by the: ap1300 and ap1310 battery operated portable packaged printers ap1310dp and ap1310dc direct power packaged...

  • Page 4

    Ref: "progguide1_7.Docx" page 4 of 26 document revision: “1.7” document date: “11 sep. 2013” 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...

  • Page 5

    Ref: "progguide1_7.Docx" page 5 of 26 document revision: “1.7” document date: “11 sep. 2013” 2 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 ma...

  • Page 6

    Ref: "progguide1_7.Docx" page 6 of 26 document revision: “1.7” document date: “11 sep. 2013” built-in fonts the built-in font characters are formed according to the font mode: font mode chars/line character height row height printer model 0 32 24 dots (3.00 mm) 30 dots (3.75 mm) all 1 42 24 dots (3....

  • Page 7

    Ref: "progguide1_7.Docx" page 7 of 26 document revision: “1.7” document date: “11 sep. 2013” 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 vertica...

  • Page 8

    Ref: "progguide1_7.Docx" page 8 of 26 document revision: “1.7” document date: “11 sep. 2013” serial interface the default serial interface format for all printers is 9600 baud, 8 data bits, 1 or 2 stop bits, and no parity. Other formats can be programmed into the printer at the factory or in the fie...

  • Page 9

    Ref: "progguide1_7.Docx" page 9 of 26 document revision: “1.7” document date: “11 sep. 2013” paper out, paper low and head up sensors the sensors present in each product are shown below: product mechanism paper out paper low head up auto-spool ap1300 ftp-628mcl103 by default ap1310 ftp-628mcl103 by ...

  • Page 10

    Ref: "progguide1_7.Docx" page 10 of 26 document revision: “1.7” document date: “11 sep. 2013” 3 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 inte...

  • Page 11

    Ref: "progguide1_7.Docx" page 11 of 26 document revision: “1.7” document date: “11 sep. 2013” 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 speci...

  • Page 12

    Ref: "progguide1_7.Docx" page 12 of 26 document revision: “1.7” document date: “11 sep. 2013” 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, pattern...

  • Page 13

    Ref: "progguide1_7.Docx" page 13 of 26 document revision: “1.7” document date: “11 sep. 2013” 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) dot...

  • Page 14

    Ref: "progguide1_7.Docx" page 14 of 26 document revision: “1.7” document date: “11 sep. 2013” formatting commands (continued) htab 09h 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 mov...

  • Page 15

    Ref: "progguide1_7.Docx" page 15 of 26 document revision: “1.7” document date: “11 sep. 2013” 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 af...

  • Page 16

    Ref: "progguide1_7.Docx" page 16 of 26 document revision: “1.7” document date: “11 sep. 2013” initialise and request status commands (continued) gs,"a",.. 1dh,61h,n enable/disable automatic status +n defines the conditions under which the status byte is transmitted without explicit request from the ...

  • Page 17

    Ref: "progguide1_7.Docx" page 17 of 26 document revision: “1.7” document date: “11 sep. 2013” barcode commands gs,"h",n 1dh,48h,n select automatic text in barcode n is encoded so: bit 0 cleared (0) no barcode text above barcode symbol (default) bit 0 set (1) print barcode text above barcode symbol b...

  • Page 18

    Ref: "progguide1_7.Docx" page 18 of 26 document revision: “1.7” document date: “11 sep. 2013” reserved commands in general, commands which are not implemented and described above should not be sent to the printer, as the outcome may not be as expected. However, some additional epson escpos commands ...

  • Page 19

    Ref: "progguide1_7.Docx" page 19 of 26 document revision: “1.7” document date: “11 sep. 2013” codes transmitted the printer automatically transmits xon and xoff bytes when the buffer status changes, as follows: xon 11h start transmission meaning: the buffer is ready to receive data. Transmitted afte...

  • Page 20

    Ref: "progguide1_7.Docx" page 20 of 26 document revision: “1.7” document date: “11 sep. 2013” 4 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. I...

  • Page 21

    Ref: "progguide1_7.Docx" page 21 of 26 document revision: “1.7” document date: “11 sep. 2013” the command esc,"x",09h,n sets the internal default 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 default to inverted print m...

  • Page 22

    Ref: "progguide1_7.Docx" page 22 of 26 document revision: “1.7” document date: “11 sep. 2013” 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 sho...

  • Page 23

    Ref: "progguide1_7.Docx" page 23 of 26 document revision: “1.7” document date: “11 sep. 2013” 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 ...

  • Page 24

    Ref: "progguide1_7.Docx" page 24 of 26 document revision: “1.7” document date: “11 sep. 2013” querying configuration information in general, for each esc,"x",m,.. Command, the corresponding gs,"i",m command may be used to query the current value. In some cases the information reported is different f...

  • Page 25

    Ref: "progguide1_7.Docx" page 25 of 26 document revision: “1.7” document date: “11 sep. 2013” 5 command summaries summary of print format commands and volatile settings function command clear print settings and buffer (select single width, single height, no underlining, no extra inter- character spa...

  • Page 26

    Ref: "progguide1_7.Docx" page 26 of 26 document revision: “1.7” document date: “11 sep. 2013” summary of non-volatile settings setting how set how reported note firmware version no. Gs,”i”,3 also in self test unit serial no. Gs,”i”,6 also in self test save all configuration to flash esc,"x",48 auto-...