Chapter 2 Graphics Tutorial
2-24
Figure 2. 21. Printout of the SDP Example
The SDP command on line 3 defines a dashed pattern consisting of two lengths of black,
two lengths of white, five lengths of black, and two lengths of white. On line 11, the
DPAT command selects this pattern for stroking. The path defined by the PMZP (Path,
Move to Zero-relative Position) and PDZP (Path, Draw to Zero-relative Position) com-
mands is stroked using this pattern, with a result as shown in the figure above.
The SDP command uses the general format:
SDP
pattern-number
,
dash1
,
space1
,
dash2
,
space2
,
...
,
dash10
,
space10
;
The value specified for
pattern-number
must be in the range from 11 to 20. Dash and
space lengths are specified in pairs. Up to ten dash-space pairs can be specified. The dash
length always comes first in each pair. If a pattern is to begin with a space, then specify 0
for
dash1
. However, if a pattern ends with a dash, the following
space
parameter can be
omitted.
Dash patterns defined with this command remain valid until redefined with another SDP
command, or until the printing system is turned off.
Drawing Arcs and Curves
A path can include curves as well as lines. The PARC (Path, draw ARC) and PCRP
(Path, Curve to Relative Position) commands make it possible to draw circular arcs and
arcs of more complex form.
The PARC command uses the format:
PARC
x
,
y
,
radius
,
ang1
,
ang2
;
where
x
and
y
describe the zero-relative coordinates of the center of the arc,
radius
describes the radius of the arc,
ang1
describes the arc’s starting angle, and
ang2
describes the arc’s ending angle. Coordinates and radius are measured in the unit cur-
rently designated by the UNIT command, and the starting and ending angles are mea-
sured clockwise from the positive
x
axis.
The PARC command draws a line between the cursor position and the beginning of the
arc. See the following example:
!R! RES; UNIT C; NEWP; SPD .1;
PMZP 5, 5;
PARC 5, 5, 3, 45, 135;
STRK;
PAGE;
EXIT;
Содержание C8100DN - Color Laser Printer
Страница 1: ...Technical Reference PRESCRIBE Commands...
Страница 2: ......
Страница 67: ...Examples of Macros 3 5 Figure 3 2 Macro Example 2...
Страница 68: ...3 6 This page is left blank intentionally...
Страница 84: ...4 16 This page is left blank intentionally...
Страница 99: ...5 15 Some samples for Macro PDF417 are provided in PRESCRIBE Commands Command Reference on the XBCP page...
Страница 100: ...Chapter 5 Barcodes 5 16...
Страница 114: ...Chapter 6 Permanent Parameters 6 14...
Страница 123: ...IBM Proprinter X24E Emulation Mode 1 7 9 IBM Symbol Sets IBM PC 8 341 IBM PC 8 D N 373...
Страница 124: ...Chapter 7 Emulation 7 10 IBM PC 850 405 IBM PC 860 30...
Страница 125: ...IBM Proprinter X24E Emulation Mode 1 7 11 IBM PC 863 62 IBM PC 865 94...
Страница 130: ...Chapter 7 Emulation 7 16 Diablo 630 Symbol Sets DIABLO US 29 Diablo France 61...
Страница 131: ...Diablo 630 Emulation Mode 2 7 17 Diablo Germany 93 Diablo U K 125...
Страница 132: ...Chapter 7 Emulation 7 18 Diablo Denmark 157 Diablo Sweden 189...
Страница 133: ...Diablo 630 Emulation Mode 2 7 19 Diablo Italy 221 Diablo Spain 253...
Страница 134: ...Chapter 7 Emulation 7 20 Diablo Japan 285...
Страница 140: ...Chapter 7 Emulation 7 26 LQ 850 Symbol Sets LQ US 28 LQ France 60...
Страница 141: ...Epson LQ 850 Emulation Mode 5 7 27 LQ Germany 92 LQ U K 124...
Страница 142: ...Chapter 7 Emulation 7 28 LQ Italy 220 LQ Spain 252...
Страница 143: ...Chapter 7 Emulation 7 29 LQ Japan 284 LQ Norway 316...
Страница 144: ...Chapter 7 Emulation 7 30 LQ Denmark 2 348 LQ Spain 2 380...
Страница 145: ...Epson LQ 850 Emulation Mode 5 7 31 Latin America 412 LQ Denmark 156...
Страница 146: ...Chapter 7 Emulation 7 32 LQ Sweden 188...
Страница 181: ...HP LaserJet Emulation Mode 6 7 67 LaserJet Symbol Sets ISO 60 Norway 0D ISO 15 Italian 0I...
Страница 182: ...Chapter 7 Emulation 7 68 ECMA 94 Latin 1 0N ISO 11 Sweden 0S...
Страница 183: ...HP LaserJet Emulation Mode 6 7 69 ISO 6 ASCII 0U ISO 4 U K 1E...
Страница 184: ...Chapter 7 Emulation 7 70 ISO 69 France 1F ISO 21 Germany 1G...
Страница 185: ...HP LaserJet Emulation Mode 6 7 71 US Legal 1U ISO Latin 2 2N...
Страница 186: ...Chapter 7 Emulation 7 72 ISO 17 Spain 2S PC Cyrillic 3R...
Страница 187: ...HP LaserJet Emulation Mode 6 7 73 PS math 5M ISO Latin 5 5N...
Страница 188: ...Chapter 7 Emulation 7 74 Windows Latin 5 5T MS publishing 6J...
Страница 189: ...HP LaserJet Emulation Mode 6 7 75 ISO Latin 6 6N Desktop 7J...
Страница 190: ...Chapter 7 Emulation 7 76 Greek 8 8G Math 8 8M...
Страница 191: ...HP LaserJet Emulation Mode 6 7 77 Turkish 8 8T HP Roman 8 8U...
Страница 192: ...Chapter 7 Emulation 7 78 Windows Latin 2 9E Windows Greek 9G...
Страница 193: ...HP LaserJet Emulation Mode 6 7 79 PC 1004 9J ISO Latin 9 9N...
Страница 194: ...Chapter 7 Emulation 7 80 Win Cyrillic 9R PC Turkish 9T...
Страница 195: ...HP LaserJet Emulation Mode 6 7 81 Windows 9U PC 851 Greek 10G...
Страница 196: ...Chapter 7 Emulation 7 82 PS text 10J ISO Cyrillic 10N...
Страница 197: ...HP LaserJet Emulation Mode 6 7 83 PC 855 Serbia 10R PC 869 Greek 11G...
Страница 198: ...Chapter 7 Emulation 7 84 PC 8 Greek 12G Macintosh 12J...
Страница 199: ...HP LaserJet Emulation Mode 6 7 85 ISO Greek 12N USSR GOST 12R...
Страница 200: ...Chapter 7 Emulation 7 86 ABICOMP Brazil 13P PC 8 Bulgarian 13R...
Страница 201: ...HP LaserJet Emulation Mode 6 7 87 PC 8 Greek 437G 14G ABICOMP Int 14P...
Страница 202: ...Chapter 7 Emulation 7 88 PC Ukrainian 14R Pi font 15U...
Страница 203: ...HP LaserJet Emulation Mode 6 7 89 PC 857 Turkish 16U PC 852 Latin 2 17U...
Страница 204: ...Chapter 7 Emulation 7 90 ISO 10646 18N PC 853 Turkish 18U...
Страница 205: ...HP LaserJet Emulation Mode 6 7 91 Winbalt 19L Windows Latin 1 19U...
Страница 206: ...Chapter 7 Emulation 7 92 PC 860 Portugal 20U PC 861 Iceland 21U...
Страница 207: ...HP LaserJet Emulation Mode 6 7 93 PC 863 Canada 23U PC 8 Polish 24Q...
Страница 208: ...Chapter 7 Emulation 7 94 PC 865 Norway 25U PC 775 26U...
Страница 209: ...HP LaserJet Emulation Mode 6 7 95 PC 8 PC Nova 27Q...
Страница 222: ...Chapter 7 Emulation 7 108 KC GL Symbol Sets ANSI ASCII 0 Roman Extensions 7...
Страница 223: ...HP 7550A Emulation KC GL Mode 8 7 109 Katakana 8 KC GL International Characters...
Страница 256: ...7 142 This page is left blank intentionally...
Страница 260: ......
Страница 261: ......
Страница 262: ...Rev 4 51 2008 6...