Control codes for line spacing, Control codes for page layout – Mustek PP3000 User Manual

Page 52

Advertising
background image

7 - 2

TM

CHAP. 7
CONTR…

Control Codes for Line Spacing

Control Codes

Hex Codes

Function

LF

<0A>

Line feed

CR

<0D>

Line feed (same as LF)

ESC z 1
ESC z <1>

<1B> <7A> <31>
<1B> <7A> <01>

Set 1/6 inch line feed

ESC 0

<1B> <30>

Set 1/8 inch line feed

ESC a “n

<1B> <61> “n

Feed paper n lines

Control Codes for Page Layout

Control Codes

Hex Codes

Function

FF

<0C>

Page feed (form feed)

ESC C “n

<1B> <43> “n

Set page length at n lines

ESC C <0> “n

<1B> <43> <00>
n

Set page length at n inches

VT

<0B>

Execute vertical tab

ESC B “n1

…nk

<0>

<1B> <42>
n1

…nk<00>

Set vertical tab positions

ESC N “n

<1B> <4E> “n

Set bottom margin

ESC O

<1B> <4F>

Cancel bottom margin

ESC I “n

<1B> <6C> “n

Set left margin

ESC Q “n

<1B> <51> “n

Set right margin

HT

<09>

Execute horizontal tab

ESC D “n1n2

<1B> <44> “n1
n2

Set horizontal tab positions

Advertising