PDF Printout over Samba and Cups
Edit your Samba Configuration File and add the following Lines.
/etc/samba/smb.conf
[pdf]
path = /var/spool/samba
guest ok = Yes
printable = Yes
print command = ( lpr -r -P pdf -o raw %s ) &
lpq command = ( lpq -P pdf ) &
lprm command = ( lprm -P pdf %j ) &
printer name = PDF Printer
comment = PDF Printer
writable = No
public = Yes
browsable = Yes
create mode = 0666
printer = pdf