Kyocera KM-8030 PRESCRIBE Commands Technical Reference Manual - Rev. 4.7 - Page 234

Table 7.45., KPDL Description Operators Sheet 6 of 11

Page 234 highlights

Chapter 7 Emulation 7-122 Table 7.45. KPDL Page Description Operators (Sheet 6 of 11) Preceding stack x y userpath userpath1 userpath2 x y userpath userpath1 userpath2 x y userpath x y userpath matrix userpath1 userpath2 userpath1 userpath2 matrix matrix1 matrix2 Operator 2 inueofill inueofill 2 inufill inufill 2 inustroke inustroke inustroke inustroke invertmatrix 2 ISOLatin1Encoding x' y' itransform x' y' matrix itransform dict key proc string num/string1 num/string2 array dict known kshow 2 languagelevel le length length string name x y length length lineto num ln key load num log proc loop num/string1 num/string2 font matrix dict matrix lt makefont 2 makepattern dict int1 int2 x y num1 num2 obj1 obj2 mark matrix maxlength mod moveto mul ne num1 neg newpath array/dict/file/string noaccess int/bool1 int/bool1 int/bool2 obj0...objn-1 n not null nulldevice or 2 packedarray Result bool bool Description Test the user path on the evenodd rule for insideness Test the user path for insideness bool Test pixels in the user path for insideness matrix2 Replace matrix2 with inverse of matrix1 array Push the ISO Latin-1 encoding vector x y Transform coordinates from device to user space x y Transform coordinates by inverse of matrix bool Test whether key is in dictionary Print string, executing proc between characters int Return the language level bool Test whether num/string1 is less than or equal to num/string2 int Get number of elements in array int Get number of key-value pairs in dict int Get length of string int Get length of name Create line from current point to (x, y) real Get natural logarithm value Search dictionary stack for key and return value real Get logarithm Do proc until exit is encountered bool Test whether num/string1 < num/string2 font' Generate new font by matrix transformation pattern Create an instance from a prototype pattern mark Push mark on stack matrix Create identity matrix int Get capacity of dict remainder Find int1 module int2 (integers) Move current point to (x, y) product Multiply num1 by num2 bool Test whether obj1 is not equal to obj2 num2 Get negative of num1 Initialize current path to null path array/dict/file/strin Disable all access g int/bool2 Bitwise or logical not null Push null on operand stack Install no-output device int/bool3 Bitwise or logical OR packedarray Create a packed array

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260

Chapter 7 Emulation
7-122
x y userpath
userpath1 userpath2
2
inueofill
inueofill
bool
Test the user path on the even-
odd rule for insideness
x y userpath
userpath1 userpath2
2
inufill
inufill
bool
Test the user path for insideness
x y userpath
2
inustroke
x y userpath matrix
inustroke
userpath1 userpath2
userpath1 userpath2
inustroke
inustroke
bool
Test pixels in the user path for
insideness
matrix
matrix1 matrix2
invertmatrix
matrix2
Replace matrix2 with inverse of
matrix1
2
ISOLatin1Encoding
array
Push the ISO Latin-1 encoding
vector
x’ y’
itransform
x y
Transform coordinates from
device to user space
x’ y’ matrix
itransform
x y
Transform coordinates by
inverse of matrix
dict key
known
bool
Test whether key is in dictionary
proc string
kshow
Print string, executing proc
between characters
2
languagelevel
int
Return the language level
num/string1
num/string2
le
bool
Test whether num/string1 is less
than or equal to num/string2
array
length
int
Get number of elements in array
dict
length
int
Get number of key-value pairs
in dict
string
length
int
Get length of string
name
length
int
Get length of name
x y
lineto
Create line from current point to
(x, y)
num
ln
real
Get natural logarithm
key
load
value
Search dictionary stack for key
and return value
num
log
real
Get logarithm
proc
loop
Do proc until exit is
encountered
num/string1
num/string2
lt
bool
Test whether num/string1 <
num/string2
font matrix
makefont
font’
Generate new font by matrix
transformation
dict matrix
2
makepattern
pattern
Create an instance from a
prototype pattern
mark
mark
Push mark on stack
matrix
matrix
Create identity matrix
dict
maxlength
int
Get capacity of dict
int1 int2
mod
remainder
Find int1 module int2 (integers)
x y
moveto
Move current point to (x, y)
num1 num2
mul
product
Multiply num1 by num2
obj1 obj2
ne
bool
Test whether obj1 is not equal to
obj2
num1
neg
num2
Get negative of num1
newpath
Initialize current path to null
path
array/dict/file/string
noaccess
array/dict/file/strin
g
Disable all access
int/bool1
not
int/bool2
Bitwise or logical not
null
null
Push null on operand stack
nulldevice
Install no-output device
int/bool1 int/bool2
or
int/bool3
Bitwise or logical OR
obj0...objn-1 n
2
packedarray
packedarray
Create a packed array
Table 7.45.
KPDL Page Description Operators (Sheet 6 of 11)
Preceding stack
Operator
Result
Description