Problem
Using trchan to perform mapping as a filter to format printouts is successful but when trchan is complete, status is returned as "255" instead of "0".
The following trchan script returns 255 after completing the print job successfully:
# trchan filter < some_file > /dev/lp0; echo $?
# 255 Solution
This problem has been fixed by SCO Engineering. The new "trchan"
is available from SCO Support.This fix will be incorporated in the next release of SCO OpenServer.
See also
man (M) trchan