beautypg.com

Brother PJ-622 User Manual

Page 24

background image

Brother PJ-600 Series Command Reference

22

© 2011 Brother Industries, Ltd. All Rights Reserved.

Name

Set paper width

Syntax ESC

+

~

+ w + {n1} + {n2}

1B H + 7E H + 77 H + {n1} + {n2}

Description Specifies the paper width.

The units of the data are in bytes.

For A4 at 300 dpi: 300

Ex. 1B H 7E H 77 H 2C H 01 H

→A4 setting (300)

Name

Set paper length

Syntax ESC

+

~

+ l + {n1} + {n2}

1B H + 7E H + 6C H + {n1} + {n2}

Description Specifies the paper length.

Normally used with roll paper or custom lengths.

The setting range is 200 to 65535 (raster lines).

Ex. 1B h 7E H 6C H E4 H 0C H

→The length of the print area is set to 3300.

Name

Set left margin

Syntax ESC

+

~

+ $ + {n1} + {n2}

1B H + 7E H + 24 H + {n1} + {n2}

Description Moves the cursor the specified distance from the left edge of the printable area in the X

direction.

The setting is a 2-byte value, and the units are in bits.

Since the sent data is specified in bytes, it is treated as a multiple of 8.

If it is not a multiple of 8, the nearest value at a multiple of 8 is specified.

Ex) 1B H 7E H 24 H 44 H 00 H

44 H = 68 However, since it is treated as bytes, the setting becomes 64.