AMT Datasouth 400 manual Control codes for the printer commands, Symbol, Code hexadecimal

Models: 400

1 76
Download 76 pages 34.49 Kb
Page 28
Image 28

Interaction Commands

These commands only apply to the serial port. They allow the host to request the status and configuration of the printer.

Command

Description

Response

Contents

<SOH>#

Reset

Y

<XOFF><XON>T

<SOH>A

Send a readable

Y

<8 bytes, Y/N> <CR>

 

status string

 

byte 1 : Y - printer busy

 

 

 

byte 2 : Y - paper out

 

 

 

byte 3 : Y - ribbon out

 

 

 

byte 4 : N (always)

 

 

 

byte 5

: Y - printing

 

 

 

byte 6

: Y - printer paused

 

 

 

byte 7

: Y - label presented

 

 

 

byte 8

: N (always)

<SOH>B

Toggle pause

N

 

 

 

condition

 

 

 

<SOH>E

Send the number of

Y

0000<CR>

 

labels to be printed

 

no label left to be printed

<SOH>F

Send status byte

Y

n<CR>

 

 

 

Same as <SOH>A, except bit 1 to 8

 

 

 

corresponding to byte 1 to 8 of

 

 

 

<SOH>A.

Notes:

1.Control codes for the printer commands.

Symbol

Code (hexadecimal)

XON

11H

XOFF

13H

STX

02H

SOH

01H

ESC

1BH

LF

0AH

CR

0DH

2. There is no space code in the command.

User's Guide 27

Page 28
Image 28
AMT Datasouth 400 Control codes for the printer commands, Symbol, Code hexadecimal, There is no space code in the command