User manual
User’s Manual InterCon-PrintServer
86
All data to be printed is stored in a temporary file named
/tmp/xxx.d
and then sent to the print
server host via FTP. The name of the FTP destination file defines the printer port of the print server.
The transmission mode of the FTP servers is pre-set to binary to suppress the translation of
LF
to
CR+LF
. This permits the correct transmission of graphic data. To print out text data correctly the
translation must be done by the printer.
After the data is sent the print server FTP server reports:
226 Transfer complete.
The script ends the job and sends a return value 0 to the spooler. This indicates a successful print job.
If the chosen printer port is busy because a different printer under UNIX or Novell is printing at the
same time, the print server FTP server reports:
552 No print slot available.
Further processing of the script depends on the initialisation of the
MAXR
variable.
If the script ended without printing any data, a return value of 129 (system V UNIX respectively AIX)
or 1 (BSD UNIX) is sent to the spooler, indicating that the print jobs has to be repeated.
For a description of the variables of the scripts please refer to the corresponding part in the appendix.