I use the following command:
define viewport/x=0:1/y=0:1 v1
yes? define viewport/x=0:1/y=0:1 v2
yes? set view v1; fill/i=1:10/j=1:8 i+j
yes? set view v2; fill/nolab/set/i=1:10/j=1:8 i+j
yes? ppl axlabp,0,0
yes? ppl pen,0,7
yes? ppl fill
No error shown in terminal, but output window is in attached file