I have the setup on some file servers for windows computers, which print to it through the samba service. Windows think its a "Apple Color LW 12/660 PS" postscript (PS) printer so CUPS will only see PS input, I have never tried others, like *.jpg...
From Linux/GNU/KDE you can print to PDF without this, at least as long as I have been using it...
I can print Word, AutoCAD, Eagle (makes Circuit Boards), IE, and some other random stuff I have tried. CUPS gets a PS file from the Apple print driver and runs it through the distiller, out pops a PDF. I only use the Apple driver because I have seen others say it makes clean PS files unlike the windows divers or even HP's
And some Samba /etc/samba/smb.conf notes that may help...
[PDFprinter]
comment = PDFprinter
path = /var/spool/samba
read only = No
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
printer name = PDFprinter
use client driver = Yes
oplocks = No
[pdf_out]
comment = PDF print output
path = /tmp/pdf_out
read only = No
guest only = Yes
guest ok = Yes
Note the "use client driver = Yes" is not default and makes a differance on WinNT/Win2k/WinXP for admin users. if (you= :-?) see(samba->doc's);