ghostscript: use resources