How i did this button one call print format one and button two call print format two

for redirecting specific print format i am not sure how to achive but please check once i hope this works for you