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

Table 7.45., KPDL Description Operators Sheet 7 of 11

Page 235 highlights

KPDL Operators Table 7.45. KPDL Page Description Operators (Sheet 7 of 11) Preceding stack Operator pathbbox move line curve close pathforall obj string obj tag pop print 2 printobject 2 product prompt pstack array index object put dict key value put string index int put array1 index array2 putinterval string1 index string2 putinterval quit rand array/dict/file/string dx1 dy1 dx2 dy2 dx3 dy3 file rcheck rcurveto read file string readhexstring file string readline array/dict/file/string readonly file string readstring 2 realtime x y width height 2 rectclip numarray/numstring rectclip x y width height 2 rectfill numarray/numstring rectfill x y width height 2 rectstroke x y width height matrix rectstroke numarray rectstroke numarray matrix rectstroke numstring rectstroke numstring matrix rectstroke old new 2 renamefile int proc repeat file resetfile template proc scratch 2 resourceforall category key category 2 resourcestatus save restore reversepath 2 revision Result llx lly urx ury string int bool int true or false substring bool substring bool array/dict/file/ string substring bool int Description Get bounding box of current path Do named procedures for current path elements Discard top object on stack Write string to standard output Write a binary object sequence to the standard output Get product name Prompt for interactive input Write entire stack to standard out put Insert object int array at index location Place key and value in dictionary Replace character in string at index location Replace subarray of array1 starting at index by array2 Replace substring of string1 starting at index by string2 Terminate KPDL interpreter Generate pseudo-random integer Test if object is read-accessible Create Bézier cubic curve to relative point Read one character from file; return false if end of file Read hexadecimal characters from file into string Read line from file into string; return true if filled Enable read access only Convert file of hexadecimal character codes into character string; return true if string is filled Return the real time clock value Clip with a rectangular path Fill with a rectangular path Stroke with a rectangular path status size true (false) int Change the name of a file Do proc int times Clear buffer for file Enumerate all instances of a specified resource category Return status information about a named resource instance Restore saved virtual memory Reverse direction of current path printing system's software Get product revision 7-123

  • 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

KPDL Operators
7-123
pathbbox
llx lly urx ury
Get bounding box of current
path
move line curve close
pathforall
Do named procedures for
current path elements
obj
pop
Discard top object on stack
string
print
Write string to standard output
obj tag
2
printobject
Write a binary object sequence
to the standard output
2
product
string
Get product name
prompt
Prompt for interactive input
pstack
Write entire stack to standard
out put
array index object
put
Insert object int array at index
location
dict key value
put
Place key and value in
dictionary
string index int
put
Replace character in string at
index location
array1 index array2
putinterval
Replace subarray of
array1
starting at
index
by
array2
string1 index string2
putinterval
Replace substring of
string1
starting at
index
by
string2
quit
Terminate KPDL interpreter
rand
int
Generate pseudo-random
integer
array/dict/file/string
rcheck
bool
Test if object is read-accessible
dx1 dy1 dx2 dy2 dx3
dy3
rcurveto
Create Bézier cubic curve to
relative point
file
read
int true or false
Read one character from file;
return false if end of file
file string
readhexstring
substring bool
Read hexadecimal characters
from file into string
file string
readline
substring bool
Read line from file into string;
return true if filled
array/dict/file/string
readonly
array/dict/file/
string
Enable read access only
file string
readstring
substring bool
Convert file of hexadecimal
character codes into character
string; return true if string is
filled
2
realtime
int
Return the real time clock value
x y width height
numarray/numstring
2
rectclip
rectclip
Clip with a rectangular path
x y width height
numarray/numstring
2
rectfill
rectfill
Fill with a rectangular path
x y width height
x y width height matrix
numarray
numarray matrix
numstring
numstring matrix
2
rectstroke
rectstroke
rectstroke
rectstroke
rectstroke
rectstroke
Stroke with a rectangular path
old new
2
renamefile
Change the name of a file
int proc
repeat
Do proc int times
file
resetfile
Clear buffer for file
template proc scratch
category
2
resourceforall
Enumerate all instances of a
specified resource category
key category
2
resourcestatus
status size
true (false)
Return status information about
a named resource instance
save
restore
Restore saved virtual memory
reversepath
Reverse direction of current
path printing system’s software
2
revision
int
Get product revision
Table 7.45.
KPDL Page Description Operators (Sheet 7 of 11)
Preceding stack
Operator
Result
Description