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

192 AppendixA
Samba/iX Sample Comfiguration File
# ---------------------------------------------------------------------
# PRINTERS section (optional but useful)
# This section work in conjunction with the printcap file and allows
# to configure a large number of printer shares without having to add
# separate detailed sections for each of them. The printer names and
# optional aliases are listed in the printcap file and the config parms
# are defined here. Special printers can still be defined explicitly.
# Directive “load printers” makes all entries available for browsing.
# Directive “auto services” allows a more selective browse offering.
[printers]
# only want printer shares shown, not the [printers] section itself
browseable = no
# enable this service for printing but not for file access
print ok = yes
write ok = no
# current version has problems with printing for non-guest users
guest ok = yes
guest only = yes
# the “staging” directory for print requests
path = /usr/local/samba/spool
# permissions will be more meaningful when non-guest printing works
create mode = 0700
# the lp family of print command only work as of MPE/iX release 5.5
# the rawlp utility sends file contents to spooler like “lp -oraw”
print command = /usr/local/samba/lib/rawlp %s %p ; rm %s