SEH Print Server Installation Manual page 45

Installation in unix systems
Table of Contents

Advertisement

Printing of a Banner
Page
Description of
Variables
Print Server Installation Manual
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.'
The table describes the variables of the shell scripts.
Variables
Description
HOST
Contains the host name or IP address of the print server, such as
HOST=IC0001FF.
PORTS
Indicates the logical printer. The 'PORTS=lp1, lp2, lp3, lp4, lp5, lp6, lp7,
lp8' presetting specifies all logical printers of the print server. Select the
desired logical printer and delete the others. By means of the
'PORTS=lp1' default setting, for example, the printing sequence will be
carried out by means of logical printer no.1.
FTP
Indicates the complete path of the FTP command. This path depends on
the respective UNIX System, such as 'FTP=/usr/bin/ftp' for System V or
AIX and 'FTP=/usr/ucb/ftp' for BSD.
WAIT
Indicates the waiting period in seconds after which the print job is
repeated. This value can usually remain unchanged.
MAXR
Contains a loop counter. This counter determines the behavior of the shell
script when the print data could not be transferred because, for example,
the desired printer port is currently occupied.
In case of a presetting of MAXR=10, the system will wait a maximum of
1024 seconds, that is, approx. 15 minutes, for the desired printer port to
be free. When MAXR has been initialized with a value of zero, the shell
script will come to an end. When MAXR has been initialized with a value
greater than zero, another attempt will be made to send the data to the
printer via FTP. After every attempt, the loop counter will be decremented
and the waiting period will be doubled.
This will be repeated until the data have been able to be printed or MAXR
has reached a value of '0,' and the shell script has come to an end. When
MAXR has been initialized with a value of '-1,' the shell script will come to
an end only if the data have been able to be printed.
Printing via Shell Scripts
45

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Print Server and is the answer not in the manual?

Table of Contents