ZPL commandsGraphics and images

^GDGraphic Diagonal Line

✓Supported by zplkit

Draws a diagonal line across a box of the given width and height.

Format

^GDw,h,t,c,o

Parameters

ParameterDescriptionDefault
wBox width, in dotsValue of t, or 3
hBox height, in dotsValue of t, or 3
tLine thickness, in dots1
cLine colorB black, W whiteB
oDirectionR or / right-leaning, L or \ left-leaningR

Example

Edit it to see what prints
What the ^GD example prints