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

Chapter 7 99
Samba/iX Services
Samba/iX Configuration File Options
samp-printcap file:
LP|6|HP3000 System LP
Here is a sample example for the configuration option that you may
configure with
[global] and [printers] sections in the Samba/iX
configuration file — smb-conf:
[global]
# You need supply IP address and subnet mask of your 3000 with the interface
parameter
interface = ip address/subnet mask
# printcap file lists printer names for use by [printer] section
printcap name = /usr/local/samba/lib/printcap
# shares may be configured to accept connections without a validated user id
and password, and then it assumes the guest logon for accessing the printers.
guest account = mgr.samba
[printers]
# enable this service for printing but not for file access
print ok = yes
write ok = no
# current version of Samba/iX only allows guest users for printer sharing
guest ok = yes
guest only = yes
# the “staging” directory for print requests
path = /user/local/samba/spool
# The rawlp utility sends file contents to spooler like “lp -oraw”
print command = /usr/local/samba/lib/rawlp %s %p; rm %s
NOTE For the current version of Samba/iX, the printer sharing only works for
guest users.
The current configuration option for printer sharing needs to set
“guest ok” and “guest only”.
Add a printer, as shown in Figure 7-6. With printer sharing, the
printers are accessible to HP 3000.