The Linux Foundation is a non-profit consortium dedicated to fostering the growth of Linux.
Contents |
IJS is a protocol for transmission of raster page images.
The protocol is a fairly traditional client-server design. In general, the client sends one or more page images to the server, along with various metadata. Communication is through simple "commands", which are essentially size-prefixed packets. The client sends a command to the server, then waits for a response command, either ACK or NAK.
On Unix systems, the server "speaks" IJS through stdin and stdout.
For more details see the IJS web site.
IJS is implemented in ghostscript, which is available on most Linux distros.
The latest published version of the spec is 0.34, 22 Feb 2002. There's an IJS 0.35 which apparently didn't change the spec.
| Distribution | Ghostscript version | Runtime Library |
|---|---|---|
| Debian Etch | 8.15 with libijs-0.35 | libijs-0.35.so |
| Fedora Core 6 | 8.15 | libijs-0.35.so |
| SUSE Linux Enterprise Desktop 10 | ||
| openSUSE 10.2 | 8.15 | libijs.so |
| Mandriva 2007.1 | 8.15 with libijs1-0.35-48mdv2007.1 | libijs.so.1 |
IJS commands:
IJS_CMD_ACK IJS_CMD_NAK IJS_CMD_PING IJS_CMD_PONG IJS_CMD_OPEN IJS_CMD_CLOSE IJS_CMD_BEGIN_JOB IJS_CMD_END_JOB IJS_CMD_CANCEL_JOB IJS_CMD_QUERY_STATUS IJS_CMD_LIST_PARAMS IJS_CMD_ENUM_PARAM IJS_CMD_SET_PARAM IJS_CMD_GET_PARAM IJS_CMD_BEGIN_PAGE IJS_CMD_SEND_DATA_BLOCK IJS_CMD_END_PAGE IJS_CMD_EXIT