background image

Ap890 and Ap892 User Guide Page 4 of 12

2.5 

DOT ADDRESSABLE GRAPHICS

Graphics patterns are built up as a succession of complete dot lines across the paper, rather like a TV
picture. Complete dot lines must be specified at a time.  The data for each dot line of graphics should
be encoded as shown:

For the Ap890:

ESC, 01H, d

1

…d

24

(a total of 26 bytes per dot line)

For the Ap892:

ESC, 01H, d

1

…d

40

(a total of 42 bytes per dot line)

Bits 5 through 0 of each data byte (d

1

 through d

24

 or d

40

) are interpreted as encoding individual dots

on the paper, where 1 represents a dot, and 0 represents a space. Bits 7 and 6 are ignored.

Large areas of solid dots are not recommended, as they may cause overheating and shorten the
ribbon life: try shading.  Heavy graphics printing will also drain the battery more quickly.

N.B.

  If multiple dot lines of graphics are required to be contiguous, care must be taken to ensure that

the data rate is high enough to allow continuous printing. This is because the mechanism inserts an
additional dot line of space each time the motor stops and restarts. In order for this effect to be
avoided the data for each dot line of graphics must be ready and waiting in the printer’s buffer by the
time the previous dot line has been completed.

2.6 

DATA BUFFER

The Ap890 has a nominal 8k byte buffer which enables data to be received while previous lines are
being printed.  The state of the data buffer is reported to the host by both hardware and software
handshaking.

The hardware busy line is asserted when 512 bytes of space remains; and incoming data are no
longer passed to the buffer when 48 bytes remain.  The hardware busy line goes ready again when
528 bytes become free.

The Ap890 transmits software handshaking codes when the buffer status changes, as follows:

XON

11H

Start transmission

Meaning: The buffer is ready to receive data.
Transmitted after a reset, or when the data buffer empties to only 1/4 full.

XOFF

13H

Stop transmission

Meaning: The buffer is not ready to receive data.
Transmitted when the data buffer becomes 3/4 full.

N.B.

 An XON character is transmitted when the printer has woken up and is ready to receive data, but

no XOFF character is transmitted prior to the Ap890 entering sleep mode.

2.7 

SERIAL INTERFACE

The default serial interface format is 9,600 baud, 8 data bits, 1 or 2 stop bits, and no parity.  Other
formats can be programmed into the Ap890 at the factory.

Serial data is expected on Rx in RS-232C format with -12V meaning 'mark' or logical '1', and +12V
meaning ‘space’ or logical '0', with reference to the common ground.  The serial data output line, Tx,
transmits XON/XOFF to the host at the same baud rate and format as the serial data input.  The
hardware busy line, Busy, is true (nominally -12V) when busy. Both serial output lines will relax to
approximately 0V when the Ap890 is in sleep mode, and the user must allow a short period after
awakening before relying on the values of these signals.

Some host equipment use a constant space condition (+12V) to indicate a reset condition or wait
state. Some battery powered host equipment present the same output signal when they go to sleep.
By default the Ap890 will ignore this condition, but this type of host behaviour may result in one or
more spurious characters being received by the Ap890, or the Ap890 may be prevented from going to
sleep.

Summary of Contents for Ap890

Page 1: ...f Power Pack Options 6 4 2 Removing And Replacing The Power Pack 6 4 3 Battery Pack Handling Precautions 7 4 4 Battery Pack Environmental Concerns 7 4 5 Battery Pack Types And Capacity 7 4 6 Battery P...

Page 2: ...of Able Systems Limited or of third parties is given Unauthorised reproduction or amendment of controller firmware may result in prosecution Design Registration of the Ap800 printer has been applied f...

Page 3: ...f the button is held for more than 3 seconds after waking the printer produces a Self Test print which includes the firmware version and the full character set This print continues as long as the butt...

Page 4: ...are no longer passed to the buffer when 48 bytes remain The hardware busy line goes ready again when 528 bytes become free The Ap890 transmits software handshaking codes when the buffer status changes...

Page 5: ...e data again ESC n 1BH n Self Test Fast Feed Graphics and Print Mode Selection N B All ESC sequences should appear at the start of a logical line If one is received within a normal printable line a li...

Page 6: ...n be operated continuously to keep the battery fully charged although a high printing duty cycle may reduce the charge in the battery N B Operation from the charger alone is not possible a battery pac...

Page 7: ...tails 4 5 BATTERY PACK TYPES AND CAPACITY Two types of battery pack are currently available for use with the Ap890 These are 950 mAH NiCd ASL Product Code AP800BP 01 1300 mAH NiMH ASL Product Code AP8...

Page 8: ...it To load a new roll of paper Discard a few turns of paper in case they have been damaged or have glue on Mount the roll between the bosses in the paper holder area the right hand boss is on a sprung...

Page 9: ...echanism To change the ink ribbon cartridge Open the printer cover and snap out the old cartridge by pressing down on the right hand end marked PUSH Carefully lift the cartridge so that the ribbon com...

Page 10: ...nes all data and charger functions Printer side Hosiden TCS7167 6 way Socket mini DIN style User side Hosiden TCP7160 6 way Plug Cable or equivalent Pin Function AP800 BOC Colour typical 1 Tx Data Out...

Page 11: ...r cables see section 7 2 Combined Data Charger Adaptor Cables Alternatively the user may make their own charger arrangements The recommended battery charger supply voltage is 12 V DC to 15 V DC at 200...

Page 12: ...have a way of doing this or you can get to the DOS prompt eg C and type the following command line assuming you have connected the printer to COM2 MODE COM2 9600 N 8 2 RETURN This will set up the port...

Reviews: