beautypg.com

6) paper formatting, 7) printer control commands, Esc @ initialize – Brother MW-260 User Manual

Page 37: 6) paper formatting 2-7) printer control commands

background image

37

2-6) Paper formatting

ESC ( c Specify page format

[ASCII] ESC ( c nL nH tL tH bL bH

[Decimal]

27 40 99 nL nH tL tH bL bH

[Hexadecimal] 1B 28 63 nL nH tL tH bL bH

[Parameters] nL=4, nH=0

(tL+tH*256)<(bL+bH*256)

Top margin < Bottom margin

[Description]

Specifies settings for the top and bottom margins.

This printer is designed specifically for A7-size or A6-size paper. As for A7-size, the physical

printable area is 1,180 dots (height) * 816 dots (width) with the portrait orientation, or 816 dots

(height) * 1,180 dots (width) with the landscape orientation. As for A6-size, the physical

printable area is 1,660 dots (height) * 1,152 dots (width) with the portrait orientation, or 1,152

dots (height) * 1,660 dots (width) with the landscape orientation.

The top margin and bottom margin are specified in units of 1/300 inch (1 dot), based on the top edge of

the physical printable area.

(The left margin and right margin are based on the left side of the physical printable area.)

Top margin = tL + tH * 256
Bottom margin = bL + bH * 256

2-7) Printer control commands

ESC @ Initialize

[ASCII] ESC @

[Decimal]

27 64

[Hexadecimal] 1B 40

[Parameters] None

[Description]

Resets all commands to their default settings.

Clears the data from the print buffer.

This manual is related to the following products: