interface samba { help "The samba driver requires smbspool to be available. It can be used to print to Samba and Windows printers directly." verify_exec { which smbspool | grep / } requires "smbspool" # This is part of the netatalk package. required_args "DEVICE_URI" argument { var = "DEVICE_URI" desc = "SMB printer URI" help = "This is the address of the remote printer in the form smb://username:password@host/printername or smb://username:password@workgroup/host/printername" } send_exec { env DEVICE_URI="$DEVICE_URI" smbspool 1 1 $INPUT 1 1 $INPUT } #status_exec {} #cancel_exec {} }