Function prepareDucPdfSource