TransAct Technologies ITHERM 280 User Manual

Page 122

Advertising
background image

Programming Codes

iTherm

®

280 Programmer’s Guide

Page 120

Rev C

28-07764

Function

Set Print Area in Page Mode

Legacy Support Command

ASCII

[ESC] u <O

L

><O

H

><W

L

><W

H

>< H

L

><H

H

>

Hexadecimal 1BH 75H <O

L

><O

H

><W

L

><W

H

>< H

L

><H

H

>

Decimal

<27><117><O

L

><O

H

><W

L

><W

H

>< H

L

><H

H

>

IPCL

&%PS<0000><WWWW><HHHH>

EPOS

[ESC] W

Description This command Sets the position and size of the printing initial area in

page mode and sub pages.

Where:

<O

L

><O

H

>

the y direction offset Default(0)

<W

L

><W

H

> the width in dots Default(576)

< H

L

><H

H

> the height in dots Default(3000)


This command should always be sent before or immediately after page mode is entered
to define the initial page size.

Once in page mode (after the [ESC]t command) the command can be sent multiple
times so that several different print areas, aligned in different print directions, can be
developed in the printer’s page buffer before being printed using the Print Page Mode
commands
(FF or ESC FF).

The starting position of the print area is the upper left of the area to be printed. The
offset is in the x direction and is O dots. The length of the area to be printed in the y
direction is set to H dots. The length of the area to be printed in the x direction is set to
W dots. (Note that the Y offset is always 0)

The set print area command may be invoked multiple times while in page mode. The
first invocation specifies the final page height. Following invocations will define smaller
windows within the initially defined page. If the Set page size command is not used, the
page size will default to the maximum size.

The orientation of the set print area command is always based on 0 degrees regardless
of the current orientation setting. This includes if the command is sent before the start
page mode command, after the start page mode command, or as a sub-page.

Note: The maximum printable area in the x direction is 576/203 or 3.15
inches.
Note: The maximum printable area in the y direction is 2999/203 or 14.78
inches.
Note: The printed page length will only include what actually has print
data.



Advertising