vim /etc/init/smbd.conf change start on (local-filesystems and net-device-up ) to start on (local-filesystems and net-device-up and started cups)
start on (local-filesystems and net-device-up )
start on (local-filesystems and net-device-up and started cups)