226
G - Graphic Field Definition
cab printers are able to print graphic elements, such as lines, rectangles, circles and elipses.
These graphic elements are defined by the G command.
Syntax:
cab Produkttechnik GmbH & Co KG
G[:name;]x,y,r;ge:settings[,options] CR
G - Graphic field definition command.
[:name;] = Optional field name, for further usage as a variable. .
Maximum length 10 characters, no special characters
allowed, fieldname must be unique. The field name can
be used for further operations, such as Replace field
name .
(See the „R" command for details) or just as a comment.
x
= Horizontal coordinate of the start position in millimeters or
inches from the left edge of the printable area to the start
position of the graphic field.
y
= Vertical coordinate of the start position in millimeters or
inches from the top edge of the printable area to the start
position of the graphic field.
Starting points of the graphic elements are:
Lines:
Rectangles:
Circles:
Ellipses:
r
= Rotation. Graphic elements can be rotated in steps of
1 degrees from 0 to 359 degrees.
ge
= graphic element: Here we define the type of the graphic
element which shall be printed.
C = Circle (Ellipse is defined with the circle command)
L = Line
R = Rectangle
Center of the starting point of the line
upper left corner, outside of the rectangle
Center
Center
226
226