Create a fields for email,phone,name on quote record and hide it.
Create search for Name and apply to field contact name




Like this we can create search for Email and Phone number and apply to field contact email and contact phone.
Then we can use these newly created field id to advanced pdf to access primary contact details.