Fix path of print pdf
Added section about callbacks