Sending print jobs from a System V Unix system is a little easier. Here, you need to get obtain the
smbprint.sysv script in the
/usr/local/samba/examples/printing directory and do the following:
-
Change the
server
,
service
, and
password
parameters in the script to match the NetBIOS machine, its shared printer service, and its password, respectively. For example, the following entries would be correct for the service in the previous example:
server = phoenix
service = CANON
password = ""
-
Run the following commands, which create a reference for the printer in the printer capabilities file. Note that the new Unix printer entry
canon_ printer
is named:
# lpadmin -p canon_printer -v /dev/null -i./smbprint.sysv
# enable canon_printer
# accept canon_printer
After you've done that, restart the Samba daemons and try printing to it using any standard Unix program. You should now be able to send data to a printer on a Windows client across the network.