First tranform your *.pdf into *.iso using Nero.
Second burn it on your cd.
Using NeroCmd,you type this: Nerocmd --write --error_log MyErrorLog.txt --drivename f --real --tao --image *.iso --enable_abort --underrun_prot --disable_eject
And you will achieve it as i had tried already.
PS. your *.iso must be in your “Nero Bruning ROM” folder.and your MyErrorLog.txt will be saved in that folder as well.