Now accepts more pdf options!
Now supports pdf options