Several pages in Internet and several answers here in StackExchange contains ghostscript commands whith the option -sDEVICE=psmono. But when I execute those commands, the ghostscript returns an error complaining that such device (psmono) is unknown.
Here is one example which I am trying to run, it returns 1 as error code:
$ gs -sDEVICE=psmono -dNOPAUSE -dBATCH -dSAFER -sOutputFile=out.ps in.ps
GPL Ghostscript 9.21 (2017-03-16)
Copyright (C) 2017 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Unknown device: psmono
I am using Arch Linux, and Ghostscript's version is 9.21, the last version from ArchLinux's repository.
There is another package that I have to install in order to have extra ghostscript devices (e.g. psmono)? Or this device was present in a previous version of ghostscript and is not disponible in newer versions (and if it is the case, how can I have the psmonobehaviour now)? Or this is a falt from ArchLinux packagers who do not compile ghostscripts with the necessary compile options?