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

KPDL Status Operators, Table 7.46., KPDL Status Operators Sheet 1 of 5

Page 239 highlights

KPDL Operators Table 7.45. KPDL Page Description Operators (Sheet 11 of 11) Preceding stack Operator vmstatus array/dict/file/string wcheck key where cx cy char string widthshow file int file string write writehexstring file obj tag 2 writeobject file string obj int/bool1 int/bool2 string numarray writestring xcheck xor 2 xshow string numarray 2 xyshow string numarray 2 yshow Result level used maximum bool dict true or false bool int/bool3 Description Return virtual memory status: current save nesting depth, bytes used, and maximum byte size Test if object is write-accessible Find dictionary in which key is defined Print string with adjusted spacing for specified character Write one character to file Convert string into file of hexadecimal character codes Write a binary object sequence to file Write string characters to file Test if object is executable Bitwise or logical exclusive OR Print characters with x displacement Print characters with x/y displacements Print characters with y displacement KPDL Status Operators The operations in the table below can be used when the status dictionary is open. Some also require a password. Table 7.46. KPDL Status Operators (Sheet 1 of 5) Preceding stack Operator buildtime byteorder int (string) checkpassword defaulttimeouts diskonline diskstatus dostartpage dosysstart pages action initializedisk jobname jobtimeout manualfeed manualfeedtimeout margins newsheet pagecount Result Description int Identify the build of the interpreter bool Get the native order in binary encoded tokens (true: low-order byte first, false: high-order byte first) bool Check printing system' s password (true: valid password, false: invalid password) job manual wait Get timeout values bool Check disk online (true: disk unit online, false: disk unit offline) free total Report total disk space and free space bool See whether printing system is set to print status page at power-up (true: output status, false: do not output) bool See whether Sys/Start file is executed at power-up (true: execute Sys/Start, false: do nothing) Format all writable disks string Get current job name int Get number of seconds to job timeout (0: never) bool Test whether printing system is in manual-feed mode (true: manual feed on, false: manual feed off) int Get manual-feed time-out value top left Get top and left calibration margins Feed out the single side printed page in duplex mode int Get number of pages printed so far (nonresettable) 7-127

  • 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-127
KPDL Status Operators
The operations in the table below can be used when the status dictionary is open. Some
also require a password.
vmstatus
level used
maximum
Return virtual memory status:
current save nesting depth,
bytes used, and maximum byte
size
array/dict/file/string
wcheck
bool
Test if object is write-accessible
key
where
dict true or false
Find dictionary in which key is
defined
cx cy char string
widthshow
Print string with adjusted
spacing for specified character
file int
write
Write one character to file
file string
writehexstring
Convert string into file of
hexadecimal character codes
file obj tag
2
writeobject
Write a binary object sequence
to file
file string
writestring
Write string characters to file
obj
xcheck
bool
Test if object is executable
int/bool1 int/bool2
xor
int/bool3
Bitwise or logical exclusive OR
string numarray
2
xshow
Print characters with x
displacement
string numarray
2
xyshow
Print characters with x/y
displacements
string numarray
2
yshow
Print characters with y
displacement
Table 7.46.
KPDL Status Operators (Sheet 1 of 5)
Preceding stack
Operator
Result
Description
buildtime
int
Identify the build of the interpreter
byteorder
bool
Get the native order in binary encoded tokens
(true: low-order byte first, false: high-order
byte first)
int (string)
checkpassword
bool
Check printing system’ s password (true: valid
password, false: invalid password)
defaulttimeouts
job manual wait
Get timeout values
diskonline
bool
Check disk online (true: disk unit online, false:
disk unit offline)
diskstatus
free total
Report total disk space and free space
dostartpage
bool
See whether printing system is set to print
status page at power-up (true: output status,
false: do not output)
dosysstart
bool
See whether Sys/Start file is executed at
power-up (true: execute Sys/Start, false: do
nothing)
pages action
initializedisk
Format all writable disks
jobname
string
Get current job name
jobtimeout
int
Get number of seconds to job timeout (0:
never)
manualfeed
bool
Test whether printing system is in manual-feed
mode (true: manual feed on, false: manual feed
off)
manualfeedtimeout
int
Get manual-feed time-out value
margins
top left
Get top and left calibration margins
newsheet
Feed out the single side printed page in duplex
mode
pagecount
int
Get number of pages printed so far
(nonresettable)
Table 7.45.
KPDL Page Description Operators (Sheet 11 of 11)
Preceding stack
Operator
Result
Description