TM

CHAP. 7

CONTR

These control codes are applicable in serial interface only.

Control Codes

 

Hex Codes

Function

 

 

HT

 

<09>

Horizontal tab

 

LF

 

<0A>

Print and line feed

 

CR

 

<0D>

Print and carriage return

ESC SP

<1B> <20> “n

Set right side character spacing

ESC !

<1B> <21> “n

Set printer mode (Font select)

ESC %

 

<1B> <25> “n

Set/cancel

the

user-defined

 

character set

 

 

 

 

 

 

 

 

 

<1B> <26> “y” “c1

Define user-defined character set

ESC &

ƒ

c2” [<x> <d1>

(max. 10 characters)

 

 

 

<d(yxx)>]c2-c1+1

 

 

 

ESC *

 

<1B> <2A> “m” “nL

Select bit image mode

 

 

nH” [<d>]k

 

 

 

ESC 2

 

<1B> <32>

Set 1/6 inch line space

ESC 3

 

<1B> <33> “n

Set line spacing

 

ESC @

 

<1B> <40>

Initialize printer

 

ESC D

 

<1B> <44> [<n>]k

Set horizontal tab positions

 

<00>

 

 

 

 

 

ESC J

 

<1B> <4A> “n

Print and feed paper

 

ESC R

<1B> <52>

Select an international character

set

 

 

 

 

 

 

 

ESC U

 

<1B> <55> “n

Turn uni-directional printing

 

mode on/off

 

 

 

 

 

 

 

ESC c 5

 

<1B> <63> <35> “n

Enable/disable panel button

 

 

 

 

 

ESC d

 

<1B> <64> “n

Print and feed n lines

ESC p

 

<1B> <70> “m” “t1

Generate

pulse

(peripheral

 

t2

device)

 

 

 

 

 

 

ESC t

<1B> <74>

Select character code table

ESC {

 

<1B> <7B>

Turn upside-down printing mode

 

on/off

 

 

 

 

 

 

 

ESC u

<1B> <73>

Transmit peripheral device status

ESC v

<1B> <76>

Transmit paper sensor status

ESC =

<1B> <3D> “n

Select peripheral device

7 - 6

Page 56
Image 56
POSIFLEX Business Machines PP3000 manual Esc Sp