The print output for an UTM application on Unix and Linux systems is controlled in automatic mode by the printer shell script utmlp. If a printer is connected to an application, a separate printer process exists for this printer. If a printer and hence a printer process receives a print job, the printer process starts the printer shell script utmlp. The data is transferred in a pipe.
You can create utmlp yourself if required. The printer process evaluates the shell variable PATH and searches for utmlp. If the printer process does not find utmlp, it starts the printer script utmpath/shsc/utmlp, which is supplied with openUTM. You can change this shell script for specific applications.
For further information on the utmlp script, refer to openUTM manual “Generating Applications”.
If an error occurs while the data is being processed in utmlp, the printer script terminates with an exit code not equal to zero. The printer process generates a negative print acknowledgment. openUTM then shuts down the connection to this printer process and generates UTM message K046. The printer process terminates.
All output jobs for a printer are buffered by openUTM in the message queue of the associated LTERM partner. The messages to be printed are not lost in the event of a negative print acknowledgment. They are sent to this printer the next time a connection is established.