Get the config from user to pass it to the dompdf.