Operators
Here the list of official POSTSCRIPT operators extracted from this index.
status |
explanation |
✅ |
implemented |
✅∗ |
implemented but non compliant |
⚙️ |
implemented in REPL |
🚧 |
implementation to come |
❓ |
status to be determined |
❌ |
won’t be implemented |
📄 |
device API (not part of engine) |
name |
status |
abs |
✅ |
add |
✅ |
aload |
✅ |
anchorsearch |
🚧 |
and |
✅ |
arc |
❓ |
arcn |
❓ |
arct |
❓ |
arcto |
❓ |
array |
❌ (use [] ) |
ashow |
📄 |
astore |
🚧 |
atan |
❓ |
awidthshow |
📄 |
begin |
✅ |
bind |
✅ |
bitshift |
🚧 |
bytesavailable |
❓ |
cachestatus |
📄 |
ceiling |
🚧 |
charpath |
📄 |
clear |
✅ |
cleartomark |
✅ |
cleardictstack |
🚧 |
clip |
📄 |
clippath |
📄 |
closefile |
❓ |
closepath |
📄 |
colorimage |
📄 |
concat |
📄 |
concatmatrix |
📄 |
condition |
❓ |
configurationerror |
📄 |
copy |
🚧 |
copypage |
📄 |
cos |
❓ |
count |
✅ |
countdictstack |
✅ |
countexecstack |
✅ |
counttomark |
✅ |
cshow |
📄 |
currentblackgeneration |
📄 |
currentcacheparams |
📄 |
currentcmykcolor |
📄 |
currentcolor |
📄 |
currentcolorrendering |
📄 |
currentcolorscreen |
📄 |
currentcolorspace |
📄 |
currentcolortransfer |
📄 |
currentcontext |
❓ |
currentdash |
📄 |
currentdevparams |
📄 |
currentdict |
✅ |
currentfile |
❓ |
currentflat |
📄 |
currentfont |
📄 |
currentglobal |
📄 |
currentgray |
📄 |
currentgstate |
📄 |
currenthalftone |
📄 |
currenthalftonephase |
📄 |
currenthsbcolor |
📄 |
currentlinecap |
📄 |
currentlinejoin |
📄 |
currentlinewidth |
📄 |
currentmatrix |
📄 |
currentmiterlimit |
📄 |
currentobjectformat |
📄 |
currentpacking |
📄 |
currentpagedevice |
📄 |
currentpoint |
📄 |
currentrgbcolor |
📄 |
currentscreen |
📄 |
currentshared |
❓ |
currentstrokeadjust |
📄 |
currentsystemparams |
❓ |
currenttransfer |
📄 |
currentundercolorremoval |
📄 |
currentuserparams |
❓ |
curveto |
📄 |
cvi |
✅ |
cvlit |
✅ |
cvn |
✅ |
cvr |
❌ |
cvrs |
🚧 |
cvs |
🚧 |
cvx |
🚧 |
def |
✅ |
defaultmatrix |
📄 |
definefont |
📄 |
defineresource |
📄 |
defineusername |
❓ |
defineuserobject |
❓ |
deletefile |
❓ |
detach |
❓ |
deviceinfo |
📄 |
dict |
❌ (use <<>> ) |
dictfull |
❓ (no size limit) |
dictstack |
❓ |
dictstackoverflow |
❓ (no size limit) |
dictstackunderflow |
✅ |
div |
✅∗ |
dtransform |
📄 |
dup |
✅ |
echo |
❌ |
eexec |
❓ |
end |
✅ |
eoclip |
📄 |
eofill |
📄 |
eoviewclip |
📄 |
eq |
✅ |
erasepage |
📄 |
errordict |
❓ |
exch |
✅ |
exec |
🚧 |
execform |
📄 |
execstack |
❓ |
execstackoverflow |
❓ (no limit) |
execuserobject |
❓ |
executeonly |
❓ |
executive |
❓ |
exit |
⚙️ |
exp |
🚧 |
false |
✅ |
file |
❓ |
filenameforall |
❓ |
fileposition |
❓ |
fill |
📄 |
filter |
❓ |
findencoding |
📄 |
findfont |
📄 |
findresource |
❓ |
flattenpath |
📄 |
floor |
🚧 |
flush |
❓ |
flushfile |
❓ |
FontDirectory |
📄 |
for |
🚧 |
forall |
🚧 |
fork |
❓ |
ge |
✅∗ → gte |
get |
✅∗ |
getinterval |
🚧 |
globaldict |
✅ |
GlobalFontDirectory |
📄 |
glyphshow |
📄 |
grestore |
📄 |
grestoreall |
📄 |
gsave |
📄 |
gstate |
📄 |
gt |
✅∗ |
handleerror |
❓ |
identmatrix |
📄 |
idiv |
🚧 |
idtransform |
📄 |
if |
✅∗ |
ifelse |
✅∗ |
image |
📄 |
imagemask |
📄 |
index |
✅ |
ineofill |
📄 |
infill |
📄 |
initclip |
📄 |
initgraphics |
📄 |
initmatrix |
📄 |
initviewclip |
📄 |
instroke |
📄 |
internaldict |
❓ |
interrupt |
❓ |
inueofill |
📄 |
inufill |
📄 |
inustroke |
📄 |
invalidaccess |
✅ |
invalidcontext |
❓ |
invalidexit |
❓ |
invalidfileaccess |
❓ |
invalidfont |
📄 |
invalidid |
📄 |
invalidrestore |
❓ |
invertmatrix |
📄 |
ioerror |
❓ |
ISOLatin1Encoding |
📄 |
itransform |
📄 |
join |
❓ |
known |
🚧 |
kshow |
📄 |
languagelevel |
❓ |
le |
✅∗ → lte |
length |
✅ |
limitcheck |
❓ |
lineto |
📄 |
ln |
❓ |
load |
🚧 |
lock |
❓ |
log |
❓ |
loop |
✅ |
lt |
✅ |
makefont |
📄 |
makepattern |
📄 |
mark |
✅ |
matrix |
📄 |
maxlength |
❓ |
mod |
🚧 |
monitor |
❓ |
moveto |
📄 |
mul |
✅ |
ne |
✅∗ → neq |
neg |
🚧 |
newpath |
📄 |
noaccess |
❓ |
nocurrentpoint |
📄 |
not |
🚧 |
notify |
❓ |
null |
❓ |
nulldevice |
📄 |
or |
✅ |
packedarray |
❓ |
pathbbox |
📄 |
pathforall |
📄 |
pop |
✅ |
print |
❓ |
printobject |
❓ |
product |
❓ |
prompt |
❓ |
pstack |
⚙️ |
put |
✅∗ |
putinterval |
🚧 |
quit |
🚧 |
rand |
🚧 (system param for seed) |
rangecheck |
✅ |
rcurveto |
📄 |
read |
❓ |
readhexstring |
❓ |
readline |
❓ |
readonly |
🚧 |
readstring |
❓ |
realtime |
🚧 |
rectclip |
📄 |
rectfill |
📄 |
rectstroke |
📄 |
rectviewclip |
📄 |
renamefile |
❓ |
repeat |
🚧 |
resetfile |
❓ |
resourceforall |
❓ |
resourcestatus |
❓ |
restore |
❓ |
reversepath |
📄 |
revision |
❓ |
rlineto |
📄 |
rmoveto |
📄 |
roll |
✅ |
rootfont |
📄 |
rotate |
📄 |
round |
🚧 |
rrand |
❓ |
run |
❓ |
save |
❓ |
scale |
📄 |
scalefont |
📄 |
scheck |
📄 |
search |
🚧 |
selectfont |
📄 |
serialnumber |
❓ |
setbbox |
📄 |
setblackgeneration |
📄 |
setcachedevice |
📄 |
setcachedevice2 |
📄 |
setcachelimit |
📄 |
setcacheparams |
📄 |
setcharwidth |
📄 |
setcmykcolor |
📄 |
setcolor |
📄 |
setcolorrendering |
📄 |
setcolorscreen |
📄 |
setcolorspace |
📄 |
setcolortransfer |
📄 |
setdash |
📄 |
setdevparams |
📄 |
setfileposition |
❓ |
setflat |
📄 |
setfont |
📄 |
setglobal |
❓ |
setgray |
📄 |
setgstate |
📄 |
sethalftone |
📄 |
sethalftonephase |
📄 |
sethsbcolor |
📄 |
setlinecap |
📄 |
setlinejoin |
📄 |
setlinewidth |
📄 |
setmatrix |
📄 |
setmiterlimit |
📄 |
setobjectformat |
❓ |
setoverprint |
📄 |
setpacking |
❓ |
setpagedevice |
📄 |
setpattern |
📄 |
setrgbcolor |
📄 |
setscreen |
📄 |
setshared |
❓ |
setstrokeadjust |
📄 |
setsystemparams |
❓ |
settransfer |
📄 |
setucacheparams |
📄 |
setundercolorremoval |
📄 |
setuserparams |
❓ |
setvmthreshold |
❓ (probably not) |
shareddict |
❓ |
show |
📄 |
showpage |
📄 |
sin |
❓ |
sqrt |
❓ |
srand |
❓ |
stack |
❓ |
stackoverflow |
❓ |
stackunderflow |
✅ |
StandardEncoding |
📄 |
start |
❓ (maybe a good entry point like main) |
startjob |
❓ |
status |
❓ |
statusdict |
❓ |
stop |
✅ |
stopped |
✅ |
store |
🚧 |
string |
❌ (because of the way strings are handled) |
stringwidth |
📄 |
stroke |
📄 |
strokepath |
📄 |
sub |
✅ |
syntaxerror |
❌ (no need) |
systemdict |
✅ |
timeout |
❓ |
transform |
📄 |
translate |
📄 |
true |
✅ |
truncate |
❌ (no reals) |
type |
✅∗ (no type suffix) |
typecheck |
✅ |
token |
❓ |
uappend |
📄 |
ucache |
📄 |
ucachestatus |
📄 |
ueofill |
📄 |
ufill |
📄 |
undef |
🚧 |
undefined |
✅ |
undefinedfilename |
❓ |
undefineresource |
❓ |
undefinedresult |
✅ |
undefinefont |
📄 |
undefineresource |
📄 |
undefinedresource |
📄 |
undefineuserobject |
📄 |
unmatchedmark |
✅ |
unregistered |
❓ |
upath |
📄 |
userdict |
✅ |
UserObjects |
❓ |
usertime |
🚧 |
ustroke |
📄 |
ustrokepath |
📄 |
version |
✅ |
viewclip |
📄 |
viewclippath |
📄 |
VMerror |
🚧 |
vmreclaim |
❓ |
vmstatus |
🚧 |
wait |
❓ |
wcheck |
✅ |
where |
🚧 |
widthshow |
📄 |
write |
❓ |
writehexstring |
❓ |
writeobject |
❓ |
writestring |
❓ |
wtranslation |
❓ |
xcheck |
✅ |
xor |
✅ |
xshow |
📄 |
xyshow |
📄 |
yield |
❓ |
yshow |
📄 |