19.01.2016 Views

Brother RJ-4030 - Comandi ESCP

Brother RJ-4030 - Comandi ESCP

Brother RJ-4030 - Comandi ESCP

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ESC/P Command Reference<br />

ESC D<br />

Specify horizontal tab position<br />

ASCII: ESC D [n] k NUL<br />

Decimal: 27 68 [n] k 0<br />

Hexadecimal: 1B 44 [n] k 00h<br />

Parameters<br />

1≤n≤255, 0≤k≤32<br />

Description<br />

• The horizontal tab position is the character width (when the command was specified)*n from the left<br />

margin.<br />

• Enter n values in ascending order and end the settings with NUL.<br />

• If an n value is smaller than a previous one, tab setting is ended.<br />

• Even if the character width is changed after the horizontal tab positions have been specified, the horizontal<br />

tab position settings do not change.<br />

• ESC D NUL cancels all horizontal tab positions.<br />

• If the left margin is moved, the horizontal tab positions are also moved by the same amount.<br />

• Up to 32 horizontal tab positions can be specified. However, horizontal tab positions beyond the right<br />

margin are invalid and only become valid when a change in the right margin setting or left margin setting<br />

moves the print area to include those tab positions.<br />

• The character width when the horizontal tabs are specified includes the settings for the character spacing,<br />

full-width character spacing or half-width character spacing. In addition, when a pitch of 10 cpi, or 12 cpi,<br />

compressed characters or double-width characters are specified, that character width is considered as the<br />

unit.<br />

• When proportional pitch is specified with ESC p, horizontal tab positions are specified at 10 cpi.<br />

• When the printer is turned on, a horizontal tab position is specified every 8 columns at 10 cpi.<br />

Even if the character width is changed before the horizontal tab positions has been specified, the<br />

horizontal tab positions do not change.<br />

Left edge Left margin position Tab position<br />

Tab position Right margin position<br />

・<br />

Column<br />

・<br />

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16<br />

1 2 3 4 5 6 7 8 9 10 11 12 13 14<br />

HT code<br />

HT code<br />

・<br />

Unprinted area<br />

Printable area<br />

Unprinted area<br />

Example:<br />

After the left margin is specified as Column 3 and the right margin as Column 15,<br />

horizontal tabs were specified at Column 5 and Column 10, and HT were performed.<br />

- 44 -<br />

5. Control Command Details

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!