For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .
The share path can point to any directory, which is used as the spool path for all SMB shared printers.
# zfs share -o share.smb=on -o share.path=/pool/dataset pool/dataset%print$
# chmod A=user:root:full_set:allow pathname
# sharectl set -p print_enable=true smb
# sharectl get -p print_enable smb
If the SMB print service is enabled, the print_enable property is set to true.
# svcadm refresh smb/server
This example assigns the print$ share to an existing directory, /tank/printspool, and enables the SMB print service.
# mkdir /tank/printspool # zfs share -o share.smb -o share.path=/tank/printspool tank%print$ # chmod A=user:root:full_set:allow /tank/printspool # sharectl set -p print_enable=true smb