LJ SERIES 2D EMULATION

Syntax

E &s#C

 

Hex

1B 26 73 # 43

Dec

27 38 115 # 67

where

# = 0 enables End-of-Line Wrap

 

# = 1 disables End-of-Line Wrap.

Push/Pop Cursor Position

Purpose

Syntax

The Push/Pop Cursor Position command enables the current cursor position to be stored and recalled at a later time. Up to twenty cursor positions may be stored in a last-in first-out (LIFO) stack, where the item most recently pushed onto the stack is the first to come off the stack.

E& f # S

Hex

 

1B 26 66 # 53

Dec

 

27 38 102 # 8

where

#

= 0ÐPush (store cursor position)

 

#

= 1ÐPop (recall cursor position).

The # value of zero pushes the cursor position onto the stack and a value of one pops it off the stack and restores the cursor to the previous position.

Control codes for cursor positioning

The following control code are used to move the cursor.

Carriage Return (CR)

CR (hexadecimal 0D, decimal 13) moves the cursor to the left margin on the current line.

Space (SP)

SP (hexadecimal 20, decimal 32) moves the cursor one column to the right of the current position. If space is defined as a printable character, the character is printed.

3-34

XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE

Page 194
Image 194
Xerox 4213 manual Push/Pop Cursor Position, Control codes for cursor positioning, # S, Carriage Return CR, Space SP