Show/Hide Toolbars

CWT Software Configuration Handbook

Navigation: Appendices > Ticket layout > Commands

Position commands

Scroll Prev Top Next More

The position commands are based on coordinates, where the origin 0,0 starts in the top left corner of the ticket.

CWTSOF~1_img63

The dashed line illustrates the ticket paper.

The solid line illustrates the defined printable area. see also Ticket element

Command

Description

@H

Moves current point of insertion to the top left Home position.

@xXXX

Set x position

@yXXX

Set y position

@dxXXX

Delta x position. Set x to current x + dx, for Example: @dx10

@dyXXX

Delta y position. Set y to current y + dy, for Example: @dy10

@cr

Carriage return. Moves current point of insertion to the beginning of the line. The line size is determined from the last line written.

@lf

Line Feed. Moves current point of insertion down one line. The line size is determined from the last line written.

Note:
The x and y coordinate refers to lower left corner of the element to display

CWTSOF~1_img64

Note:
Regarding pictures the x and y coordinate refers to upper left corner

 

CWTSOF~1_img65