Oki B6100n Guide: Administration and Installation, B6100 UNIX Printing Softwar - Page 103

sdriver, sdriver General Information, Using sdriver in Stand-alone Mode

Page 103 highlights

sdriver sdriver sdriver is a UNIX print filter that drives printers that can support raw TCP/IP sockets. Additionally, sdriver will drive printers that are attached to the network via a print server that can support raw sockets. sdriver is compatible with printing systems that are found in most of the major UNIX operating systems. You use sdriver for sending printable data from standard input to a remote printer. sdriver General Information sdriver will establish a network connection to the printer or print server in either a stand-alone mode or a back-end mode, by receiving information that you provide in flags at execution time. i Refer to Table 6-2, "sdriver Command Option Flags," on page 6-99 for a list of all available sdriver flags. Using sdriver in Stand-alone Mode In stand-alone mode, you can pipe the output from any UNIX command directly to sdriver, which in turn, will send the data to the printer for printing. sdriver will accept input via standard in (stdin). Data types accepted by sdriver include: PostScript files (including ASCII code and binary image data), DOC, and text files. To use sdriver in stand-alone mode, enter the following command at the command line: # cat filename | /usr/sbin/sdriver -Phostname -pport where -P identifies the host name. where -p identifies the socket number. Using sdriver in Spooler Back-end Mode In spooler back-end mode, sdriver acts as the conduit between your spooler and the printer. There are several types of output that sdriver can provide in this mode. These include: • Spooler sends a file through sdriver to a printer. sdriver opens a TCP/IP socket to the IP address and port number specified by the user when the queue was created. The spooled stdout is connected to sdriver's UNIX Printing Software Administration and Installation Guide 8/25/026-97

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106

sdriver
UNIX Printing Software Administration and Installation Guide
8/25/02
6-97
sdriver
sdriver is a UNIX print filter that drives printers that can support raw TCP/IP sockets.
Additionally, sdriver will drive printers that are attached to the network via a print
server that can support raw sockets. sdriver is compatible with printing systems that
are found in most of the major UNIX operating systems.
You use sdriver for sending
printable data from standard input to a remote printer.
sdriver General Information
sdriver will establish a network connection to the printer or print server in either a
stand-alone mode or a back-end mode, by receiving information that you provide in
flags at execution time.
Using sdriver in Stand-alone Mode
In stand-alone mode, you can pipe the output from any UNIX command directly to
sdriver, which in turn, will send the data to the printer for printing.
sdriver will accept input via standard in (stdin).
Data types accepted by sdriver
include: PostScript files (including ASCII code and binary image data), DOC, and text
files.
To use sdriver in stand-alone mode, enter the following command at the command
line:
#
cat filename | /usr/sbin/sdriver -Phostname -pport
where
-P
identifies the host name.
where
-p
identifies the socket number.
Using sdriver in Spooler Back-end Mode
In spooler back-end mode, sdriver acts as the conduit between your spooler and the
printer.
There are several types of output that sdriver can provide in this mode.
These
include:
Spooler sends a file through sdriver to a printer.
sdriver opens a TCP/IP socket to the IP address and port number specified by the
user when the queue was created. The spooled stdout is connected to sdriver’s
i
Refer to
Table 6-2, “sdriver Command Option Flags,” on page 6-99
for a list of
all available sdriver flags.