Paper and print position movement, Reserved control codes, Horizontal tab ht 09 – Dascom T2250 User Guide IGP for Dot Matrix Printers User Manual

Page 36: Form feed ff 0c, Vertical tab vt 0b, Carriage return cr 0d, Horizontal tab, Ht 09, Form feed, Ff 0c

Advertising
background image

IGP for Dot Matrix Printers

User Guide

36

Paper and Print Position Movement

There are varieties of commands and escape sequences used to select paper and print
movement functions. In this section, we present both the reserved commands and escape
sequences.

When entering or exiting the Character or Plot modes, any data in the print buffer is printed. In
Character Mode, the print position moves to the left margin of the current line, or to the current
dot row in Plot Mode. If no paper motion command is issued, printing continues at the current
print position. The following commands affect print position by moving the paper vertically or print
position horizontally or both.

Reserved Control Codes

Horizontal Tab

HT

09

This control code moves the print position to the next horizontal tab stop on a line. For multiple
tabs, string multiple HT Control Codes together. The printer ignores HT Control Codes if
horizontal tabs are not set or if the command is placed in a line beyond the available tabs.

By default, the printer sets a tab stop every 8 columns. These default tab stops can be altered or
cleared using the Horizontal Tab Escape Sequence, listed earlier in this chapter.

In the MT660 Emulation, horizontal tab stops change physical location with a change of the left
margin or CPI. For example, if a stop is set at column 16, it will always be 15 columns from the
left margin, but the physical distance will change for all CPIs.

Form Feed

FF

0C

The FF Control Code advances the paper to the first print position of the next form.

Vertical Tab

VT

0B

When the VFU is enabled, the VT Control Code is used to advance the paper to the next VT
Channel location whether the printer is in Character Mode or Plot Mode.

The VT Channel is selected through the printer control panel. If the VFU is not enabled, a VT
Command causes a single line feed. If POPC is enabled, the preceding buffer contents are
printed before the VT Command is performed.

Carriage Return

CR

0D

The Carriage Return (CR) Control Code moves the print position back to the left margin.

In Automatic Line Feed Mode (Auto LF), when the printer encounters a CR Command, any
printable data previously received is printed and the current print position (cursor) moves to the
first column of the next line.

Advertising