
6-98
8/25/02
UNIX Printing Software Administration and Installation Guide
Chapter 6: Running the Software
stdin. The user’s file is then passed from the spooler through sdriver and on to the
printer.
•
Event files (optional).
To set up sdriver to log an event file of all of the output data returned by the
printer over the raw TCP/IP socket, include the
-L
flag.
•
Error Logs
To set up the sdriver to log all printer communicating errors to a log file, you must
enter Debug Mode. You do this by entering the
-d
flag at the command line.
If you do not include the
-d
flag, sdriver will not go into Debug Mode. Although
sdriver will still log to your log file, it will only provide the illegal number of
input parameters message.
The following is a list of error conditions that sdriver will report while in Debug
Mode:
•
Invalid number of arguments entered by user
•
Socket creation failure
•
Socket open failure
•
gethostbyname failure (printer name not in /etc/hosts) on DNS database.
•
Connect failure
•
Read from stdin failure
•
Send data to printer failure
•
Shutdown socket failure
Additionally, all backchannel messages generated by a PostScript program will be
written to this file.
i
In order for the sdriver to be able to open an event file, the printer must be
attached to a bi-directional port. If sdriver is attached to a uni-directional port,
the event file will still open, but no data will stored.
Содержание B6100n
Страница 1: ...OKI DATA 81 3ULQWLQJ 6RIWZDUH GPLQLVWUDWLRQ DQG QVWDOODWLRQ XLGH...
Страница 6: ...vi8 25 02 UNIX Printing Software Administration and Installation Guide Contents...
Страница 106: ...6 1008 25 02 UNIX Printing Software Administration and Installation Guide Chapter 6 Running the Software...