Applications Overview
74
Printing a Line
Label Output
PAL Command Sequence
/Sans12.00pt
findfont
12
scalefont
setfont
72 72
moveto
(Hello World!)
show
72 68
moveto
144 68
lineto
stroke
Hello World!
1 "
1 "
1 _showpages
Purpose:
Demonstrate drawing lines on a label. This example underlines the “Hello
World!” text from the previous example.
moveto -
Position the drawing cursor at the desired location
The line will be positioned near the same location as the text, a bit lower in the y
direction to allow for a small space between the bottom of the text and the line. This
example uses the value 68, 4 points below the text (4/72 inches).
lineto –
Set the dimensions for the line
The line will be drawn from the current position (72,68) to the position set by the lineto
(144,68). The vertical position did not change resulting in a horizontal line stretching
between the x locations of 72 and 144.
stroke –
Draw the line
Actually draws the line specified by the lineto command
.
Содержание Codewriter 4500 Series
Страница 1: ...CodeWriter 4500 Series Operator s Manual Manual Part No 108738 Rev C ...
Страница 16: ...Introduction 6 This Page Intentionally Blank ...
Страница 36: ...Data Communications 26 This Page Intentionally Blank ...
Страница 48: ...Media Settings 38 This Page Intentionally Blank ...
Страница 74: ...Troubleshooting Guide 64 This Page Intentionally Blank ...
Страница 78: ...Applications Overview 68 MSI Plessy MSI PDF 417 PDF417 Table 8 PAL Bar Code List and Samples ...
Страница 88: ...Applications Guide 78 This Page Intentionally Blank ...
Страница 94: ...Advanced Features 84 ...