I was able to get CUPS to work by compiling it on the router with optware. Serves up configuration pages and I can configure my USB printer easily. But ghostscript on optware does not work. ipkg install ghostscript 8.7, or building ghostscript 9.06 on the router, both fail with the same error.
The command "gs" works fine by itself, but if I use "gs -sDEVICE=cups" it crashes with the following error:
"Unrecoverable error: rangecheck in get
Operand stack:"
the stack has garbage in it. I can run gdb and see where the stack gets corrupt. It is at the same place in both GS8.7 and also GS9.0. Has anybody gotten ghostscript to work on tomatousb? I checked a few other devices - no problems there.