beautypg.com

User's guide code sets d-7 – AMT Datasouth ACCEL-6300 User Manual

Page 186

background image

User's Guide

Code Sets D-7

Table D-3. AMT Datasouth and Diablo 630 Escape Sequences––continued

Function

ASCII

Hexadecimal

Decimal

Description

Basic Functions––continued

Auto carriage return ...............

ESC @ CR n

1B 40 0D n

27 64 13 n

This sequence starts and ends the automatic carriage return

Start ......................................

ESC @ CR 1

1B 40 0D 31

27 64 13 49

mode, wherein the printer performs a carriage return and

End .......................................

ESC @ CR 0

1B 40 0D 30

27 64 13 48

line feed for every line feed code it receives.

Auto line feed ............................

ESC @ LF n

1B 40 0A n

27 64 10 n

This sequence starts and ends the automatic line feed mode,

Start ......................................

ESC @ LF 1

1B 40 0A 31

27 64 10 49

wherein the printer performs a carriage return and line feed

End .......................................

ESC @ LF 0

1B 40 0A 30

27 64 10 48

for every carriage return code it receives.

Auto line wrap

These sequences control the automatic line wrap mode,

Start ......................................

ESC ?

1B 3F

27 63

wherein the printer performs a carriage return/line feed

End .......................................

ESC !

1B 21

27 33

when printing reaches the rightmost print position on a line. The
rightmost print position on a line is determined by the WIDTH
setting on the printer's Setup menu. With the auto line wrap
mode off, the printer truncates text and graphics that exceed the
rightmost print position.

Auto perforation skip ...............

ESC @ FF n

1B 40 0C n

27 64 12 n

This sequence starts and ends the automatic perforation

Start ......................................

ESC @ FF 1

1B 40 0C 31

27 64 12 49

skip mode, wherein the printer performs a form feed when-

End .......................................

ESC @ FF 0

1B 40 0C 30

27 64 12 48

ever printing reaches one-half inch from the bottom of the page.
The form feed advances the paper one-half inch beyond the next
top-of-form or top margin (if one is set).

Unidirectional printing .............

ESC @ U n

1B 40 55 n

27 64 85 n

This sequence starts and ends unidirectional printing, where-

Start ......................................

ESC @ U 1

1B 40 55 31

27 64 85 49

in printing occurs only while the carriage moves from left-

Start (alternate) ....................

ESC \

1B 5C

27 92

to-right. Unidirectional printing enables the exact align-

End .......................................

ESC @ U 0

1B 40 55 30

27 64 85 48

ment of multi-line graphics, component characters and

End (alternate) .....................

ESC /

1B 2F

27 47

other applications where vertical alignment is crucial.

Ignore codes ..............................

ESC @ I n

1B 40 49 n

27 64 73 n

This sequence causes the printer to ignore from 1 to 95
subsequent codes that it receives. The value of n minus 32
defines the number of codes to ignore. For example, to ignore
the next 20 codes, the correct escape sequence is ESC @ I 4.

Restore control code ...............

ESC SI

1B 0F

27 15

This sequence cancels the printing of characters with codes

functions

1 to 6 that was enabled by an SO control code.

User's Guide

Code Sets D-7

Table D-3. AMT Datasouth and Diablo 630 Escape Sequences––continued

Function

ASCII

Hexadecimal

Decimal

Description

Basic Functions––continued

Auto carriage return ...............

ESC @ CR n

1B 40 0D n

27 64 13 n

This sequence starts and ends the automatic carriage return

Start ......................................

ESC @ CR 1

1B 40 0D 31

27 64 13 49

mode, wherein the printer performs a carriage return and

End .......................................

ESC @ CR 0

1B 40 0D 30

27 64 13 48

line feed for every line feed code it receives.

Auto line feed ............................

ESC @ LF n

1B 40 0A n

27 64 10 n

This sequence starts and ends the automatic line feed mode,

Start ......................................

ESC @ LF 1

1B 40 0A 31

27 64 10 49

wherein the printer performs a carriage return and line feed

End .......................................

ESC @ LF 0

1B 40 0A 30

27 64 10 48

for every carriage return code it receives.

Auto line wrap

These sequences control the automatic line wrap mode,

Start ......................................

ESC ?

1B 3F

27 63

wherein the printer performs a carriage return/line feed

End .......................................

ESC !

1B 21

27 33

when printing reaches the rightmost print position on a line. The
rightmost print position on a line is determined by the WIDTH
setting on the printer's Setup menu. With the auto line wrap
mode off, the printer truncates text and graphics that exceed the
rightmost print position.

Auto perforation skip ...............

ESC @ FF n

1B 40 0C n

27 64 12 n

This sequence starts and ends the automatic perforation

Start ......................................

ESC @ FF 1

1B 40 0C 31

27 64 12 49

skip mode, wherein the printer performs a form feed when-

End .......................................

ESC @ FF 0

1B 40 0C 30

27 64 12 48

ever printing reaches one-half inch from the bottom of the page.
The form feed advances the paper one-half inch beyond the next
top-of-form or top margin (if one is set).

Unidirectional printing .............

ESC @ U n

1B 40 55 n

27 64 85 n

This sequence starts and ends unidirectional printing, where-

Start ......................................

ESC @ U 1

1B 40 55 31

27 64 85 49

in printing occurs only while the carriage moves from left-

Start (alternate) ....................

ESC \

1B 5C

27 92

to-right. Unidirectional printing enables the exact align-

End .......................................

ESC @ U 0

1B 40 55 30

27 64 85 48

ment of multi-line graphics, component characters and

End (alternate) .....................

ESC /

1B 2F

27 47

other applications where vertical alignment is crucial.

Ignore codes ..............................

ESC @ I n

1B 40 49 n

27 64 73 n

This sequence causes the printer to ignore from 1 to 95
subsequent codes that it receives. The value of n minus 32
defines the number of codes to ignore. For example, to ignore
the next 20 codes, the correct escape sequence is ESC @ I 4.

Restore control code ...............

ESC SI

1B 0F

27 15

This sequence cancels the printing of characters with codes

functions

1 to 6 that was enabled by an SO control code.