Configuring and Managing MPE/iX Internet Services (MPE/iX 6.5)

94 Chapter7
Samba/iX Services
Samba/iX Configuration File Options
Global Printer Service Options
The global printer service options allows you to specify the location of
the “printcap”, printer command parameter used by Samba/iX.
The following global printer configuration options are supported for use
by HP:
load printers The load printers parameter is used in conjunction
with printcap file and
[printers] section. It is a boolean
variable that controls whether all printers in the
printcap” file will be loaded for browsing.
If the load printers parameter is set to true, all printers
defined in the printcap file will be loaded for browsing
by default.
Example: load printers = yes
Default: load printer = no
printcap name The printcap name option specifies the location of the
printcap. Samba/iX uses the printcap to determine
all printers available on the system if the general
[printers] service is used instead of defining each printer
in its own service.
Example: printcap name = /usr/local/samba/lib/printcap
print command The print command parameter defines the shell
command which Samba/iX will use to submit a print
job. After Samba/iX has finished spooling a print job to
the disk, it calls this command. After processing the
file, this command must remove the spoolfile, unless
you don’t mind spool files building up on your system.
This parameter can use the following print-specific
macros:
%s The full path of the print spool file.
%p The name of the printer to which the
job is to be submitted.
Example: print command = /usr/local/samba/lib/rawlp
%s %p; rm %s
On MPE/iX 6.0, the “rawlp” utility is available on the
system and is used to send the file contents to a spooler
like “lp -oraw”.