Kyocera Printserver Installation Manual page 191

Table of Contents

Advertisement

Log Files in Case of
Error
Printing of a Banner
Page
Print Server Installation Manual
shell script comes to an end and informs the spooler of the correct
completion of the print job via a return value of '0.' If the printer
port is already occupied because another printer is currently
printing, for example, the printer server sends the '552 No print
slot available' message to the FTP server. The further processing
of the shell script depends on the initialization of the MAXR
variables. When the shell script has come to an end without the
data having been able to be printed, a return value of '129' (V
UNIX or AIX systems) or '1' (BSD UNIX) indicates that the print
job must be repeated.
The operating sequence of the print job will be recorded in a log
file having the name of the printer and the extension '.last' in the
'/tmp' directory. This file contains, among other things, the start
time of the print job, the parameters with which the printer
interface was called, and the output of the FTP command. In case
of an error, this data provides information concerning the causes
of the error.
If you print via shell scripts, you can print a banner page. In the
process, the 'nobanner' variable, which is initialized with 'no,' must
be set to 'yes' by means of the '-o nobanner' variable of the 'lp'
command.
This banner page cannot be used for PostScript printing. When a
PostScript printer is connected, the output of the banner page must
therefore be suppressed. This is achieved by initializing the
'nobanner' and 'nofilebreak' variables with 'yes.'
Function of Shell Scripts
A-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents