beautypg.com

Genicom ansi emulation, Enicom, Ansi – Dascom T2250 User Guide IGP for Dot Matrix Printers User Manual

Page 64: Mulation, Igp for dot matrix printers user guide

background image

IGP for Dot Matrix Printers

User Guide

64

Genicom ANSI Emulation

The Genicom ANSI emulation is defined by the Genicom 4810 / 4840 Programmer’s Manual,
GEK-89025. This emulation supports many standard ANSI escape sequences as well as
extended commands for bar codes and oversize characters.

The following escape sequences are supported:

Command

Description

Command

Description

ESC c

Reset Printer

ESC \

Exit Special Modes

ESC K

Move Partial Line
Down

ESC L

Move Partial Line Up

ESC [p1 a

Move Relative
Horizontal Position
Right

ESC [p1 d

Move Absolute
Vertical Position

ESC [p1 e

Move Relative Vertical
Position Down

ESC [p1;p2 f

Move Absolute
Horizontal and
Vertical Positions

ESC [p1 j

Move Relative
Horizontal Position
Left

ESC [p1 k

Move Relative Vertical
Position Up

ESC [p1 ‘

Move Absolute
Horizontal Position

ESC H

Set Horizontal Tab at
Current Position

ESC J

Set Vertical Tab at
Current Position

ESC [p1;p... g

Set and Clear
Horizontal and
Vertical Tabs

ESC [p1;p2;p3 r

Set Form Length, Top
Margin, and Bottom
Margin

ESC [0 g

Clear Horizontal Tab
at Current Position

ESC [p1;p2 s

Set Left and Right
Margins

ESC [1 g

Clear Vertical Tab at
Current Position

ESC [p1;p... u

Set Horizontal Tabs

ESC [3 g

Clear Horizontal Tabs

ESC [p1;p... v

Set Vertical Tabs

ESC [4 g

Clear Vertical Tabs

ESC [p1;p2 SP B

Modify Character Size

ESC [p1;p2 SP G

Set LPI and CPI

ESC [p1;p... m

Set Font Style and
Enhancements

ESC [p1 x

Select Character Set

ESC [0 m

Cancel Font
Enhancements

ESC [p1;p... h

Set Mode

ESC [1 m

Enable Bold

ESC [11 h

Set Position Unit
Mode

ESC [4 m

Enable Underline

ESC [20 h

Set Line Feed New
Line Mode