Puedes hacer en vez de un pdf, un rtf, le metes una plantilla que diga por ejemplo %NOMBRE% y luego guardas.
Código:
$nombre = 'PEPITO';
$rtf_temp = file_get_contents('Archivo_de_plantilla.rtf'); // Cargas la plantilla
// Haces un STR REMPLACE
$FINAL = str_replace('%NOMBRE%', $nombre, $rtf_temp);
file_put_contents('archivofinal.rtf', $FINAL);
Y luego ya, cuando tienes el rtf lo combiertes en pdf con la siguiente api:
http://www.convertapi.com/richtext-pdf-api
suerte.